From a72ce28fb60c1903ed3ef3da6bb3faac1ae801ba Mon Sep 17 00:00:00 2001 From: brunomilitzer Date: Thu, 18 Nov 2021 10:26:50 +0000 Subject: 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 --- .../test/resources/demo/config/DEMO.postman_collection.json | 12 ++++++------ common/src/test/resources/demo/config/PolicyAPIConfig.json | 2 +- common/src/test/resources/demo/config/RuntimeConfig.json | 2 +- .../controlloop/PMSH/pmsh.postman2.0_collection.json | 2 +- .../http-participant/http.postman2.0_collection.json | 2 +- .../k8s-participant/k8s.postman2.0_collection.json | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'common/src') diff --git a/common/src/test/resources/demo/config/DEMO.postman_collection.json b/common/src/test/resources/demo/config/DEMO.postman_collection.json index 72a8535d9..31c12bfc6 100644 --- a/common/src/test/resources/demo/config/DEMO.postman_collection.json +++ b/common/src/test/resources/demo/config/DEMO.postman_collection.json @@ -23,7 +23,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] @@ -84,7 +84,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] @@ -145,7 +145,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] @@ -202,7 +202,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] @@ -239,7 +239,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] @@ -275,7 +275,7 @@ }, { "key": "username", - "value": "healthcheck", + "value": "runtimeUser", "type": "string" } ] diff --git a/common/src/test/resources/demo/config/PolicyAPIConfig.json b/common/src/test/resources/demo/config/PolicyAPIConfig.json index 48e89c5dc..dbe00a135 100644 --- a/common/src/test/resources/demo/config/PolicyAPIConfig.json +++ b/common/src/test/resources/demo/config/PolicyAPIConfig.json @@ -3,7 +3,7 @@ "restServerParameters": { "host": "0.0.0.0", "port": 6968, - "userName": "healthcheck", + "userName": "policyadmin", "password": "zb!XztG34", "https": false, "aaf": false diff --git a/common/src/test/resources/demo/config/RuntimeConfig.json b/common/src/test/resources/demo/config/RuntimeConfig.json index 529557eab..fd8948ab7 100644 --- a/common/src/test/resources/demo/config/RuntimeConfig.json +++ b/common/src/test/resources/demo/config/RuntimeConfig.json @@ -3,7 +3,7 @@ "restServerParameters": { "host": "0.0.0.0", "port": 6969, - "userName": "healthcheck", + "userName": "runtimeUser", "password": "zb!XztG34", "https": false, "aaf": false diff --git a/common/src/test/resources/examples/controlloop/PMSH/pmsh.postman2.0_collection.json b/common/src/test/resources/examples/controlloop/PMSH/pmsh.postman2.0_collection.json index b31c8ca01..6efddc256 100644 --- a/common/src/test/resources/examples/controlloop/PMSH/pmsh.postman2.0_collection.json +++ b/common/src/test/resources/examples/controlloop/PMSH/pmsh.postman2.0_collection.json @@ -247,7 +247,7 @@ "auth": { "type": "basic", "basic": { - "username": "healthcheck", + "username": "runtimeUser", "password": "zb!XztG34" } } diff --git a/common/src/test/resources/examples/controlloop/http-participant/http.postman2.0_collection.json b/common/src/test/resources/examples/controlloop/http-participant/http.postman2.0_collection.json index 38deb43ae..798b0edd6 100644 --- a/common/src/test/resources/examples/controlloop/http-participant/http.postman2.0_collection.json +++ b/common/src/test/resources/examples/controlloop/http-participant/http.postman2.0_collection.json @@ -247,7 +247,7 @@ "auth": { "type": "basic", "basic": { - "username": "healthcheck", + "username": "runtimeUser", "password": "zb!XztG34" } } diff --git a/common/src/test/resources/examples/controlloop/k8s-participant/k8s.postman2.0_collection.json b/common/src/test/resources/examples/controlloop/k8s-participant/k8s.postman2.0_collection.json index 923782128..e83bc2594 100644 --- a/common/src/test/resources/examples/controlloop/k8s-participant/k8s.postman2.0_collection.json +++ b/common/src/test/resources/examples/controlloop/k8s-participant/k8s.postman2.0_collection.json @@ -247,7 +247,7 @@ "auth": { "type": "basic", "basic": { - "username": "healthcheck", + "username": "runtimeUser", "password": "zb!XztG34" } } -- cgit 1.2.3-korg