aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-controlloop/src/test
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-11-15 14:23:30 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-15 14:23:30 +0000
commitce021b10a575c9ec67025ebcfa7a6b2537bb69da (patch)
tree38deffb4b187496932f65fedf6a19467aa778ec7 /runtime-controlloop/src/test
parentc1b29b86a2c6804de6c7c302cdd103143c1fc617 (diff)
parent3d8fc9a77081886599cc93acd26105b433770b43 (diff)
Merge "Add health check, metrics and prometheus endpoints for CL participants"
Diffstat (limited to 'runtime-controlloop/src/test')
-rw-r--r--runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/util/rest/CommonRestController.java2
-rw-r--r--runtime-controlloop/src/test/resources/application_test.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/util/rest/CommonRestController.java b/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/util/rest/CommonRestController.java
index ccac0c63b..70b0608d6 100644
--- a/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/util/rest/CommonRestController.java
+++ b/runtime-controlloop/src/test/java/org/onap/policy/clamp/controlloop/runtime/util/rest/CommonRestController.java
@@ -121,7 +121,7 @@ public class CommonRestController {
client.register(GsonMessageBodyHandler.class);
if (includeAuth) {
- client.register(HttpAuthenticationFeature.basic("healthcheck", "zb!XztG34"));
+ client.register(HttpAuthenticationFeature.basic("runtimeUser", "zb!XztG34"));
}
final WebTarget webTarget = client.target(fullyQualifiedEndpoint);
diff --git a/runtime-controlloop/src/test/resources/application_test.properties b/runtime-controlloop/src/test/resources/application_test.properties
index 190281415..26822db44 100644
--- a/runtime-controlloop/src/test/resources/application_test.properties
+++ b/runtime-controlloop/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
security.enable-csrf=false