summaryrefslogtreecommitdiffstats
path: root/docs/pap/request
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-08-01 11:05:24 -0400
committerJim Hahn <jrh3@att.com>2019-08-01 11:05:24 -0400
commit0f079d2fa0cc68c3a682e0e0f73511dd576066ba (patch)
tree584a3107f50da11cf2bbf00000064d94e432547f /docs/pap/request
parent717a24ad1b50b1cfa2eed6efbeb60babfa0c4c1c (diff)
Add sample requests and responses to PAP docs
Change-Id: I8f2643216bcc8fb2f64dd50296570ab41ea6423c Issue-ID: POLICY-1865 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'docs/pap/request')
-rw-r--r--docs/pap/request/group-pap-req.json39
-rw-r--r--docs/pap/request/policy-deploy-pap-req.json17
2 files changed, 56 insertions, 0 deletions
diff --git a/docs/pap/request/group-pap-req.json b/docs/pap/request/group-pap-req.json
new file mode 100644
index 00000000..ebe38b92
--- /dev/null
+++ b/docs/pap/request/group-pap-req.json
@@ -0,0 +1,39 @@
+{
+ "groups": [
+ {
+ "name": "SampleGroup",
+ "pdpGroupState": "PASSIVE",
+ "pdpSubgroups": [
+ {
+ "pdpType": "apex",
+ "desiredInstanceCount": 2,
+ "properties": {},
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.controllloop.operational.apex.bbs",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": [
+ {
+ "name": "onap.controllloop.operational.apex.bbs.EastRegion",
+ "version": "1.0.0"
+ }
+ ]
+ },
+ {
+ "pdpType": "xacml",
+ "desiredInstanceCount": 1,
+ "properties": {},
+ "supportedPolicyTypes": [
+ {
+ "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "version": "1.0.0"
+ }
+ ],
+ "policies": []
+ }
+ ]
+ }
+ ]
+}
diff --git a/docs/pap/request/policy-deploy-pap-req.json b/docs/pap/request/policy-deploy-pap-req.json
new file mode 100644
index 00000000..b01a051e
--- /dev/null
+++ b/docs/pap/request/policy-deploy-pap-req.json
@@ -0,0 +1,17 @@
+{
+ "policies": [
+ {
+ "policy-id": "onap.scaleout.tca",
+ "policy-version": 1
+ },
+ {
+ "policy-id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3"
+ },
+ {
+ "policy-id": "guard.frequency.ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3"
+ },
+ {
+ "policy-id": "guard.minmax.ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3"
+ }
+ ]
+}