summaryrefslogtreecommitdiffstats
path: root/policy-management
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-08-28 17:32:18 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-08-28 17:32:18 +0100
commitd6f6ebc925506cdf18b903df2cd3cbcef311082d (patch)
treeeda1d495b15f2df896f4f81cbb0e4f1ab7c6f1a3 /policy-management
parentc05015ae25604825d9a1d951e3a2d0981b955eae (diff)
Remove pdp statistics implementations from drools-pdp
Issue-ID: POLICY-4109 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I9fd807e4df5392cef680202ad80c7cc269d7b349
Diffstat (limited to 'policy-management')
-rw-r--r--policy-management/pom.xml1
-rw-r--r--policy-management/src/main/resources/openapi/openapi.yaml62
-rw-r--r--policy-management/src/main/resources/swagger/swagger.json88
3 files changed, 0 insertions, 151 deletions
diff --git a/policy-management/pom.xml b/policy-management/pom.xml
index 5f605553..64e9f6b4 100644
--- a/policy-management/pom.xml
+++ b/policy-management/pom.xml
@@ -167,7 +167,6 @@
ControllerConfiguration=org.onap.policy.drools.protocol.configuration.ControllerConfiguration,
DroolsController=org.onap.policy.drools.controller.DroolsController,
JsonProtocolFilter=org.onap.policy.drools.protocol.coders.JsonProtocolFilter,
- PdpStatistics=org.onap.policy.models.pdp.concepts.PdpStatistics,
PdpdConfiguration=org.onap.policy.drools.protocol.configuration.PdpdConfiguration,
PolicyController=org.onap.policy.drools.system.PolicyController,
PolicyControllerFeatureApi=org.onap.policy.drools.features.PolicyControllerFeatureApi,
diff --git a/policy-management/src/main/resources/openapi/openapi.yaml b/policy-management/src/main/resources/openapi/openapi.yaml
index 612ad10e..a763150b 100644
--- a/policy-management/src/main/resources/openapi/openapi.yaml
+++ b/policy-management/src/main/resources/openapi/openapi.yaml
@@ -465,22 +465,6 @@ paths:
application/yaml:
schema:
$ref: '#/components/schemas/Response'
- /lifecycle/statistics:
- get:
- tags:
- - pdp-d-lifecycle
- summary: Gets Policy Statistics
- operationId: stats
- responses:
- 200:
- description: successful operation
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Response'
- application/yaml:
- schema:
- $ref: '#/components/schemas/Response'
/lifecycle/properties:
get:
tags:
@@ -3006,52 +2990,6 @@ components:
lastStart:
type: integer
format: int64
- PdpStatistics:
- type: object
- properties:
- pdpInstanceId:
- type: string
- timeStamp:
- type: integer
- format: int64
- generatedId:
- type: integer
- format: int64
- pdpGroupName:
- type: string
- pdpSubGroupName:
- type: string
- policyExecutedCount:
- type: integer
- format: int64
- policyExecutedSuccessCount:
- type: integer
- format: int64
- policyExecutedFailCount:
- type: integer
- format: int64
- policyDeployCount:
- type: integer
- format: int64
- policyDeploySuccessCount:
- type: integer
- format: int64
- policyDeployFailCount:
- type: integer
- format: int64
- policyUndeployCount:
- type: integer
- format: int64
- policyUndeploySuccessCount:
- type: integer
- format: int64
- policyUndeployFailCount:
- type: integer
- format: int64
- engineStats:
- type: array
- items:
- $ref: '#/components/schemas/PdpEngineWorkerStatistics'
TopicSource:
type: object
properties:
diff --git a/policy-management/src/main/resources/swagger/swagger.json b/policy-management/src/main/resources/swagger/swagger.json
index 1a6a7c17..f26a1bfe 100644
--- a/policy-management/src/main/resources/swagger/swagger.json
+++ b/policy-management/src/main/resources/swagger/swagger.json
@@ -672,30 +672,6 @@
}
}
},
- "/lifecycle/statistics" : {
- "get" : {
- "tags" : [ "pdp-d-lifecycle" ],
- "summary" : "Gets Policy Statistics",
- "operationId" : "stats",
- "responses" : {
- "200" : {
- "description" : "successful operation",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/Response"
- }
- },
- "application/yaml" : {
- "schema" : {
- "$ref" : "#/components/schemas/Response"
- }
- }
- }
- }
- }
- }
- },
"/lifecycle/properties" : {
"get" : {
"tags" : [ "pdp-d-lifecycle" ],
@@ -4300,70 +4276,6 @@
}
}
},
- "PdpStatistics" : {
- "type" : "object",
- "properties" : {
- "pdpInstanceId" : {
- "type" : "string"
- },
- "timeStamp" : {
- "type" : "integer",
- "format" : "int64"
- },
- "generatedId" : {
- "type" : "integer",
- "format" : "int64"
- },
- "pdpGroupName" : {
- "type" : "string"
- },
- "pdpSubGroupName" : {
- "type" : "string"
- },
- "policyExecutedCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyExecutedSuccessCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyExecutedFailCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyDeployCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyDeploySuccessCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyDeployFailCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyUndeployCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyUndeploySuccessCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "policyUndeployFailCount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "engineStats" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PdpEngineWorkerStatistics"
- }
- }
- }
- },
"TopicSource" : {
"type" : "object",
"properties" : {