summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/e2e/createNewGroups.json
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-12-03 19:10:47 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2019-12-05 16:43:14 +0000
commitdef5a9d47a1b512f65917babd6613e2b743ad8da (patch)
tree0c81ae4b1f17b5d687865b6662508a9e02ec5065 /main/src/test/resources/e2e/createNewGroups.json
parent6e96359492029ca9309ea367372ab81bf396bdde (diff)
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>
Diffstat (limited to 'main/src/test/resources/e2e/createNewGroups.json')
-rw-r--r--main/src/test/resources/e2e/createNewGroups.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/src/test/resources/e2e/createNewGroups.json b/main/src/test/resources/e2e/createNewGroups.json
new file mode 100644
index 00000000..45339322
--- /dev/null
+++ b/main/src/test/resources/e2e/createNewGroups.json
@@ -0,0 +1,48 @@
+{
+ "groups": [
+ {
+ "name": "newGroup1",
+ "pdpGroupState": "ACTIVE",
+ "properties": {
+ "hello": "world"
+ },
+ "pdpSubgroups": [
+ {
+ "pdpType": "pdpTypeA",
+ "desiredInstanceCount": 2,
+ "properties": {},
+ "pdpInstances": [],
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": []
+ }
+ ]
+ },
+ {
+ "name": "newGroup2",
+ "pdpGroupState": "ACTIVE",
+ "properties": {
+ "hello": "world"
+ },
+ "pdpSubgroups": [
+ {
+ "pdpType": "pdpTypeB",
+ "desiredInstanceCount": 2,
+ "properties": {},
+ "pdpInstances": [],
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": []
+ }
+ ]
+ }
+ ]
+}