diff options
Diffstat (limited to 'main')
6 files changed, 7 insertions, 7 deletions
diff --git a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java index ba3ad895..9f22ff23 100644 --- a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java +++ b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java @@ -777,7 +777,7 @@ public class TestApiRestServer { final ClientBuilder clientBuilder = ClientBuilder.newBuilder().sslContext(sc).hostnameVerifier((host, session) -> true); final Client client = clientBuilder.build(); - final HttpAuthenticationFeature feature = HttpAuthenticationFeature.basic("healthcheck", "zb!XztG34"); + final HttpAuthenticationFeature feature = HttpAuthenticationFeature.basic("policyadmin", "zb!XztG34"); client.register(feature); client.property(ClientProperties.METAINF_SERVICES_LOOKUP_DISABLE, "true"); diff --git a/main/src/test/resources/parameters/ApiConfigParameters_Https.json b/main/src/test/resources/parameters/ApiConfigParameters_Https.json index 179621b4..1d33e2ec 100644 --- a/main/src/test/resources/parameters/ApiConfigParameters_Https.json +++ b/main/src/test/resources/parameters/ApiConfigParameters_Https.json @@ -3,7 +3,7 @@ "restServerParameters":{ "host":"0.0.0.0", "port":6969, - "userName":"healthcheck", + "userName":"policyadmin", "password":"zb!XztG34", "https":true }, diff --git a/main/src/test/resources/parameters/ApiConfigParameters_InvalidName.json b/main/src/test/resources/parameters/ApiConfigParameters_InvalidName.json index f8a286f9..832035ec 100644 --- a/main/src/test/resources/parameters/ApiConfigParameters_InvalidName.json +++ b/main/src/test/resources/parameters/ApiConfigParameters_InvalidName.json @@ -3,7 +3,7 @@ "restServerParameters":{ "host":"0.0.0.0", "port":6969, - "userName":"healthcheck", + "userName":"policyadmin", "password":"zb!XztG34" }, "databaseProviderParameters": { diff --git a/main/src/test/resources/parameters/MinimumParameters.json b/main/src/test/resources/parameters/MinimumParameters.json index 129d9ca3..5d671d2f 100644 --- a/main/src/test/resources/parameters/MinimumParameters.json +++ b/main/src/test/resources/parameters/MinimumParameters.json @@ -1,9 +1,9 @@ -{ +{ "name":"ApiGroup", "restServerParameters":{ "host":"0.0.0.0", "port":6969, - "userName":"healthcheck", + "userName":"policyadmin", "password":"zb!XztG34" }, "databaseProviderParameters": { diff --git a/main/src/test/resources/parameters/NoParameters.json b/main/src/test/resources/parameters/NoParameters.json index d71e7bbe..36e33afb 100644 --- a/main/src/test/resources/parameters/NoParameters.json +++ b/main/src/test/resources/parameters/NoParameters.json @@ -2,7 +2,7 @@ "restServerParameters":{ "host":"0.0.0.0", "port":6969, - "userName":"healthcheck", + "userName":"policyadmin", "password":"zb!XztG34" }, "databaseProviderParameters": { diff --git a/main/src/test/resources/parameters/RestServerParameters.json b/main/src/test/resources/parameters/RestServerParameters.json index 86aee276..8d3bc580 100644 --- a/main/src/test/resources/parameters/RestServerParameters.json +++ b/main/src/test/resources/parameters/RestServerParameters.json @@ -1,6 +1,6 @@ { "host": "0.0.0.0", "port": 6969, - "userName": "healthcheck", + "userName": "policyadmin", "password": "zb!XztG34" } |