Convert Sparky to Spring-Boot
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / viewandinspect / sync / ViewInspectGizmoSyncController.java
@@ -53,7 +53,8 @@ public class ViewInspectGizmoSyncController extends SyncControllerImpl
       ElasticSearchSchemaConfig schemaConfig, ElasticSearchEndpointConfig endpointConfig,
       NetworkStatisticsConfig gizmoStatConfig, NetworkStatisticsConfig esStatConfig,
       OxmEntityLookup oxmEntityLookup,
-      SearchableEntityLookup searchableEntityLookup, OxmEntityContainerLookup oxmEntityContainerLookup) throws Exception {
+      SearchableEntityLookup searchableEntityLookup, OxmEntityContainerLookup oxmEntityContainerLookup,
+      ElasticSearchSchemaFactory elasticSearchSchemaFactory) throws Exception {
     super(syncControllerConfig);
 
     // final String controllerName = "View and Inspect Entity Synchronizer";
@@ -64,7 +65,7 @@ public class ViewInspectGizmoSyncController extends SyncControllerImpl
      //this.endpointConfig = endpointConfig; 
      
     IndexIntegrityValidator indexValidator = new IndexIntegrityValidator(esAdapter, schemaConfig,
-        endpointConfig, ElasticSearchSchemaFactory.getIndexSchema(schemaConfig));
+        endpointConfig, elasticSearchSchemaFactory.getIndexSchema(schemaConfig));
 
     registerIndexValidator(indexValidator);