summaryrefslogtreecommitdiffstats
path: root/participant
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-11-22 09:27:23 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-22 09:27:23 +0000
commit226d4c344baa504d90ba7a3a4f3e17733ebc1df8 (patch)
treeea106a86cb5bf7cdd48a9915ecf84f6420cd84f7 /participant
parentf0a58426aa87795d4fa29eedb5bf2c14f5f6896f (diff)
parenta72ce28fb60c1903ed3ef3da6bb3faac1ae801ba (diff)
Merge "Added Camel Unit Tests"
Diffstat (limited to 'participant')
-rw-r--r--participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml4
-rw-r--r--participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/controlloop/participant/policy/main/parameters/CommonTestData.java4
-rw-r--r--participant/participant-impl/participant-impl-policy/src/test/resources/application_test.properties2
-rw-r--r--participant/participant-impl/participant-impl-simulator/src/main/resources/config/application.yaml2
-rw-r--r--participant/participant-impl/participant-impl-simulator/src/test/resources/application_test.properties4
5 files changed, 8 insertions, 8 deletions
diff --git a/participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml b/participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml
index 5839aae66..2aa33c1c4 100644
--- a/participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml
+++ b/participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml
@@ -11,7 +11,7 @@ participant:
clientName: api
hostname: policy-api
port: 6969
- userName: healthcheck
+ userName: policyadmin
password: zb!XztG34
useHttps: true
allowSelfSignedCerts: true
@@ -19,7 +19,7 @@ participant:
clientName: pap
hostname: policy-pap
port: 6969
- userName: healthcheck
+ userName: policyadmin
password: zb!XztG34
useHttps: true
allowSelfSignedCerts: true
diff --git a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/controlloop/participant/policy/main/parameters/CommonTestData.java b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/controlloop/participant/policy/main/parameters/CommonTestData.java
index 41af8a6ec..e965370cc 100644
--- a/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/controlloop/participant/policy/main/parameters/CommonTestData.java
+++ b/participant/participant-impl/participant-impl-policy/src/test/java/org/onap/policy/clamp/controlloop/participant/policy/main/parameters/CommonTestData.java
@@ -84,7 +84,7 @@ public class CommonTestData {
map.put("clientName", "pap");
map.put("hostname", "localhost");
map.put("port", 6968);
- map.put("userName", "healthcheck");
+ map.put("userName", "policyadmin");
map.put("password", "zb!XztG34");
map.put("https", false);
map.put("allowSelfSignedCerts", true);
@@ -101,7 +101,7 @@ public class CommonTestData {
map.put("clientName", "api");
map.put("hostname", "localhost");
map.put("port", 6969);
- map.put("userName", "healthcheck");
+ map.put("userName", "policyadmin");
map.put("password", "zb!XztG34");
map.put("https", false);
map.put("allowSelfSignedCerts", true);
diff --git a/participant/participant-impl/participant-impl-policy/src/test/resources/application_test.properties b/participant/participant-impl/participant-impl-policy/src/test/resources/application_test.properties
index f857704d3..49781407d 100644
--- a/participant/participant-impl/participant-impl-policy/src/test/resources/application_test.properties
+++ b/participant/participant-impl/participant-impl-policy/src/test/resources/application_test.properties
@@ -7,7 +7,7 @@ server.http-port=8085
participant.policyApiParameters.clientName=api
participant.policyApiParameters.hostname=localhost
participant.policyApiParameters.port=6969
-participant.policyApiParameters.userName=healthcheck
+participant.policyApiParameters.userName=policyadmin
participant.policyApiParameters.password=zb!XztG34
participant.policyApiParameters.https=false
participant.policyApiParameters.allowSelfSignedCerts=true
diff --git a/participant/participant-impl/participant-impl-simulator/src/main/resources/config/application.yaml b/participant/participant-impl/participant-impl-simulator/src/main/resources/config/application.yaml
index 320b53805..d750d46d2 100644
--- a/participant/participant-impl/participant-impl-simulator/src/main/resources/config/application.yaml
+++ b/participant/participant-impl/participant-impl-simulator/src/main/resources/config/application.yaml
@@ -1,7 +1,7 @@
spring:
security:
user:
- name: healthcheck
+ name: runtimeUser
password: zb!XztG34
server:
diff --git a/participant/participant-impl/participant-impl-simulator/src/test/resources/application_test.properties b/participant/participant-impl/participant-impl-simulator/src/test/resources/application_test.properties
index f162367f8..a4a1f99e5 100644
--- a/participant/participant-impl/participant-impl-simulator/src/test/resources/application_test.properties
+++ b/participant/participant-impl/participant-impl-simulator/src/test/resources/application_test.properties
@@ -1,4 +1,4 @@
-spring.security.user.name=healthcheck
+spring.security.user.name=runtimeUser
spring.security.user.password=zb!XztG34
server.servlet.context-path=/onap/participantsim
@@ -6,7 +6,7 @@ server.error.path=/error
participant.restServerParameters.host=0.0.0.0
participant.restServerParameters.port=6969
-participant.restServerParameters.userName=healthcheck
+participant.restServerParameters.userName=runtimeUser
participant.restServerParameters.password=zb!XztG34
participant.restServerParameters.https=false
participant.restServerParameters.aaf=false