schemaIngest file no longer mandatory on classpath 67/36067/1
authorThreefoot, Jane (jt6620) <jt6620@att.com>
Thu, 15 Mar 2018 21:00:40 +0000 (17:00 -0400)
committerThreefoot, Jane (jt6620) <jt6620@att.com>
Thu, 15 Mar 2018 21:02:52 +0000 (17:02 -0400)
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>
aai-schema-ingest/src/main/java/org/onap/aai/setup/SchemaLocationsBean.java

index 96c6344..b5b878a 100644 (file)
@@ -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 {
        /*