Add multi-oxm support to sparky-be
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / synchronizer / GizmoEntitySummarizer.java
index 5ea5280..cb73077 100644 (file)
@@ -16,6 +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.sparky.config.oxm.OxmModelLoader;
 import org.onap.aai.sparky.dal.GizmoAdapter;
 import org.onap.aai.sparky.dal.exception.ElasticSearchOperationException;
@@ -46,7 +47,7 @@ public class GizmoEntitySummarizer {
        public GizmoEntitySummarizer()
                        throws ElasticSearchOperationException, IOException, RestClientConstructionException {
 
-               OxmModelAndProcessorHelper.API_VERSION_OVERRIDE = 11;
+               OxmModelAndProcessorHelper.API_VERSION_OVERRIDE = Version.V11;
 
                this.gizmoExecutor = NodeUtils.createNamedExecutor("GIZMO-WORKER", 5, logger);