diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-02-19 17:29:40 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-02-19 17:29:46 +0000 |
commit | e756dc976ccf36bb7b17e13e573fd3e5c9dacab1 (patch) | |
tree | 7e58690c6de643f2bf6ba36014d822440b5570fe /docs/pap/response | |
parent | c13c83c9bd4fc386d05856f0b25a8f3fc1db22c3 (diff) |
Doc updates for PAP Deployment API changes
Change-Id: I23b8778c599a0fd3cc659f677018d866a68a2489
Issue-ID: POLICY-2526
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'docs/pap/response')
-rw-r--r-- | docs/pap/response/deployment-pap-resp.json | 4 | ||||
-rw-r--r-- | docs/pap/response/policy-status-pap-resp.json | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/docs/pap/response/deployment-pap-resp.json b/docs/pap/response/deployment-pap-resp.json new file mode 100644 index 00000000..59b7d225 --- /dev/null +++ b/docs/pap/response/deployment-pap-resp.json @@ -0,0 +1,4 @@ +{ + "message": "Use the policy status url to fetch the latest status. Kindly note that when a policy is successfully undeployed, it will no longer appear in policy status response.", + "uri": "/policy/pap/v1/policies/status" +} diff --git a/docs/pap/response/policy-status-pap-resp.json b/docs/pap/response/policy-status-pap-resp.json new file mode 100644 index 00000000..97c3b59d --- /dev/null +++ b/docs/pap/response/policy-status-pap-resp.json @@ -0,0 +1,32 @@ +[ + { + "pdpGroup": "defaultGroup", + "pdpType": "apex", + "pdpId": "policy-apex-pdp-0", + "policy": { + "name": "onap.policies.apex.Controlloop", + "version": "1.0.0" + }, + "policyType": { + "name": "onap.policies.native.Apex", + "version": "1.0.0" + }, + "deploy": true, + "state": "SUCCESS" + }, + { + "pdpGroup": "defaultGroup", + "pdpType": "drools", + "pdpId": "policy-drools-pdp-0", + "policy": { + "name": "OPERATIONAL_vFW_CDS_Service_v2_0_Drools_1_0_0_6SN", + "version": "1.0.0" + }, + "policyType": { + "name": "onap.policies.controlloop.operational.common.Drools", + "version": "1.0.0" + }, + "deploy": true, + "state": "SUCCESS" + } +] |