summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-02-15 10:00:26 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-02-15 10:04:41 +0100
commit830e99fc38bfa0ce14af7644e1954de89ef7879c (patch)
treed779091a7773b87b341f9fd6e2d271993cf891c9 /aai-resources/src/main/java
parent142cf0fa29a6a673ae33c4176c01d8715983406c (diff)
Make aai-resources runnable locally via mvn spring-boot:run
- make some property files ignorable Issue-ID: AAI-3779 Change-Id: I79cf4c6f989f96d304b35c466221e957b94d3e81 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/src/main/java')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/TenantIsolation/DataImportTasks.java2
-rw-r--r--aai-resources/src/main/java/org/onap/aai/service/RetiredService.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/TenantIsolation/DataImportTasks.java b/aai-resources/src/main/java/org/onap/aai/TenantIsolation/DataImportTasks.java
index e32d404..098b715 100644
--- a/aai-resources/src/main/java/org/onap/aai/TenantIsolation/DataImportTasks.java
+++ b/aai-resources/src/main/java/org/onap/aai/TenantIsolation/DataImportTasks.java
@@ -53,7 +53,7 @@ import org.springframework.stereotype.Component;
*
*/
@Component
-@PropertySource("file:${server.local.startpath}/etc/appprops/datatoolscrons.properties")
+@PropertySource(value="file:${server.local.startpath}/etc/appprops/datatoolscrons.properties", ignoreResourceNotFound=true)
public class DataImportTasks {
private static final Logger LOGGER;
diff --git a/aai-resources/src/main/java/org/onap/aai/service/RetiredService.java b/aai-resources/src/main/java/org/onap/aai/service/RetiredService.java
index 506a097..94b1be1 100644
--- a/aai-resources/src/main/java/org/onap/aai/service/RetiredService.java
+++ b/aai-resources/src/main/java/org/onap/aai/service/RetiredService.java
@@ -33,7 +33,7 @@ import org.springframework.stereotype.Service;
@Service
@PropertySource("classpath:retired.properties")
-@PropertySource(value = "file:${server.local.startpath}/retired.properties")
+@PropertySource(value = "file:${server.local.startpath}/retired.properties", ignoreResourceNotFound=true)
public class RetiredService {
private String retiredPatterns;