From d6f6ebc925506cdf18b903df2cd3cbcef311082d Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Mon, 28 Aug 2023 17:32:18 +0100 Subject: Remove pdp statistics implementations from drools-pdp Issue-ID: POLICY-4109 Signed-off-by: zrrmmua Change-Id: I9fd807e4df5392cef680202ad80c7cc269d7b349 --- .../src/main/resources/openapi/openapi.yaml | 62 --------------- .../src/main/resources/swagger/swagger.json | 88 ---------------------- 2 files changed, 150 deletions(-) (limited to 'policy-management/src') 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" : { -- cgit 1.2.3-korg