Create PAP API to only create/update PdpGroups 79/99079/6
authora.sreekumar <ajith.sreekumar@est.tech>
Tue, 3 Dec 2019 19:10:47 +0000 (19:10 +0000)
committera.sreekumar <ajith.sreekumar@est.tech>
Thu, 5 Dec 2019 16:43:14 +0000 (16:43 +0000)
commitdef5a9d47a1b512f65917babd6613e2b743ad8da
tree0c81ae4b1f17b5d687865b6662508a9e02ec5065
parent6e96359492029ca9309ea367372ab81bf396bdde
Create PAP API to only create/update PdpGroups

Create an API to create/update PdpGroups.
Policies are not allowed to be deployed as part of PDPGroup
create/update operation. There will be a separate API as part of
POLICY-2274 to deploy policies into individual group/subgroups.

Change-Id: I4e2cb43fefe08b22d6f70a1db7c026e83f0ebde0
Issue-ID: POLICY-2273
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupCreateOrUpdateControllerV1.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupCreateOrUpdateProvider.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupCreateOrUpdateControllerV1.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupCreateOrUpdateProvider.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupDeployProvider.java
main/src/test/java/org/onap/policy/pap/main/rest/e2e/PdpGroupCreateOrUpdateTest.java [new file with mode: 0644]
main/src/test/resources/e2e/createGroups.json
main/src/test/resources/e2e/createNewGroups.json [new file with mode: 0644]
main/src/test/resources/simpleDeploy/createGroups.json
main/src/test/resources/simpleDeploy/createGroupsDelSub.json