summaryrefslogtreecommitdiffstats
path: root/docs/pap/request
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-12-11 16:25:56 -0500
committerJim Hahn <jrh3@att.com>2019-12-12 15:52:44 -0500
commit5eeeeddd1833e67ad9c285032abc3fb3bbde0b2d (patch)
treeddc62503e727bec5ca17cb0613ae57ba298a56f4 /docs/pap/request
parent21317cfb4a10da6f59376dabb59fc2dd7b60b897 (diff)
Document new PAP REST APIs
Includes the Pdp Group create/update API and the Deployment API. Issue-ID: POLICY-2281 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ifde0491b029eb377c4f3083c784663df968b9d1b
Diffstat (limited to 'docs/pap/request')
-rw-r--r--docs/pap/request/deployment-batch-pap-req.json19
-rw-r--r--docs/pap/request/groups-batch-pap-req.json (renamed from docs/pap/request/group-pap-req.json)7
2 files changed, 20 insertions, 6 deletions
diff --git a/docs/pap/request/deployment-batch-pap-req.json b/docs/pap/request/deployment-batch-pap-req.json
new file mode 100644
index 00000000..6577bed7
--- /dev/null
+++ b/docs/pap/request/deployment-batch-pap-req.json
@@ -0,0 +1,19 @@
+{
+ "groups": [
+ {
+ "name": "SampleGroup",
+ "deploymentSubgroups": [
+ {
+ "pdpType": "apex",
+ "action": "POST",
+ "policies": [
+ {
+ "name": "onap.controllloop.operational.apex.bbs.EastRegion",
+ "version": "1.0.0"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/docs/pap/request/group-pap-req.json b/docs/pap/request/groups-batch-pap-req.json
index ebe38b92..2f909413 100644
--- a/docs/pap/request/group-pap-req.json
+++ b/docs/pap/request/groups-batch-pap-req.json
@@ -14,12 +14,7 @@
"version": "1.0.0"
}
],
- "policies": [
- {
- "name": "onap.controllloop.operational.apex.bbs.EastRegion",
- "version": "1.0.0"
- }
- ]
+ "policies": []
},
{
"pdpType": "xacml",