diff options
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" + } +] |