{
"info": {
- "_postman_id": "d78b72f0-00b1-44c2-88c4-98a7a51b3932",
+ "_postman_id": "cf7db76a-e5a7-4c92-a3b7-7b97ffd006bf",
"name": "Policy Framework Administration API",
- "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.",
+ "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 & health information for all registered PDP engines.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
"response": []
},
{
- "name": "Fetch All PDPs Statistics",
+ "name": "Fetch All Policy Audit Records",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"header": [
{
"key": "Content-Type",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
},
{
"key": "Accept",
- "value": "application/json",
- "type": "text"
+ "type": "text",
+ "value": "application/json"
}
],
"body": {
"raw": ""
},
"url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics",
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit?recordCount=5",
"host": [
"{{POLICY-PAP-URL}}"
],
"policy",
"pap",
"v1",
- "pdps",
- "statistics"
+ "policies",
+ "audit"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "startTime",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "endTime",
+ "value": "1627478715",
+ "disabled": true
+ }
]
},
- "description": "This is an API to fetch current statistics information for the all registered PDP instances."
+ "description": "This is a generic API to fetch audit records of all policies in the database."
},
"response": []
},
{
- "name": "Fetch PdpGroup Statistics",
+ "name": "Fetch All Policy Audit Records of a Group",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"raw": ""
},
"url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup",
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup?recordCount=5",
"host": [
"{{POLICY-PAP-URL}}"
],
"policy",
"pap",
"v1",
- "pdps",
- "statistics",
+ "policies",
+ "audit",
"defaultGroup"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "startTime",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "endTime",
+ "value": "1627478715",
+ "disabled": true
+ }
]
},
- "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\")."
+ "description": "This is a generic API to fetch audit records of all policies in the database belonging to a PDP Group."
},
"response": []
},
{
- "name": "Fetch PdpSubGroup Statistics",
+ "name": "Fetch Policy Audit Records of a Group",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"raw": ""
},
"url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex",
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig/1.0.0?recordCount=5",
"host": [
"{{POLICY-PAP-URL}}"
],
"policy",
"pap",
"v1",
- "pdps",
- "statistics",
+ "policies",
+ "audit",
"defaultGroup",
- "apex"
+ "operational.modifyconfig",
+ "1.0.0"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "startTime",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "endTime",
+ "value": "1627478715",
+ "disabled": true
+ }
]
},
- "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\")."
+ "description": "This is an API to fetch audit records of a policy in the database belonging to a PDP Group."
},
"response": []
},
{
- "name": "Fetch PDP Statistics",
+ "name": "Fetch Policy Audit Records",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"raw": ""
},
"url": {
- "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex/dev-policy-apex-pdp-0",
+ "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/policies/audit/operational.modifyconfig/1.0.0?recordCount=5",
"host": [
"{{POLICY-PAP-URL}}"
],
"policy",
"pap",
"v1",
- "pdps",
- "statistics",
- "defaultGroup",
- "apex",
- "dev-policy-apex-pdp-0"
+ "policies",
+ "audit",
+ "operational.modifyconfig",
+ "1.0.0"
+ ],
+ "query": [
+ {
+ "key": "recordCount",
+ "value": "5"
+ },
+ {
+ "key": "startTime",
+ "value": "1627219515",
+ "disabled": true
+ },
+ {
+ "key": "endTime",
+ "value": "1627478715",
+ "disabled": true
+ }
]
},
- "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\")."
+ "description": "This is an API to fetch audit records of a policy in the database."
},
"response": []
},
"variable": [
{
"key": "USER",
- "value": "healthcheck",
+ "value": "policyadmin",
"type": "string"
},
{