From 6160cab9935b424407c25e3d137e088f4cae1320 Mon Sep 17 00:00:00 2001 From: "Threefoot, Jane (jt6620)" Date: Thu, 15 Mar 2018 17:00:40 -0400 Subject: 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) --- .../src/main/java/org/onap/aai/setup/SchemaLocationsBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aai-schema-ingest/src/main/java') 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 { /* -- cgit 1.2.3-korg