aboutsummaryrefslogtreecommitdiffstats
path: root/tests/policy/pap/data/create.group.request.json
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-04-19 12:47:01 -0400
committerJim Hahn <jrh3@att.com>2019-04-19 14:59:58 -0400
commit0a594cf5cb96a31bf7e5abb0d00844db25fa7408 (patch)
treea1187f2c8cad5a8fbee453be5c81326e4a6d53fb /tests/policy/pap/data/create.group.request.json
parent2d3f0db728f0e4c24e4a5461edea4a4ffa97d97b (diff)
Flesh out PAP CSITs
This exercises all of the PAP REST APIs, except for the simple policy "deploy" API. Change-Id: I681c4c40f05f6e343a782e764f7f939ecbb31258 Issue-ID: POLICY-1672 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'tests/policy/pap/data/create.group.request.json')
-rw-r--r--tests/policy/pap/data/create.group.request.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/policy/pap/data/create.group.request.json b/tests/policy/pap/data/create.group.request.json
new file mode 100644
index 00000000..b0937f7f
--- /dev/null
+++ b/tests/policy/pap/data/create.group.request.json
@@ -0,0 +1,42 @@
+{
+ "groups": [
+ {
+ "name": "create.group.request",
+ "pdpGroupState": "PASSIVE",
+ "properties": {
+ "hello": "world"
+ },
+ "pdpSubgroups": [
+ {
+ "pdpType": "pdpTypeA",
+ "desiredInstanceCount": 2,
+ "properties": {},
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": [
+ {
+ "name": "onap.restart.tca",
+ "version": "1.0.0"
+ }
+ ]
+ },
+ {
+ "pdpType": "pdpTypeB",
+ "desiredInstanceCount": 1,
+ "properties": {},
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": []
+ }
+ ]
+ }
+ ]
+}