1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
21 title: "PDP-D Healthcheck Documentation"
22 description: PDP-D Healthcheck Services
23 version: Swagger Server
25 - url: http://{drools-ip}:9696
30 - name: pdp-d-healthcheck
31 description: Drools PDP Healthcheck Operations
37 summary: Perform a system healthcheck
38 description: Provides healthy status of the PDP-D plus the components defined in its configuration by using a REST interface
39 operationId: healthcheck
42 description: successful operation
46 $ref: '#/components/schemas/Response'
49 $ref: '#/components/schemas/Response'
54 summary: Healthcheck engine
55 description: Provides a Healthcheck on the engine
59 description: successful operation
63 $ref: '#/components/schemas/Response'
66 $ref: '#/components/schemas/Response'
67 /healthcheck/controllers:
71 summary: Controllers Healthcheck
72 description: Provides a Healthcheck on the configured controllers
73 operationId: controllers
76 description: successful operation
80 $ref: '#/components/schemas/Response'
83 $ref: '#/components/schemas/Response'
84 /healthcheck/controllers/{controllerName}:
88 summary: Controllers Healthcheck
89 description: Provides a Healthcheck on the configured controllers
91 - name: controllerName
93 description: controller Name
97 operationId: controllersName
100 description: successful operation
104 $ref: '#/components/schemas/Response'
107 $ref: '#/components/schemas/Response'
108 /healthcheck/clients:
112 summary: Http Clients Healthcheck
113 description: Provides a Healthcheck on the configured HTTP clients
117 description: successful operation
121 $ref: '#/components/schemas/Response'
124 $ref: '#/components/schemas/Response'
125 /healthcheck/clients/{clientsName}:
129 summary: Http Clients Healthcheck
130 description: Provides a Healthcheck on the configured HTTP clients
134 description: controller Name
138 operationId: clientsName
141 description: successful operation
145 $ref: '#/components/schemas/Response'
148 $ref: '#/components/schemas/Response'