Set all cross references of policy/pap
[policy/pap.git] / postman / pap-api-collection.json
index 0e3e1d4..cdc38f5 100644 (file)
@@ -1,8 +1,8 @@
 {
     "info": {
-        "_postman_id": "76860e78-4c44-45c1-9da0-ba001c0be587",
+        "_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",
-            "protocolProfileBehavior": {
-                "disableBodyPruning": true
-            },
-            "request": {
-                "method": "GET",
-                "header": [
-                    {
-                        "key": "Content-Type",
-                        "value": "application/json",
-                        "type": "text"
-                    },
-                    {
-                        "key": "Accept",
-                        "value": "application/json",
-                        "type": "text"
-                    }
-                ],
-                "body": {
-                    "mode": "raw",
-                    "raw": ""
-                },
-                "url": {
-                    "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics?recordCount=5",
-                    "host": [
-                        "{{POLICY-PAP-URL}}"
-                    ],
-                    "path": [
-                        "policy",
-                        "pap",
-                        "v1",
-                        "pdps",
-                        "statistics"
-                    ],
-                    "query": [
-                        {
-                            "key": "recordCount",
-                            "value": "5"
-                        }
-                    ]
-                },
-                "description": "This is an API to fetch current statistics information for the all registered PDP instances."
-            },
-            "response": []
-        },
-        {
-            "name": "Fetch PdpGroup Statistics",
-            "protocolProfileBehavior": {
-                "disableBodyPruning": true
-            },
-            "request": {
-                "method": "GET",
-                "header": [
-                    {
-                        "key": "Content-Type",
-                        "type": "text",
-                        "value": "application/json"
-                    },
-                    {
-                        "key": "Accept",
-                        "type": "text",
-                        "value": "application/json"
-                    }
-                ],
-                "body": {
-                    "mode": "raw",
-                    "raw": ""
-                },
-                "url": {
-                    "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup?recordCount=5",
-                    "host": [
-                        "{{POLICY-PAP-URL}}"
-                    ],
-                    "path": [
-                        "policy",
-                        "pap",
-                        "v1",
-                        "pdps",
-                        "statistics",
-                        "defaultGroup"
-                    ],
-                    "query": [
-                        {
-                            "key": "recordCount",
-                            "value": "5"
-                        }
-                    ]
-                },
-                "description": "This is an API to fetch current statistics information for the all registered PDP instances of the specified PdpGroup (example - \"defaultGroup\")."
-            },
-            "response": []
-        },
-        {
-            "name": "Fetch PdpSubGroup Statistics",
-            "protocolProfileBehavior": {
-                "disableBodyPruning": true
-            },
-            "request": {
-                "method": "GET",
-                "header": [
-                    {
-                        "key": "Content-Type",
-                        "type": "text",
-                        "value": "application/json"
-                    },
-                    {
-                        "key": "Accept",
-                        "type": "text",
-                        "value": "application/json"
-                    }
-                ],
-                "body": {
-                    "mode": "raw",
-                    "raw": ""
-                },
-                "url": {
-                    "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex?recordCount=5",
-                    "host": [
-                        "{{POLICY-PAP-URL}}"
-                    ],
-                    "path": [
-                        "policy",
-                        "pap",
-                        "v1",
-                        "pdps",
-                        "statistics",
-                        "defaultGroup",
-                        "apex"
-                    ],
-                    "query": [
-                        {
-                            "key": "recordCount",
-                            "value": "5"
-                        }
-                    ]
-                },
-                "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\")."
-            },
-            "response": []
-        },
-        {
-            "name": "Fetch PDP Statistics",
-            "protocolProfileBehavior": {
-                "disableBodyPruning": true
-            },
-            "request": {
-                "method": "GET",
-                "header": [
-                    {
-                        "key": "Content-Type",
-                        "type": "text",
-                        "value": "application/json"
-                    },
-                    {
-                        "key": "Accept",
-                        "type": "text",
-                        "value": "application/json"
-                    }
-                ],
-                "body": {
-                    "mode": "raw",
-                    "raw": ""
-                },
-                "url": {
-                    "raw": "{{POLICY-PAP-URL}}/policy/pap/v1/pdps/statistics/defaultGroup/apex/dev-policy-apex-pdp-0?recordCount=5",
-                    "host": [
-                        "{{POLICY-PAP-URL}}"
-                    ],
-                    "path": [
-                        "policy",
-                        "pap",
-                        "v1",
-                        "pdps",
-                        "statistics",
-                        "defaultGroup",
-                        "apex",
-                        "dev-policy-apex-pdp-0"
-                    ],
-                    "query": [
-                        {
-                            "key": "recordCount",
-                            "value": "5"
-                        }
-                    ]
-                },
-                "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\")."
-            },
-            "response": []
-        },
         {
             "name": "Fetch All Policy Audit Records",
             "event": [
                             "value": "5"
                         },
                         {
-                            "key": "fromDate",
+                            "key": "startTime",
                             "value": "1627219515",
                             "disabled": true
                         },
                         {
-                            "key": "toDate",
+                            "key": "endTime",
                             "value": "1627478715",
                             "disabled": true
                         }
                             "value": "5"
                         },
                         {
-                            "key": "fromDate",
+                            "key": "startTime",
                             "value": "1627219515",
                             "disabled": true
                         },
                         {
-                            "key": "toDate",
+                            "key": "endTime",
                             "value": "1627478715",
                             "disabled": true
                         }
                             "value": "5"
                         },
                         {
-                            "key": "fromDate",
+                            "key": "startTime",
                             "value": "1627219515",
                             "disabled": true
                         },
                         {
-                            "key": "toDate",
+                            "key": "endTime",
                             "value": "1627478715",
                             "disabled": true
                         }
                             "value": "5"
                         },
                         {
-                            "key": "fromDate",
+                            "key": "startTime",
                             "value": "1627219515",
                             "disabled": true
                         },
                         {
-                            "key": "toDate",
+                            "key": "endTime",
                             "value": "1627478715",
                             "disabled": true
                         }
     "variable": [
         {
             "key": "USER",
-            "value": "healthcheck",
+            "value": "policyadmin",
             "type": "string"
         },
         {