Adding Topic and REST parameters to policy-endpoints 66/90466/3
authora.sreekumar <ajith.sreekumar@est.tech>
Wed, 26 Jun 2019 10:52:28 +0000 (10:52 +0000)
committera.sreekumar <ajith.sreekumar@est.tech>
Wed, 26 Jun 2019 10:52:28 +0000 (10:52 +0000)
commit115a58a8c55d9dd1230b7373686f7934d40b2629
tree217341f196473e7fa2fbe5e19fbffe46a9db4d4b
parentd1ab0ec8471deeb7739206dc2ef0aac3dc5b245f
Adding Topic and REST parameters to policy-endpoints

1) Adding Topic parameters and REST parameters into policy-endpoints module as these
are used by other modules such as PAP, APEX and XACML PDPs.
2) ParameterUtils class is also added which can contain related utility methods

Change-Id: I5421fbf2234259305e3626ec0859aee0f36ed9b1
Issue-ID: POLICY-1744
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
13 files changed:
policy-endpoints/pom.xml
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestServerParameters.java [new file with mode: 0644]
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/TopicParameterGroup.java [new file with mode: 0644]
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/TopicParameters.java [new file with mode: 0644]
policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/ParameterUtils.java [new file with mode: 0644]
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/parameters/CommonTestData.java [new file with mode: 0644]
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/parameters/RestServerParametersTest.java [new file with mode: 0644]
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/parameters/TopicParameterGroupTest.java [new file with mode: 0644]
policy-endpoints/src/test/java/org/onap/policy/common/endpoints/utils/ParameterUtilsTest.java [new file with mode: 0644]
policy-endpoints/src/test/resources/org/onap/policy/common/endpoints/parameters/RestServerParameters_invalid.json [new file with mode: 0644]
policy-endpoints/src/test/resources/org/onap/policy/common/endpoints/parameters/RestServerParameters_valid.json [new file with mode: 0644]
policy-endpoints/src/test/resources/org/onap/policy/common/endpoints/parameters/TopicParameters_invalid.json [new file with mode: 0644]
policy-endpoints/src/test/resources/org/onap/policy/common/endpoints/parameters/TopicParameters_valid.json [new file with mode: 0644]