diff options
author | Jim Hahn <jrh3@att.com> | 2021-07-19 16:21:25 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-07-20 09:37:05 -0400 |
commit | b59b14d47b590ff94b7c98348c1617990d03c86f (patch) | |
tree | 2bccdb90eb3ffa96a8840c1666728ac60b007271 /testsuites/stability | |
parent | 9eba753aed9d5575fa24ab8806e4d614668c75cb (diff) |
Use new RestClientParameters class in distribution
Replaced LifecycleApiForwarderParameters with RestClientParameters.
Also modified the code to get the HttpClient objects once.
This requires changes to property files in CSITs and OOM:
- rename "hostName" to "hostname"
- rename "isHttps" to "useHttps" and move it inside the api & pap
structures
Issue-ID: POLICY-3456
Change-Id: I654c32c9b6628263a68d821e11c5a316e8b6e2cc
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'testsuites/stability')
-rw-r--r-- | testsuites/stability/src/main/resources/distributionsetup/distribution/etc/defaultConfig.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/stability/src/main/resources/distributionsetup/distribution/etc/defaultConfig.json b/testsuites/stability/src/main/resources/distributionsetup/distribution/etc/defaultConfig.json index 98a135ce..7273cbc7 100644 --- a/testsuites/stability/src/main/resources/distributionsetup/distribution/etc/defaultConfig.json +++ b/testsuites/stability/src/main/resources/distributionsetup/distribution/etc/defaultConfig.json @@ -53,18 +53,19 @@ "parameterClassName": "org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters", "parameters": { "apiParameters": { - "hostName": "policy-api", + "hostname": "policy-api", "port": 6969, + "useHttps": true, "userName": "healthcheck", "password": "zb!XztG34" }, "papParameters": { - "hostName": "policy-pap", + "hostname": "policy-pap", "port": 7000, + "useHttps": true, "userName": "healthcheck", "password": "zb!XztG34" }, - "isHttps": true, "deployPolicies": true } } |