aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-29 10:56:22 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-29 10:56:22 +0200
commit7f439188b428a3799a1baba4218e25853b66c882 (patch)
treec95b6a70ba7d09e10b6c65dca1904328a558ffaa /app/src/test
parent04102c3c3ea38e489f6d777c31f2f65d38e3d047 (diff)
Consistently use the history name in the history codebase
- remove portal prefix Issue-ID: PORTALNG-51 Change-Id: I2a0b68bdb6e972813a8a8f048c5d05add97754d2 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java4
-rw-r--r--app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java2
-rw-r--r--app/src/test/resources/application.yml3
3 files changed, 4 insertions, 5 deletions
diff --git a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java b/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
index 866ce33..feee00c 100644
--- a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
+++ b/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
@@ -55,10 +55,10 @@ public abstract class BaseIntegrationTest {
// }
@LocalServerPort protected int port;
- @Value("${portal-history.realm}")
+ @Value("${history.realm}")
protected String realm;
- @Value("${portal-history.delete-interval}")
+ @Value("${history.delete-interval}")
protected String deleteInterval;
@Autowired protected ObjectMapper objectMapper;
diff --git a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java b/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
index c5fa17b..feab695 100644
--- a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
+++ b/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
@@ -60,7 +60,7 @@ class ActionsControllerIntegrationTest extends BaseIntegrationTest {
@Autowired
private ActionsRepository repository;
- // @Value("${portal-history.save-interval}")
+ // @Value("${history.save-interval}")
protected Integer saveInterval = 72;
@BeforeEach
diff --git a/app/src/test/resources/application.yml b/app/src/test/resources/application.yml
index df38a79..db0d057 100644
--- a/app/src/test/resources/application.yml
+++ b/app/src/test/resources/application.yml
@@ -19,7 +19,7 @@ de:
embedded:
version: 5.0.15
-portal-history:
+history:
realm: ONAP
save-interval: 72
delete-interval: '0 0 0 1 1 *'
@@ -38,4 +38,3 @@ management:
enabled: true
java:
enabled: true
-