Only load SchemaService related beans in aai-common when schema.translator.list=schem...
[aai/aai-common.git] / aai-schema-ingest / src / main / java / org / onap / aai / setup / Translator.java
index 39efde5..45ca0cd 100644 (file)
@@ -23,8 +23,6 @@ package org.onap.aai.setup;
 import java.io.*;
 import java.util.List;
 
-import org.springframework.beans.factory.annotation.Autowired;
-
 /**
  * Converts the contents of the schema config file
  * (which lists which schema files to be loaded) to
@@ -47,9 +45,9 @@ public abstract class Translator {
      *         ingested for that version
      */
 
-    public abstract List<InputStream> getVersionNodeStream(SchemaVersion version) throws IOException;
+    public abstract List<InputStream> getVersionNodeStream(SchemaVersion schemaVersion) throws IOException;
 
-    public abstract List<String> getJsonPayload(SchemaVersion version) throws IOException;
+    public abstract List<String> getJsonPayload(SchemaVersion schemaVersion) throws IOException;
 
     /**
      * Translates the contents of the schema config file