aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pap/response
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pap/response')
-rw-r--r--docs/pap/response/consolidated-healthcheck-pap-resp.json48
-rw-r--r--docs/pap/response/deployed-policy-pap-resp.json38
-rw-r--r--docs/pap/response/pdp-statistics-pap-resp.json45
3 files changed, 131 insertions, 0 deletions
diff --git a/docs/pap/response/consolidated-healthcheck-pap-resp.json b/docs/pap/response/consolidated-healthcheck-pap-resp.json
new file mode 100644
index 00000000..6155bb30
--- /dev/null
+++ b/docs/pap/response/consolidated-healthcheck-pap-resp.json
@@ -0,0 +1,48 @@
+{
+ "pdps": {
+ "xacml": [
+ {
+ "instanceId": "dev-policy-xacml-pdp-5b6697c845-9j8lb",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY"
+ }
+ ],
+ "drools": [
+ {
+ "instanceId": "dev-drools-0",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY"
+ }
+ ],
+ "apex": [
+ {
+ "instanceId": "dev-policy-apex-pdp-0",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY",
+ "message": "Pdp Heartbeat"
+ }
+ ]
+ },
+ "healthy": true,
+ "api": {
+ "name": "Policy API",
+ "url": "https://dev-policy-api-7fb479754f-7nr5s:6969/policy/api/v1/healthcheck",
+ "healthy": true,
+ "code": 200,
+ "message": "alive"
+ },
+ "distribution": {
+ "name": "Policy SSD",
+ "url": "https://dev-policy-distribution-84854cd6c7-zn8vh:6969/healthcheck",
+ "healthy": true,
+ "code": 200,
+ "message": "alive"
+ },
+ "pap": {
+ "name": "Policy PAP",
+ "url": "https://dev-pap-79fd8f78d4-hwx7j:6969/policy/pap/v1/healthcheck",
+ "healthy": true,
+ "code": 200,
+ "message": "alive"
+ }
+} \ No newline at end of file
diff --git a/docs/pap/response/deployed-policy-pap-resp.json b/docs/pap/response/deployed-policy-pap-resp.json
new file mode 100644
index 00000000..fa768a1b
--- /dev/null
+++ b/docs/pap/response/deployed-policy-pap-resp.json
@@ -0,0 +1,38 @@
+[
+ {
+ "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "policy-type-version": "1.0.0",
+ "policy-id": "MICROSERVICE_vFW_CDS_Service_v2_0_app_1_0_0_I95",
+ "policy-version": "1.0.0",
+ "success-count": 1,
+ "failure-count": 0,
+ "incomplete-count": 0
+ },
+ {
+ "policy-type": "onap.policies.controlloop.Operational",
+ "policy-type-version": "1.0.0",
+ "policy-id": "OPERATIONAL_vFW_CDS_Service_v2_0_OperationalPolicyLegacy_1_0_0_Ly6",
+ "policy-version": "1.0.0",
+ "success-count": 1,
+ "failure-count": 0,
+ "incomplete-count": 0
+ },
+ {
+ "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "policy-type-version": "1.0.0",
+ "policy-id": "MICROSERVICE_vFW_CDS_Service_v2_0_app_1_0_0_WNX",
+ "policy-version": "1.0.0",
+ "success-count": 1,
+ "failure-count": 0,
+ "incomplete-count": 0
+ },
+ {
+ "policy-type": "onap.policies.controlloop.operational.common.Drools",
+ "policy-type-version": "1.0.0",
+ "policy-id": "OPERATIONAL_vFW_CDS_Service_v2_0_Drools_1_0_0_6SN",
+ "policy-version": "1.0.0",
+ "success-count": 1,
+ "failure-count": 0,
+ "incomplete-count": 0
+ }
+] \ No newline at end of file
diff --git a/docs/pap/response/pdp-statistics-pap-resp.json b/docs/pap/response/pdp-statistics-pap-resp.json
new file mode 100644
index 00000000..77b03444
--- /dev/null
+++ b/docs/pap/response/pdp-statistics-pap-resp.json
@@ -0,0 +1,45 @@
+{
+ "defaultGroup": {
+ "apex": [
+ {
+ "pdpInstanceId": "dev-policy-apex-pdp-0",
+ "timeStamp": "Apr 29, 2020, 6:15:29 PM",
+ "pdpGroupName": "defaultGroup",
+ "pdpSubGroupName": "apex",
+ "policyDeployCount": 0,
+ "policyDeploySuccessCount": 0,
+ "policyDeployFailCount": 0,
+ "policyExecutedCount": 0,
+ "policyExecutedSuccessCount": 0,
+ "policyExecutedFailCount": 0,
+ "engineStats": []
+ },
+ {
+ "pdpInstanceId": "dev-policy-apex-pdp-0",
+ "timeStamp": "Apr 29, 2020, 6:17:29 PM",
+ "pdpGroupName": "defaultGroup",
+ "pdpSubGroupName": "apex",
+ "policyDeployCount": 0,
+ "policyDeploySuccessCount": 0,
+ "policyDeployFailCount": 0,
+ "policyExecutedCount": 0,
+ "policyExecutedSuccessCount": 0,
+ "policyExecutedFailCount": 0,
+ "engineStats": []
+ },
+ {
+ "pdpInstanceId": "dev-policy-apex-pdp-0",
+ "timeStamp": "Apr 29, 2020, 6:19:29 PM",
+ "pdpGroupName": "defaultGroup",
+ "pdpSubGroupName": "apex",
+ "policyDeployCount": 0,
+ "policyDeploySuccessCount": 0,
+ "policyDeployFailCount": 0,
+ "policyExecutedCount": 0,
+ "policyExecutedSuccessCount": 0,
+ "policyExecutedFailCount": 0,
+ "engineStats": []
+ }
+ ]
+ }
+} \ No newline at end of file