diff options
-rwxr-xr-x | pom.xml | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/datagrooming/DataGrooming.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/db/schema/ScriptDriver.java | 4 | ||||
-rw-r--r-- | src/test/java/org/onap/aai/AAISetup.java | 5 |
4 files changed, 6 insertions, 7 deletions
@@ -99,7 +99,7 @@ <gson.version>2.7</gson.version> <json.version>20090211</json.version> - <aai.core.version>1.4.1</aai.core.version> + <aai.core.version>1.4.2</aai.core.version> <aai.schema.version>1.0.1</aai.schema.version> <netty.handler.version>4.1.9.Final</netty.handler.version> diff --git a/src/main/java/org/onap/aai/datagrooming/DataGrooming.java b/src/main/java/org/onap/aai/datagrooming/DataGrooming.java index e222228..7e667f4 100644 --- a/src/main/java/org/onap/aai/datagrooming/DataGrooming.java +++ b/src/main/java/org/onap/aai/datagrooming/DataGrooming.java @@ -316,7 +316,7 @@ public class DataGrooming { throw aai; } LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class); - SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class); + SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions"); DataGrooming dataGrooming = new DataGrooming(loaderFactory, schemaVersions); dataGrooming.execute(args); } diff --git a/src/main/java/org/onap/aai/db/schema/ScriptDriver.java b/src/main/java/org/onap/aai/db/schema/ScriptDriver.java index c45ad28..6b36adc 100644 --- a/src/main/java/org/onap/aai/db/schema/ScriptDriver.java +++ b/src/main/java/org/onap/aai/db/schema/ScriptDriver.java @@ -90,7 +90,7 @@ public class ScriptDriver { throw aai; } AuditorFactory auditorFactory = ctx.getBean(AuditorFactory.class); - SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class); + SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions"); EdgeIngestor edgeIngestor = ctx.getBean(EdgeIngestor.class); String config = cArgs.config; @@ -136,4 +136,4 @@ class CommandLineArgs { public String type = "graph"; -}
\ No newline at end of file +} diff --git a/src/test/java/org/onap/aai/AAISetup.java b/src/test/java/org/onap/aai/AAISetup.java index 5ceafa7..25e011b 100644 --- a/src/test/java/org/onap/aai/AAISetup.java +++ b/src/test/java/org/onap/aai/AAISetup.java @@ -50,9 +50,8 @@ import org.springframework.test.context.junit4.rules.SpringClassRule; import org.springframework.test.context.junit4.rules.SpringMethodRule; @ContextConfiguration(classes = { - SchemaLocationsBean.class, + ConfigConfiguration.class, AAIConfigTranslator.class, - SchemaVersions.class, NodeIngestor.class, EdgeIngestor.class, EdgeSerializer.class, @@ -135,4 +134,4 @@ public abstract class AAISetup { String resource = IOUtils.toString(inputStream); return resource; } -}
\ No newline at end of file +} |