aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2019-04-10 12:53:47 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-10 12:53:47 +0000
commit16035c14ffc43f1a08c6d8578fa30dd1176b21f9 (patch)
tree856a60844cc63717aab6604e7181f974b66fb4af /src/main/java/org/onap
parentb6b8bd6e744d6ca2d20439c83946630a0fea770f (diff)
parent2c41efbe0bbad2e5befea3a24128187c17fc3eea (diff)
Merge "Update graphadmin to use schema ingest changes for"
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r--src/main/java/org/onap/aai/datagrooming/DataGrooming.java2
-rw-r--r--src/main/java/org/onap/aai/db/schema/ScriptDriver.java4
2 files changed, 3 insertions, 3 deletions
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
+}