mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-27 15:23:40 +00:00
WIFI-1215: Support Passpoint Provider and Icon unique string id for ovsdb -- add schema check until AP load is delivered into pending stream
This commit is contained in:
@@ -1502,7 +1502,11 @@ public class OvsdbDao {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
LOG.debug("Retrieving Hotspot20_Icon_Config:");
|
LOG.debug("Retrieving Hotspot20_Icon_Config:");
|
||||||
|
DatabaseSchema schema = ovsdbClient.getSchema(ovsdbName).get(ovsdbTimeoutSec, TimeUnit.SECONDS);
|
||||||
|
if (!schema.getTables().get(hotspot20ConfigDbTable).getColumns().containsKey("icon_config_name")) {
|
||||||
|
LOG.info("Removed icon_config_name from Hotspot20_Icon_Config columns {}",
|
||||||
|
columns.remove("icon_config_name"));
|
||||||
|
}
|
||||||
operations.add(new Select(hotspot20IconConfigDbTable, conditions, columns));
|
operations.add(new Select(hotspot20IconConfigDbTable, conditions, columns));
|
||||||
CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
|
CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
|
||||||
OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
|
OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
|
||||||
|
|||||||
Reference in New Issue
Block a user