3 "_postman_id": "05831254-6fad-419f-b10e-ff21cbbd365a",
4 "name": "Policy Framework Administration API",
5 "description": "This collection lists all the Administration API's supported by ONAP Policy Framework. These API's are used to perform administrative operations for managing policies, groups, statistics & health information for all registered PDP engines.",
6 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
10 "name": "PAP healthcheck",
11 "protocolProfileBehavior": {
12 "disableBodyPruning": true
18 "key": "Content-Type",
20 "value": "application/json"
25 "value": "application/json"
33 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/healthcheck",
44 "description": "This is an API to fetch current healthcheck information for the policy-pap component."
49 "name": "Policy Consolidated healthcheck",
50 "protocolProfileBehavior": {
51 "disableBodyPruning": true
57 "key": "Content-Type",
58 "value": "application/json",
63 "value": "application/json",
72 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/components/healthcheck",
84 "description": "This is an API to fetch current healthcheck information for all the policy framework components."
89 "name": "PdpGroup Query",
90 "protocolProfileBehavior": {
91 "disableBodyPruning": true
97 "key": "Content-Type",
99 "value": "application/json"
104 "value": "application/json"
112 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps",
123 "description": "This is an API to fetch details of all PdpGroups currently available in Policy DB."
128 "name": "PdpGroup State Change",
133 "key": "Content-Type",
134 "value": "application/json",
139 "value": "application/json",
144 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE",
163 "description": "This is an API to change the current state of a PdpGroup (example - \"defaultGroup\") resulting in changing state of all the PDP instances registered with the PdpGroup. As of now, the allowed states are ACTIVE and PASSIVE."
168 "name": "Simple Deploy Policy",
173 "key": "Content-Type",
175 "value": "application/json"
180 "value": "application/json"
185 "raw": "{\r\n \"policies\" : [\r\n {\r\n \"policy-id\": \"operational.modifyconfig\",\r\n \"policy-version\": \"1.0.0\"\r\n }\r\n ]\r\n}"
188 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/policies",
200 "description": "This is an API to deploy one or more policies in all available & matching PdpGroups in Policy DB. The match is done based on supported policy types in the PdpSunGroup and the policy type referred by the given policy."
205 "name": "Simple Undeploy Policy",
211 "value": "application/json",
215 "key": "Content-Type",
216 "value": "application/json",
221 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/policies/operational.modifyconfig",
231 "operational.modifyconfig"
234 "description": "This is an API to undeploy one or more policies from all PdpGroups in Policy DB."
239 "name": "Create/Update PdpGroup",
244 "key": "Content-Type",
246 "value": "application/json"
251 "value": "application/json"
256 "raw": "{\n \"groups\": [\n {\n \"name\": \"SampleGroup\",\n \"pdpGroupState\": \"ACTIVE\",\n \"properties\": {},\n \"pdpSubgroups\": [\n {\n \"pdpType\": \"apex\",\n \"desiredInstanceCount\": 2,\n \"properties\": {},\n \"supportedPolicyTypes\": [\n {\n \"name\": \"onap.policies.controlloop.operational.common.Apex\",\n \"version\": \"1.0.0\"\n }\n ],\n \"policies\": []\n },\n {\n \"pdpType\": \"xacml\",\n \"desiredInstanceCount\": 1,\n \"properties\": {},\n \"supportedPolicyTypes\": [\n {\n \"name\": \"onap.policies.monitoring.*\",\n \"version\": \"1.0.0\"\n }\n ],\n \"policies\": []\n }\n ]\n }\n ]\n}"
259 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/batch",
272 "description": "This is a generic API to create/update PdpGroups in Policy DB. However, the supportedPolicyTypes field of PdpSubGroup cannot be changed once created."
277 "name": "PDPGroup Deploy Policy",
282 "key": "Content-Type",
284 "value": "application/json"
289 "value": "application/json"
294 "raw": "{\n \"groups\": [\n {\n \"name\": \"defaultGroup\",\n \"deploymentSubgroups\": [\n {\n \"pdpType\": \"drools\",\n \"action\": \"POST\",\n \"policies\": [\n {\n \"name\": \"operational.modifyconfig\",\n \"version\": \"1.0.0\"\n }\n ]\n }\n ]\n }\n ]\n}"
297 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
310 "description": "This is an API to deploy one or more policies to the specified PdpGroup, resulting in deployment of policies to all registered PDP instances of that specified PdpGroup."
315 "name": "PDPGroup Undeploy Policy",
320 "key": "Content-Type",
322 "value": "application/json"
327 "value": "application/json"
332 "raw": "{\n \"groups\": [\n {\n \"name\": \"defaultGroup\",\n \"deploymentSubgroups\": [\n {\n \"pdpType\": \"drools\",\n \"action\": \"DELETE\",\n \"policies\": [\n {\n \"name\": \"operational.modifyconfig\",\n \"version\": \"1.0.0\"\n }\n ]\n }\n ]\n }\n ]\n}"
335 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/deployments/batch",
348 "description": "This is an API to undeploy one or more policies from the specified PdpGroup, resulting in removal of policies from all registered PDP instances of that specified PdpGroup."
353 "name": "Fetch Policy deployment Status",
354 "protocolProfileBehavior": {
355 "disableBodyPruning": true
361 "key": "Content-Type",
363 "value": "application/json"
368 "value": "application/json"
376 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/deployed/operational.modifyconfig",
386 "operational.modifyconfig"
389 "description": "This is an API to fetch status of a specific deployed policy in the registered PDP instances."
394 "name": "Fetch All Policy deployment Status",
395 "protocolProfileBehavior": {
396 "disableBodyPruning": true
402 "key": "Content-Type",
404 "value": "application/json"
409 "value": "application/json"
417 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/deployed",
429 "description": "This is a generic API to fetch status of all deployed policies in the registered PDP instances."
434 "name": "Fetch All PDPs Statistics",
435 "protocolProfileBehavior": {
436 "disableBodyPruning": true
442 "key": "Content-Type",
443 "value": "application/json",
448 "value": "application/json",
457 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics",
469 "description": "This is an API to fetch current statistics information for the all registered PDP instances."
474 "name": "Fetch PdpGroup Statistics",
475 "protocolProfileBehavior": {
476 "disableBodyPruning": true
482 "key": "Content-Type",
484 "value": "application/json"
489 "value": "application/json"
497 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup",
510 "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\")."
515 "name": "Fetch PdpSubGroup Statistics",
516 "protocolProfileBehavior": {
517 "disableBodyPruning": true
523 "key": "Content-Type",
525 "value": "application/json"
530 "value": "application/json"
538 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex",
552 "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\")."
557 "name": "Fetch PDP Statistics",
558 "protocolProfileBehavior": {
559 "disableBodyPruning": true
565 "key": "Content-Type",
567 "value": "application/json"
572 "value": "application/json"
580 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex/dev-policy-apex-pdp-0",
592 "dev-policy-apex-pdp-0"
595 "description": "This is an API to fetch current statistics information for the specified PDP instance (example - \"dev-policy-apex-pdp-0\") of the specified PdpGroup (example - \"defaultGroup\") & PdpSubgroup (example - \"apex\")."
600 "name": "Delete PdpGroup",
607 "value": "application/json"
610 "key": "Content-Type",
612 "value": "application/json"
616 "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/groups/SampleGroup",
629 "description": "This is an API to delete a specific PdpGroup (example - \"SampleGroup\") currently available in Policy DB, resulting in removing all the PDP instances registered with the group."
639 "value": "{{PASSWORD}}",
651 "listen": "prerequest",
653 "id": "d6987a6d-a224-4288-a7bd-4c1c209a2637",
654 "type": "text/javascript",
663 "id": "731a9aab-e8f2-4dc6-941c-ac7e142c5177",
664 "type": "text/javascript",
673 "id": "bc82ca5c-f667-4118-9da1-e78a9b532b91",
675 "value": "healthcheck",
679 "id": "1c2733ff-2507-49e8-ba07-b0f85ea97914",
681 "value": "zb!XztG34",
685 "protocolProfileBehavior": {}