aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/main/java/org
diff options
context:
space:
mode:
authorThreefoot, Jane (jt6620) <jt6620@att.com>2018-03-15 17:00:40 -0400
committerThreefoot, Jane (jt6620) <jt6620@att.com>2018-03-15 17:02:52 -0400
commit6160cab9935b424407c25e3d137e088f4cae1320 (patch)
treea9370011166ce83c519692ed69aea0745c062855 /aai-schema-ingest/src/main/java/org
parent0cb1b4183290e9325eddaedb88b9f66d5cd01f4a (diff)
schemaIngest file no longer mandatory on classpath
Fixed bug where users had to have schemaIngest.properties on the classpath even if they were using schemaIngestPropLoc instead. Issue-ID: AAI-887 Change-Id: Id8f15871f945d0a575203f7c3ce0679b6dbb2242 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
Diffstat (limited to 'aai-schema-ingest/src/main/java/org')
-rw-r--r--aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java b/aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java
index 96c63447..b5b878af 100644
--- a/aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java
+++ b/aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java
@@ -29,7 +29,7 @@ import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
@Configuration
-@PropertySource("classpath:schemaIngest.properties")
+@PropertySource(value = "classpath:schemaIngest.properties", ignoreResourceNotFound=true)
@PropertySource(value = "file:${schemaIngestPropLoc}", ignoreResourceNotFound=true)
public class SchemaLocationsBean {
/*