aai-schema and ingest fixes
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / synchronizer / GizmoEntitySummarizer.java
index cb73077..435fbfb 100644 (file)
@@ -16,7 +16,7 @@ import org.onap.aai.cl.api.Logger;
 import org.onap.aai.cl.eelf.LoggerFactory;
 import org.onap.aai.restclient.client.OperationResult;
 import org.onap.aai.restclient.enums.RestAuthenticationMode;
-import org.onap.aai.setup.Version;
+import org.onap.aai.setup.SchemaVersion;
 import org.onap.aai.sparky.config.oxm.OxmModelLoader;
 import org.onap.aai.sparky.dal.GizmoAdapter;
 import org.onap.aai.sparky.dal.exception.ElasticSearchOperationException;
@@ -47,7 +47,7 @@ public class GizmoEntitySummarizer {
        public GizmoEntitySummarizer()
                        throws ElasticSearchOperationException, IOException, RestClientConstructionException {
 
-               OxmModelAndProcessorHelper.API_VERSION_OVERRIDE = Version.V11;
+               OxmModelAndProcessorHelper.API_VERSION_OVERRIDE = "v11";
 
                this.gizmoExecutor = NodeUtils.createNamedExecutor("GIZMO-WORKER", 5, logger);