diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2021-11-18 10:26:50 +0000 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2021-11-18 11:35:35 +0000 |
commit | a72ce28fb60c1903ed3ef3da6bb3faac1ae801ba (patch) | |
tree | 3e414037e597133f3881fdc0a17d21b100006ee4 /participant/participant-impl/participant-impl-policy/src | |
parent | 0b59c6652adac854fb524aa8cd1854f4672ceeac (diff) |
Added Camel Unit Tests
Added Camel Unit Tests to test creation of instance properties
Updated credentials for Rest End point
Issue-ID: POLICY-3565
Change-Id: I0899d3052588822f02a8a003eb4bc406bc887713
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-policy/src')
3 files changed, 5 insertions, 5 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 |