Rename username for API operations.

Use an account other than healthcheck in API for provisioning of policies.

Issue-ID: POLICY-2744
Change-Id: If41467531152a73ecda2756886914ba0a4c6d9b4
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
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 ba3ad89..9f22ff2 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 @@
         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 179621b..1d33e2e 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 f8a286f..832035e 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 129d9ca..5d671d2 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 d71e7bb..36e33af 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 86aee27..8d3bc58 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"
 }
diff --git a/packages/policy-api-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-api-tarball/src/main/resources/etc/defaultConfig.json
index 98d934e..0aa4629 100644
--- a/packages/policy-api-tarball/src/main/resources/etc/defaultConfig.json
+++ b/packages/policy-api-tarball/src/main/resources/etc/defaultConfig.json
@@ -3,7 +3,7 @@
     "restServerParameters": {
         "host": "0.0.0.0",
         "port": 6969,
-        "userName": "healthcheck",
+        "userName": "policyadmin",
         "password": "zb!XztG34",
         "https": true,
         "aaf": false,
diff --git a/packages/policy-api-tarball/src/main/resources/etc/s3pConfig.json b/packages/policy-api-tarball/src/main/resources/etc/s3pConfig.json
index 91d5591..8a32b38 100644
--- a/packages/policy-api-tarball/src/main/resources/etc/s3pConfig.json
+++ b/packages/policy-api-tarball/src/main/resources/etc/s3pConfig.json
@@ -3,7 +3,7 @@
     "restServerParameters": {
         "host": "0.0.0.0",
         "port": 6969,
-        "userName": "healthcheck",
+        "userName": "policyadmin",
         "password": "zb!XztG34",
         "https": true,
         "aaf": false
diff --git a/postman/lifecycle-api-collection.json b/postman/lifecycle-api-collection.json
index 5643d4d..e3a8da5 100644
--- a/postman/lifecycle-api-collection.json
+++ b/postman/lifecycle-api-collection.json
@@ -686,7 +686,7 @@
         {
             "id": "99d48afc-d62d-48be-9f89-d7db5acf48dd",
             "key": "USER",
-            "value": "healthcheck",
+            "value": "policyadmin",
             "type": "string"
         },
         {
diff --git a/testsuites/performance/src/main/resources/testplans/policy_api_performance.jmx b/testsuites/performance/src/main/resources/testplans/policy_api_performance.jmx
index 049c048..a993139 100644
--- a/testsuites/performance/src/main/resources/testplans/policy_api_performance.jmx
+++ b/testsuites/performance/src/main/resources/testplans/policy_api_performance.jmx
@@ -27,7 +27,7 @@
         <collectionProp name="AuthManager.auth_list">
           <elementProp name="" elementType="Authorization">
             <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/</stringProp>
-            <stringProp name="Authorization.username">healthcheck</stringProp>
+            <stringProp name="Authorization.username">policyadmin</stringProp>
             <stringProp name="Authorization.password">zb!XztG34</stringProp>
             <stringProp name="Authorization.domain"></stringProp>
             <stringProp name="Authorization.realm"></stringProp>
diff --git a/testsuites/stability/src/main/resources/apisetup/config/api/etc/defaultConfig.json b/testsuites/stability/src/main/resources/apisetup/config/api/etc/defaultConfig.json
index 0ea9220..e25c52b 100644
--- a/testsuites/stability/src/main/resources/apisetup/config/api/etc/defaultConfig.json
+++ b/testsuites/stability/src/main/resources/apisetup/config/api/etc/defaultConfig.json
@@ -3,7 +3,7 @@
     "restServerParameters": {
         "host": "0.0.0.0",
         "port": 6969,
-        "userName": "healthcheck",
+        "userName": "policyadmin",
         "password": "zb!XztG34",
         "https": true,
         "aaf": false
diff --git a/testsuites/stability/src/main/resources/testplans/policy_api_stability.jmx b/testsuites/stability/src/main/resources/testplans/policy_api_stability.jmx
index 2f4c08d..bf028ef 100644
--- a/testsuites/stability/src/main/resources/testplans/policy_api_stability.jmx
+++ b/testsuites/stability/src/main/resources/testplans/policy_api_stability.jmx
@@ -27,7 +27,7 @@
         <collectionProp name="AuthManager.auth_list">
           <elementProp name="" elementType="Authorization">
             <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/</stringProp>
-            <stringProp name="Authorization.username">healthcheck</stringProp>
+            <stringProp name="Authorization.username">policyadmin</stringProp>
             <stringProp name="Authorization.password">zb!XztG34</stringProp>
             <stringProp name="Authorization.domain"></stringProp>
             <stringProp name="Authorization.realm"></stringProp>