diff options
author | Jim Hahn <jrh3@att.com> | 2019-08-28 15:20:18 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-08-30 12:07:32 -0400 |
commit | 98873e8c202426b9d74d9460ebd30b57fa4c7eb7 (patch) | |
tree | db56b53965c37b36008c99c49acf9e5d079c2fbf /main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json | |
parent | 30b9aa0d2e2e6b954e2ce25537d7d7ca81d3a5a4 (diff) |
Get policy type from policy-api
Added a class to retrieve a policy type from the policy-api.
Updated property files to include parameters that are needed
to configure it.
Updates per review comments:
- change PolicyApi to PolicyApiCaller
- use HttpClientFactory
- removed superfluous constructors from exception classes
- changed parameters to use RestServerParameters instead of BusTopicParams
Change-Id: I8aad6ca5a733c8ad9cc983496e745ebe7400dd17
Issue-ID: POLICY-1911
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json')
-rw-r--r-- | main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json b/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json index 8949a3c4..27e7ef46 100644 --- a/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json +++ b/main/src/test/resources/parameters/XacmlPdpConfigParameters_InvalidName.json @@ -1,9 +1,29 @@ { "name": " ", - "restServerParameters": { - "host": "0.0.0.0", + "restServerParameters":{ + "host":"0.0.0.0", "port": 6969, + "userName":"healthcheck", + "password":"zb!XztG34", + "https":true + }, + "policyApiParameters": { + "host": "0.0.0.0", + "port": 6970, "userName": "healthcheck", "password": "zb!XztG34" + }, + "applicationPath": "src/test/resources/apps", + "topicParameterGroup": { + "topicSources" : [{ + "topic" : "POLICY-PDP-PAP", + "servers" : [ "anyserver" ], + "topicCommInfrastructure" : "noop" + }], + "topicSinks" : [{ + "topic" : "POLICY-PDP-PAP", + "servers" : [ "anyserver" ], + "topicCommInfrastructure" : "noop" + }] } -} +}
\ No newline at end of file |