YANG Model update for A1 Adapter
[ccsdk/features.git] / sdnr / wt / devicemanager / provider / src / main / java / org / onap / ccsdk / features / sdnr / wt / devicemanager / index / impl / IndexMwtnService.java
index 0e6b032..4f34697 100644 (file)
@@ -44,7 +44,6 @@ public class IndexMwtnService implements AutoCloseable, ArchiveCleanProvider {
     /** Location of mapping data **/
     private static final String MAPPING = "elasticsearch/index/mwtn/mwtnMapping.json";
     /** Location of configuration data **/
-    private static final String MODELDATA = "elasticsearch/index/mwtn/modelDescription";
 
     private final HtDataBaseReaderAndWriter<EsEventOdluxLog> eventRWOdluxLog;
 
@@ -58,8 +57,7 @@ public class IndexMwtnService implements AutoCloseable, ArchiveCleanProvider {
 
 
         IndexClientBuilder clientBuilder = IndexClientBuilder.getBuilder(INDEX)
-                .setMappingSettingJsonFileName(MAPPING)
-                .setModelDataDirectory(MODELDATA);
+                .setMappingSettingJsonFileName(MAPPING);
         client = clientBuilder.create(database);
         clientBuilder.close();