From eb4cf2ad5d004cbfda90a752d10fbc6e91ef8fb4 Mon Sep 17 00:00:00 2001 From: Suresh Charan Date: Wed, 29 Mar 2023 14:38:40 -0400 Subject: Removed db-based statistics feature Statistics code cleanup Issue-ID: POLICY-4109 Change-Id: I543080e1ed3ce9c4f16d01df8f13219cba0a9c8c Signed-off-by: Suresh Charan --- postman/pap-api-collection.json | 232 +--------------------------------------- 1 file changed, 1 insertion(+), 231 deletions(-) (limited to 'postman') diff --git a/postman/pap-api-collection.json b/postman/pap-api-collection.json index 483468c4..cdc38f56 100644 --- a/postman/pap-api-collection.json +++ b/postman/pap-api-collection.json @@ -2,7 +2,7 @@ "info": { "_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": [ @@ -553,236 +553,6 @@ }, "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" - }, - { - "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." - }, - "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" - }, - { - "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\")." - }, - "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" - }, - { - "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\")." - }, - "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" - }, - { - "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\")." - }, - "response": [] - }, { "name": "Fetch All Policy Audit Records", "event": [ -- cgit 1.2.3-korg