summaryrefslogtreecommitdiffstats
path: root/aai-resources/src
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2019-04-07 19:01:07 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2019-04-09 15:22:04 -0400
commitb1b9c418690c09e4ce647cead99afb10a989420c (patch)
treec24062f08a2b20c9c170ea1540ebeccd8c9f3bb2 /aai-resources/src
parent8e53c7b077c5043f371e19e518256103dce7c13a (diff)
Update resources to use schema ingest changes
for the application to not start if it doesn't start properly Issue-ID: AAI-2329 Change-Id: I2f04282c2faf07de46b4dd6ecf7e494d442bcf87 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-resources/src')
-rw-r--r--aai-resources/src/main/resources/application.properties1
-rw-r--r--aai-resources/src/test/java/org/onap/aai/AAISetup.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index faf07df..517c650 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -77,3 +77,4 @@ schema.service.ssl.key-store=${server.local.startpath}/etc/auth/aai_keystore
schema.service.ssl.trust-store=${server.local.startpath}/etc/auth/aai_keystore
schema.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
schema.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
+schema.service.versions.override=false
diff --git a/aai-resources/src/test/java/org/onap/aai/AAISetup.java b/aai-resources/src/test/java/org/onap/aai/AAISetup.java
index a93127b..acef23b 100644
--- a/aai-resources/src/test/java/org/onap/aai/AAISetup.java
+++ b/aai-resources/src/test/java/org/onap/aai/AAISetup.java
@@ -27,6 +27,7 @@ import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.junit.BeforeClass;
+import org.onap.aai.config.ConfigConfiguration;
import org.onap.aai.config.SpringContextAware;
import org.onap.aai.config.IntrospectionConfig;
import org.onap.aai.introspection.LoaderFactory;
@@ -51,8 +52,7 @@ import org.springframework.test.context.junit4.rules.SpringClassRule;
import org.springframework.test.context.junit4.rules.SpringMethodRule;
@ContextConfiguration(classes = {
- SchemaLocationsBean.class,
- SchemaVersions.class,
+ ConfigConfiguration.class,
AAIConfigTranslator.class,
NodeIngestor.class,
EdgeIngestor.class,