1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2022-2023 Nordix Foundation
3 # Modifications Copyright (C) 2023 Bell Canada. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
21 title: Policy Administration Documentation
22 description: Policy Administration is responsible for the deployment life cycle of policies as well as
23 interworking with the mechanisms required to orchestrate the nodes and containers on which
24 policies run. It is also responsible for the administration of policies at run time;
25 ensuring that policies are available to users, that policies are executing correctly,
26 and that the state and status of policies is monitored
27 termsOfService: urn:tos
30 url: https://lists.onap.org/g/onap-discuss
31 email: onap-discuss@lists.onap.org
34 url: http://www.apache.org/licenses/LICENSE-2.0
37 description: Policy Framework Documentation
38 url: https://docs.onap.org/projects/onap-policy-parent/en/latest
40 - url: https://{server}
43 default: policy/pap/v1
44 description: This value is assigned by the service provider
46 - name: HealthCheckRestControllerV1
47 - name: PdpGroupCreateOrUpdateControllerV1
48 - name: PdpGroupDeleteControllerV1
49 - name: PdpGroupDeployControllerV1
50 - name: PdpGroupHealthCheckControllerV1
51 - name: PdpGroupQueryControllerV1
52 - name: PdpGroupStateChangeControllerV1
53 - name: PolicyAuditControllerV1
54 - name: PolicyComponentsHealthCheckControllerV1
55 - name: PolicyStatusControllerV1
60 - HealthCheckRestControllerV1
61 summary: Perform healthcheck
62 description: Returns healthy status of the Policy Administration component
63 operationId: healthcheck
66 description: OK, serialized instance of
67 [HealthCheckReport](https://github.com/onap/policy-common/blob/master/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/report/HealthCheckReport.java)
85 $ref: '#/components/schemas/HealthCheckReport'
88 $ref: '#/components/schemas/HealthCheckReport'
90 description: Authentication Error
92 description: Authorization Error
94 description: Not Found
96 description: Internal Server Error
102 - PdpGroupHealthCheckControllerV1
103 summary: Returns health status of all PDPs registered with PAP
104 description: Queries health status of all PDPs, returning all pdps health status
105 operationId: pdpGroupHealthCheck
107 - name: X-ONAP-RequestID
109 description: RequestID for http transaction
116 description: OK, health check result of the PDPs in a serialised instance of
117 [Pdps](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/Pdps.java)
121 $ref: '#/components/schemas/Pdps'
124 $ref: '#/components/schemas/Pdps'
126 description: Authentication Error
129 description: Used only to communicate an API's latest version
135 Used only to communicate a PATCH version in a response for
136 troubleshooting purposes only, and will not be provided by the
143 Used to request or communicate a MINOR version back from the
144 client to the server, and from the server back to the client
149 description: Used to track REST transactions for logging purpose
155 description: Authorization Error
158 description: Used only to communicate an API's latest version
164 Used only to communicate a PATCH version in a response for
165 troubleshooting purposes only, and will not be provided by the
172 Used to request or communicate a MINOR version back from the
173 client to the server, and from the server back to the client
178 description: Used to track REST transactions for logging purpose
184 description: Not Found
186 description: Internal Server Error
189 description: Used only to communicate an API's latest version
195 Used only to communicate a PATCH version in a response for
196 troubleshooting purposes only, and will not be provided by the
203 Used to request or communicate a MINOR version back from the
204 client to the server, and from the server back to the client
209 description: Used to track REST transactions for logging purpose
218 last-mod-release: Dublin
222 - PdpGroupCreateOrUpdateControllerV1
223 summary: Create or update PDP Groups
225 Create or update one or more PDP Groups, returning optional error
227 operationId: createOrUpdateGroups
229 - name: X-ONAP-RequestID
231 description: RequestID for http transaction
237 description: The PDP groups to create or update in an instance of
238 [PdpGroups](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroups.java)
242 $ref: '#/components/schemas/PdpGroups'
245 $ref: '#/components/schemas/PdpGroups'
248 description: OK, returning the response in an instance of
249 [PdpGroupUpdateResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupUpdateResponse.java)
253 $ref: '#/components/schemas/PdpGroupUpdateResponse'
256 $ref: '#/components/schemas/PdpGroupUpdateResponse'
258 description: Created, returning the response in an instance of
259 [PdpGroupUpdateResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupUpdateResponse.java)
263 $ref: '#/components/schemas/PdpGroupUpdateResponse'
266 $ref: '#/components/schemas/PdpGroupUpdateResponse'
268 description: Authentication Error
271 description: Used only to communicate an API's latest version
277 Used only to communicate a PATCH version in a response for
278 troubleshooting purposes only, and will not be provided by the
285 Used to request or communicate a MINOR version back from the
286 client to the server, and from the server back to the client
291 description: Used to track REST transactions for logging purpose
297 description: Authorization Error
300 description: Used only to communicate an API's latest version
306 Used only to communicate a PATCH version in a response for
307 troubleshooting purposes only, and will not be provided by the
314 Used to request or communicate a MINOR version back from the
315 client to the server, and from the server back to the client
320 description: Used to track REST transactions for logging purpose
326 description: Not Found
328 description: Internal Server Error
331 description: Used only to communicate an API's latest version
337 Used only to communicate a PATCH version in a response for
338 troubleshooting purposes only, and will not be provided by the
345 Used to request or communicate a MINOR version back from the
346 client to the server, and from the server back to the client
351 description: Used to track REST transactions for logging purpose
360 last-mod-release: Dublin
364 - PdpGroupStateChangeControllerV1
365 summary: Change state of a PDP Group
366 description: Changes state of PDP Group, returning optional error details
367 operationId: changeGroupState
369 - name: X-ONAP-RequestID
371 description: RequestID for http transaction
378 description: PDP Group Name on which to change the state
385 description: PDP Group State, an instance of
386 [PdpState](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/enums/PdpState.java)
390 $ref: '#/components/schemas/PdpState'
393 description: OK, the result of the state shange operation in an instance of
394 [PdpGroupStateChangeResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupStateChangeResponse.java)
398 $ref: '#/components/schemas/PdpGroupStateChangeResponse'
401 $ref: '#/components/schemas/PdpGroupStateChangeResponse'
403 description: Created, the result of the state shange operation in an instance of
404 [PdpGroupStateChangeResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupStateChangeResponse.java)
408 $ref: '#/components/schemas/PdpGroupStateChangeResponse'
411 $ref: '#/components/schemas/PdpGroupStateChangeResponse'
413 description: Authentication Error
416 description: Used only to communicate an API's latest version
422 Used only to communicate a PATCH version in a response for
423 troubleshooting purposes only, and will not be provided by the
430 Used to request or communicate a MINOR version back from the
431 client to the server, and from the server back to the client
436 description: Used to track REST transactions for logging purpose
442 description: Authorization Error
445 description: Used only to communicate an API's latest version
451 Used only to communicate a PATCH version in a response for
452 troubleshooting purposes only, and will not be provided by the
459 Used to request or communicate a MINOR version back from the
460 client to the server, and from the server back to the client
465 description: Used to track REST transactions for logging purpose
471 description: Not Found
473 description: Internal Server Error
476 description: Used only to communicate an API's latest version
482 Used only to communicate a PATCH version in a response for
483 troubleshooting purposes only, and will not be provided by the
490 Used to request or communicate a MINOR version back from the
491 client to the server, and from the server back to the client
496 description: Used to track REST transactions for logging purpose
505 last-mod-release: Dublin
508 - PdpGroupDeleteControllerV1
509 summary: Delete PDP Group
510 description: Deletes a PDP Group, returning optional error details
511 operationId: deleteGroup
513 - name: X-ONAP-RequestID
515 description: RequestID for http transaction
522 description: PDP Group Name
529 description: OK, the result of the delete operation in an instance of
530 [PdpGroupDeleteResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeleteResponse.java)
534 $ref: '#/components/schemas/PdpGroupDeleteResponse'
537 $ref: '#/components/schemas/PdpGroupDeleteResponse'
539 description: No Content
541 description: Authentication Error
544 description: Used only to communicate an API's latest version
550 Used only to communicate a PATCH version in a response for
551 troubleshooting purposes only, and will not be provided by the
558 Used to request or communicate a MINOR version back from the
559 client to the server, and from the server back to the client
564 description: Used to track REST transactions for logging purpose
570 description: Authorization Error
573 description: Used only to communicate an API's latest version
579 Used only to communicate a PATCH version in a response for
580 troubleshooting purposes only, and will not be provided by the
587 Used to request or communicate a MINOR version back from the
588 client to the server, and from the server back to the client
593 description: Used to track REST transactions for logging purpose
599 description: Internal Server Error
602 description: Used only to communicate an API's latest version
608 Used only to communicate a PATCH version in a response for
609 troubleshooting purposes only, and will not be provided by the
616 Used to request or communicate a MINOR version back from the
617 client to the server, and from the server back to the client
622 description: Used to track REST transactions for logging purpose
631 last-mod-release: Dublin
632 /pdps/policies/{name}:
635 - PdpGroupDeleteControllerV1
636 summary: Undeploy a PDP Policy from PDPs
638 Undeploys the latest version of a policy from the PDPs, returning
639 optional error details
640 operationId: deletePolicy
642 - name: X-ONAP-RequestID
644 description: RequestID for http transaction
651 description: PDP Policy Name
658 description: OK, the result of the undeploy operation in an instance of
659 [PdpGroupDeployResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java)
663 $ref: '#/components/schemas/PdpGroupDeployResponse'
666 $ref: '#/components/schemas/PdpGroupDeployResponse'
668 description: No Content
670 description: Authentication Error
673 description: Used only to communicate an API's latest version
679 Used only to communicate a PATCH version in a response for
680 troubleshooting purposes only, and will not be provided by the
687 Used to request or communicate a MINOR version back from the
688 client to the server, and from the server back to the client
693 description: Used to track REST transactions for logging purpose
699 description: Authorization Error
702 description: Used only to communicate an API's latest version
708 Used only to communicate a PATCH version in a response for
709 troubleshooting purposes only, and will not be provided by the
716 Used to request or communicate a MINOR version back from the
717 client to the server, and from the server back to the client
722 description: Used to track REST transactions for logging purpose
728 description: Internal Server Error
731 description: Used only to communicate an API's latest version
737 Used only to communicate a PATCH version in a response for
738 troubleshooting purposes only, and will not be provided by the
745 Used to request or communicate a MINOR version back from the
746 client to the server, and from the server back to the client
751 description: Used to track REST transactions for logging purpose
760 last-mod-release: Dublin
761 /pdps/policies/{name}/versions/{version}:
764 - PdpGroupDeleteControllerV1
765 summary: Undeploy version of a PDP Policy from PDPs
767 Undeploys a specific version of a policy from the PDPs, returning
768 optional error details
769 operationId: deletePolicyVersion
771 - name: X-ONAP-RequestID
773 description: RequestID for http transaction
780 description: PDP Policy Name
787 description: PDP Policy Version
794 description: OK, the result of the undeploy operation in an instance of
795 [PdpGroupDeployResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java)
799 $ref: '#/components/schemas/PdpGroupDeployResponse'
802 $ref: '#/components/schemas/PdpGroupDeployResponse'
804 description: No Content
806 description: Authentication Error
809 description: Used only to communicate an API's latest version
815 Used only to communicate a PATCH version in a response for
816 troubleshooting purposes only, and will not be provided by the
823 Used to request or communicate a MINOR version back from the
824 client to the server, and from the server back to the client
829 description: Used to track REST transactions for logging purpose
835 description: Authorization Error
838 description: Used only to communicate an API's latest version
844 Used only to communicate a PATCH version in a response for
845 troubleshooting purposes only, and will not be provided by the
852 Used to request or communicate a MINOR version back from the
853 client to the server, and from the server back to the client
858 description: Used to track REST transactions for logging purpose
864 description: Internal Server Error
867 description: Used only to communicate an API's latest version
873 Used only to communicate a PATCH version in a response for
874 troubleshooting purposes only, and will not be provided by the
881 Used to request or communicate a MINOR version back from the
882 client to the server, and from the server back to the client
887 description: Used to track REST transactions for logging purpose
896 last-mod-release: Dublin
897 /pdps/deployments/batch:
900 - PdpGroupDeployControllerV1
901 summary: Updates policy deployments within specific PDP groups
903 Updates policy deployments within specific PDP groups, returning
904 optional error details
905 operationId: updateGroupPolicies
907 - name: X-ONAP-RequestID
909 description: RequestID for http transaction
915 description: The Depoloyment Groups to update in an instance of
916 [DeploymentGroups](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/DeploymentGroups.java)
920 $ref: '#/components/schemas/DeploymentGroups'
923 $ref: '#/components/schemas/DeploymentGroups'
926 description: OK, the result of the deploy update operation in an instance of
927 [PdpGroupDeployResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java)
931 $ref: '#/components/schemas/PdpGroupDeployResponse'
934 $ref: '#/components/schemas/PdpGroupDeployResponse'
938 description: Authentication Error
941 description: Used only to communicate an API's latest version
947 Used only to communicate a PATCH version in a response for
948 troubleshooting purposes only, and will not be provided by the
955 Used to request or communicate a MINOR version back from the
956 client to the server, and from the server back to the client
961 description: Used to track REST transactions for logging purpose
967 description: Authorization Error
970 description: Used only to communicate an API's latest version
976 Used only to communicate a PATCH version in a response for
977 troubleshooting purposes only, and will not be provided by the
984 Used to request or communicate a MINOR version back from the
985 client to the server, and from the server back to the client
990 description: Used to track REST transactions for logging purpose
996 description: Not Found
998 description: Internal Server Error
1001 description: Used only to communicate an API's latest version
1007 Used only to communicate a PATCH version in a response for
1008 troubleshooting purposes only, and will not be provided by the
1015 Used to request or communicate a MINOR version back from the
1016 client to the server, and from the server back to the client
1021 description: Used to track REST transactions for logging purpose
1030 last-mod-release: Dublin
1034 - PdpGroupDeployControllerV1
1035 summary: Deploy or update PDP Policies
1036 description: Deploys or updates PDP Policies, returning optional error details
1037 operationId: deployPolicies
1039 - name: X-ONAP-RequestID
1041 description: RequestID for http transaction
1047 description: The deployment details in an instance of
1048 [PdpDeployPolicies](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpDeployPolicies.java)
1052 $ref: '#/components/schemas/PdpDeployPolicies'
1055 $ref: '#/components/schemas/PdpDeployPolicies'
1058 description: OK, the result of the deploy operation in an instance of
1059 [PdpGroupDeployResponse](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java)
1063 $ref: '#/components/schemas/PdpGroupDeployResponse'
1066 $ref: '#/components/schemas/PdpGroupDeployResponse'
1068 description: Created
1070 description: Authentication Error
1073 description: Used only to communicate an API's latest version
1079 Used only to communicate a PATCH version in a response for
1080 troubleshooting purposes only, and will not be provided by the
1087 Used to request or communicate a MINOR version back from the
1088 client to the server, and from the server back to the client
1093 description: Used to track REST transactions for logging purpose
1099 description: Authorization Error
1102 description: Used only to communicate an API's latest version
1108 Used only to communicate a PATCH version in a response for
1109 troubleshooting purposes only, and will not be provided by the
1116 Used to request or communicate a MINOR version back from the
1117 client to the server, and from the server back to the client
1122 description: Used to track REST transactions for logging purpose
1128 description: Not Found
1130 description: Internal Server Error
1133 description: Used only to communicate an API's latest version
1139 Used only to communicate a PATCH version in a response for
1140 troubleshooting purposes only, and will not be provided by the
1147 Used to request or communicate a MINOR version back from the
1148 client to the server, and from the server back to the client
1153 description: Used to track REST transactions for logging purpose
1162 last-mod-release: Dublin
1166 - PdpGroupQueryControllerV1
1167 summary: Query details of all PDP groups
1168 description: Queries details of all PDP groups, returning all group details
1169 operationId: queryGroupDetails
1171 - name: X-ONAP-RequestID
1173 description: RequestID for http transaction
1180 description: OK, details of all PDP groups in an instance of
1181 [PdpGroups](httpshttps://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroups.java)
1185 $ref: '#/components/schemas/PdpGroups'
1188 $ref: '#/components/schemas/PdpGroups'
1190 description: Authentication Error
1193 description: Used only to communicate an API's latest version
1199 Used only to communicate a PATCH version in a response for
1200 troubleshooting purposes only, and will not be provided by the
1207 Used to request or communicate a MINOR version back from the
1208 client to the server, and from the server back to the client
1213 description: Used to track REST transactions for logging purpose
1219 description: Authorization Error
1222 description: Used only to communicate an API's latest version
1228 Used only to communicate a PATCH version in a response for
1229 troubleshooting purposes only, and will not be provided by the
1236 Used to request or communicate a MINOR version back from the
1237 client to the server, and from the server back to the client
1242 description: Used to track REST transactions for logging purpose
1248 description: Not Found
1250 description: Internal Server Error
1253 description: Used only to communicate an API's latest version
1259 Used only to communicate a PATCH version in a response for
1260 troubleshooting purposes only, and will not be provided by the
1267 Used to request or communicate a MINOR version back from the
1268 client to the server, and from the server back to the client
1273 description: Used to track REST transactions for logging purpose
1282 last-mod-release: Dublin
1286 - PolicyAuditControllerV1
1287 summary: Queries audit information for all the policies
1289 Queries audit information for all the policies, returning audit
1290 information for all the policies in the database
1291 operationId: getAllAuditRecords
1293 - name: X-ONAP-RequestID
1295 description: RequestID for http transaction
1302 description: Record count between 1-100
1313 description: Start time in epoch timestamp
1321 description: End time in epoch timestamp
1329 description: OK, audit records for all found policies in an array of instances of
1330 [PolicyAudit](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyAudit.java)
1336 $ref: '#/components/schemas/PolicyAudit'
1341 $ref: '#/components/schemas/PolicyAudit'
1343 description: Authentication Error
1346 description: Used only to communicate an API's latest version
1352 Used only to communicate a PATCH version in a response for
1353 troubleshooting purposes only, and will not be provided by the
1360 Used to request or communicate a MINOR version back from the
1361 client to the server, and from the server back to the client
1366 description: Used to track REST transactions for logging purpose
1372 description: Authorization Error
1375 description: Used only to communicate an API's latest version
1381 Used only to communicate a PATCH version in a response for
1382 troubleshooting purposes only, and will not be provided by the
1389 Used to request or communicate a MINOR version back from the
1390 client to the server, and from the server back to the client
1395 description: Used to track REST transactions for logging purpose
1401 description: Not Found
1403 description: Internal Server Error
1406 description: Used only to communicate an API's latest version
1412 Used only to communicate a PATCH version in a response for
1413 troubleshooting purposes only, and will not be provided by the
1420 Used to request or communicate a MINOR version back from the
1421 client to the server, and from the server back to the client
1426 description: Used to track REST transactions for logging purpose
1435 last-mod-release: Dublin
1436 /policies/audit/{pdpGroupName}:
1439 - PolicyAuditControllerV1
1440 summary: Queries audit information for all the policies in a PdpGroup
1442 Queries audit information for all the policies in a PdpGroup, returning
1443 audit information for all the policies belonging to the PdpGroup
1444 operationId: getAuditRecordsByGroup
1446 - name: X-ONAP-RequestID
1448 description: RequestID for http transaction
1455 description: Record count between 1-100
1466 description: Start time in epoch timestamp
1474 description: End time in epoch timestamp
1480 - name: pdpGroupName
1482 description: PDP Group Name
1489 description: OK, audit records for all found policies in an array of instances of
1490 [PolicyAudit](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyAudit.java)
1499 description: Authentication Error
1502 description: Used only to communicate an API's latest version
1508 Used only to communicate a PATCH version in a response for
1509 troubleshooting purposes only, and will not be provided by the
1516 Used to request or communicate a MINOR version back from the
1517 client to the server, and from the server back to the client
1522 description: Used to track REST transactions for logging purpose
1528 description: Authorization Error
1531 description: Used only to communicate an API's latest version
1537 Used only to communicate a PATCH version in a response for
1538 troubleshooting purposes only, and will not be provided by the
1545 Used to request or communicate a MINOR version back from the
1546 client to the server, and from the server back to the client
1551 description: Used to track REST transactions for logging purpose
1557 description: Not Found
1559 description: Internal Server Error
1562 description: Used only to communicate an API's latest version
1568 Used only to communicate a PATCH version in a response for
1569 troubleshooting purposes only, and will not be provided by the
1576 Used to request or communicate a MINOR version back from the
1577 client to the server, and from the server back to the client
1582 description: Used to track REST transactions for logging purpose
1591 last-mod-release: Dublin
1592 /policies/audit/{pdpGroupName}/{policyName}/{policyVersion}:
1595 - PolicyAuditControllerV1
1597 Queries audit information for a specific version of a policy in a
1600 Queries audit information for a specific version of a policy in a
1601 PdpGroup, returning audit information for the policy belonging to the
1603 operationId: getAuditRecordsOfPolicyinPdpGroup
1605 - name: X-ONAP-RequestID
1607 description: RequestID for http transaction
1614 description: Record count between 1-100
1625 description: Start time in epoch timestamp
1633 description: End time in epoch timestamp
1639 - name: pdpGroupName
1641 description: PDP Group Name
1648 description: Policy Name
1653 - name: policyVersion
1655 description: Policy Version
1662 description: OK, audit records for all found policies in an array of instances of
1663 [PolicyAudit](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyAudit.java)
1672 description: Authentication Error
1675 description: Used only to communicate an API's latest version
1681 Used only to communicate a PATCH version in a response for
1682 troubleshooting purposes only, and will not be provided by the
1689 Used to request or communicate a MINOR version back from the
1690 client to the server, and from the server back to the client
1695 description: Used to track REST transactions for logging purpose
1701 description: Authorization Error
1704 description: Used only to communicate an API's latest version
1710 Used only to communicate a PATCH version in a response for
1711 troubleshooting purposes only, and will not be provided by the
1718 Used to request or communicate a MINOR version back from the
1719 client to the server, and from the server back to the client
1724 description: Used to track REST transactions for logging purpose
1730 description: Not Found
1732 description: Internal Server Error
1735 description: Used only to communicate an API's latest version
1741 Used only to communicate a PATCH version in a response for
1742 troubleshooting purposes only, and will not be provided by the
1749 Used to request or communicate a MINOR version back from the
1750 client to the server, and from the server back to the client
1755 description: Used to track REST transactions for logging purpose
1764 last-mod-release: Dublin
1765 /policies/audit/{policyName}/{policyVersion}:
1768 - PolicyAuditControllerV1
1769 summary: Queries audit information for a specific version of a policy
1771 Queries audit information for a specific version of a policy, returning
1772 audit information for the policy
1773 operationId: getAuditRecordsOfPolicy
1775 - name: X-ONAP-RequestID
1777 description: RequestID for http transaction
1784 description: Record count between 1-100
1795 description: Start time in epoch timestamp
1803 description: End time in epoch timestamp
1811 description: Policy Name
1816 - name: policyVersion
1818 description: Policy Version
1825 description: OK, audit records for all found policies in an array of instances of
1826 [PolicyAudit](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyAudit.java)
1835 description: Authentication Error
1838 description: Used only to communicate an API's latest version
1844 Used only to communicate a PATCH version in a response for
1845 troubleshooting purposes only, and will not be provided by the
1852 Used to request or communicate a MINOR version back from the
1853 client to the server, and from the server back to the client
1858 description: Used to track REST transactions for logging purpose
1864 description: Authorization Error
1867 description: Used only to communicate an API's latest version
1873 Used only to communicate a PATCH version in a response for
1874 troubleshooting purposes only, and will not be provided by the
1881 Used to request or communicate a MINOR version back from the
1882 client to the server, and from the server back to the client
1887 description: Used to track REST transactions for logging purpose
1893 description: Not Found
1895 description: Internal Server Error
1898 description: Used only to communicate an API's latest version
1904 Used only to communicate a PATCH version in a response for
1905 troubleshooting purposes only, and will not be provided by the
1912 Used to request or communicate a MINOR version back from the
1913 client to the server, and from the server back to the client
1918 description: Used to track REST transactions for logging purpose
1927 last-mod-release: Dublin
1928 /components/healthcheck:
1931 - PolicyComponentsHealthCheckControllerV1
1933 Returns health status of all policy components, including PAP, API,
1934 Distribution, and PDPs
1936 Queries health status of all policy components, returning all policy
1937 components health status
1938 operationId: policyComponentsHealthCheck
1940 - name: X-ONAP-RequestID
1942 description: RequestID for http transaction
1949 description: OK, a map of health check reports keyed by PDP names, where each map entry
1950 value is an instance of
1951 [HealthCheckReport](https://github.com/onap/policy-common/blob/master/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/report/HealthCheckReport.java)
1956 additionalProperties:
1961 additionalProperties:
1964 description: Authentication Error
1967 description: Used only to communicate an API's latest version
1973 Used only to communicate a PATCH version in a response for
1974 troubleshooting purposes only, and will not be provided by the
1981 Used to request or communicate a MINOR version back from the
1982 client to the server, and from the server back to the client
1987 description: Used to track REST transactions for logging purpose
1993 description: Authorization Error
1996 description: Used only to communicate an API's latest version
2002 Used only to communicate a PATCH version in a response for
2003 troubleshooting purposes only, and will not be provided by the
2010 Used to request or communicate a MINOR version back from the
2011 client to the server, and from the server back to the client
2016 description: Used to track REST transactions for logging purpose
2022 description: Not Found
2024 description: Internal Server Error
2027 description: Used only to communicate an API's latest version
2033 Used only to communicate a PATCH version in a response for
2034 troubleshooting purposes only, and will not be provided by the
2041 Used to request or communicate a MINOR version back from the
2042 client to the server, and from the server back to the client
2047 description: Used to track REST transactions for logging purpose
2056 last-mod-release: Dublin
2060 - PolicyStatusControllerV1
2061 summary: Queries status of all deployed policies
2063 Queries status of all deployed policies, returning success and failure
2065 operationId: queryAllDeployedPolicies
2067 - name: X-ONAP-RequestID
2069 description: RequestID for http transaction
2076 description: Regex for a policy name
2083 description: OK, status of all found policies in an array of instances of
2084 [PolicyStatus](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyStatus.java)
2093 description: Authentication Error
2096 description: Used only to communicate an API's latest version
2102 Used only to communicate a PATCH version in a response for
2103 troubleshooting purposes only, and will not be provided by the
2110 Used to request or communicate a MINOR version back from the
2111 client to the server, and from the server back to the client
2116 description: Used to track REST transactions for logging purpose
2122 description: Authorization Error
2125 description: Used only to communicate an API's latest version
2131 Used only to communicate a PATCH version in a response for
2132 troubleshooting purposes only, and will not be provided by the
2139 Used to request or communicate a MINOR version back from the
2140 client to the server, and from the server back to the client
2145 description: Used to track REST transactions for logging purpose
2151 description: Not Found
2153 description: Internal Server Error
2156 description: Used only to communicate an API's latest version
2162 Used only to communicate a PATCH version in a response for
2163 troubleshooting purposes only, and will not be provided by the
2170 Used to request or communicate a MINOR version back from the
2171 client to the server, and from the server back to the client
2176 description: Used to track REST transactions for logging purpose
2185 last-mod-release: Dublin
2186 /policies/deployed/{name}:
2189 - PolicyStatusControllerV1
2190 summary: Queries status of specific deployed policies
2192 Queries status of specific deployed policies, returning success and
2193 failure counts of the PDPs
2194 operationId: queryDeployedPolicies
2198 description: Policy Id
2203 - name: X-ONAP-RequestID
2205 description: RequestID for http transaction
2212 description: OK, status of all found policies in an array of instances of
2213 [PolicyStatus](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyStatus.java)
2222 description: Authentication Error
2225 description: Used only to communicate an API's latest version
2231 Used only to communicate a PATCH version in a response for
2232 troubleshooting purposes only, and will not be provided by the
2239 Used to request or communicate a MINOR version back from the
2240 client to the server, and from the server back to the client
2245 description: Used to track REST transactions for logging purpose
2251 description: Authorization Error
2254 description: Used only to communicate an API's latest version
2260 Used only to communicate a PATCH version in a response for
2261 troubleshooting purposes only, and will not be provided by the
2268 Used to request or communicate a MINOR version back from the
2269 client to the server, and from the server back to the client
2274 description: Used to track REST transactions for logging purpose
2280 description: Not Found
2282 description: Internal Server Error
2285 description: Used only to communicate an API's latest version
2291 Used only to communicate a PATCH version in a response for
2292 troubleshooting purposes only, and will not be provided by the
2299 Used to request or communicate a MINOR version back from the
2300 client to the server, and from the server back to the client
2305 description: Used to track REST transactions for logging purpose
2314 last-mod-release: Dublin
2315 /policies/deployed/{name}/{version}:
2318 - PolicyStatusControllerV1
2319 summary: Queries status of a specific deployed policy
2321 Queries status of a specific deployed policy, returning success and
2322 failure counts of the PDPs
2323 operationId: queryDeployedPolicy
2327 description: Policy Id
2334 description: Policy Version
2339 - name: X-ONAP-RequestID
2341 description: RequestID for http transaction
2348 description: OK, status of all found policies in an array of instances of
2349 [PolicyStatus](https://github.com/onap/policy-models/blob/master/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PolicyStatus.java)
2358 description: Authentication Error
2361 description: Used only to communicate an API's latest version
2367 Used only to communicate a PATCH version in a response for
2368 troubleshooting purposes only, and will not be provided by the
2375 Used to request or communicate a MINOR version back from the
2376 client to the server, and from the server back to the client
2381 description: Used to track REST transactions for logging purpose
2387 description: Authorization Error
2390 description: Used only to communicate an API's latest version
2396 Used only to communicate a PATCH version in a response for
2397 troubleshooting purposes only, and will not be provided by the
2404 Used to request or communicate a MINOR version back from the
2405 client to the server, and from the server back to the client
2410 description: Used to track REST transactions for logging purpose
2416 description: Not Found
2418 description: Internal Server Error
2421 description: Used only to communicate an API's latest version
2427 Used only to communicate a PATCH version in a response for
2428 troubleshooting purposes only, and will not be provided by the
2435 Used to request or communicate a MINOR version back from the
2436 client to the server, and from the server back to the client
2441 description: Used to track REST transactions for logging purpose
2450 last-mod-release: Dublin
2454 - PolicyStatusControllerV1
2455 summary: Queries status of policies in all PdpGroups
2457 Queries status of policies in all PdpGroups, returning status of
2458 policies in all the PDPs belonging to all PdpGroups
2459 operationId: getStatusOfAllPolicies
2461 - name: X-ONAP-RequestID
2463 description: RequestID for http transaction
2470 description: OK, status of all found policies in the queried PDP groups an array of instances of
2471 [PdpPolicyStatus](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpPolicyStatus.java)
2480 description: Authentication Error
2483 description: Used only to communicate an API's latest version
2489 Used only to communicate a PATCH version in a response for
2490 troubleshooting purposes only, and will not be provided by the
2497 Used to request or communicate a MINOR version back from the
2498 client to the server, and from the server back to the client
2503 description: Used to track REST transactions for logging purpose
2509 description: Authorization Error
2512 description: Used only to communicate an API's latest version
2518 Used only to communicate a PATCH version in a response for
2519 troubleshooting purposes only, and will not be provided by the
2526 Used to request or communicate a MINOR version back from the
2527 client to the server, and from the server back to the client
2532 description: Used to track REST transactions for logging purpose
2538 description: Not Found
2540 description: Internal Server Error
2543 description: Used only to communicate an API's latest version
2549 Used only to communicate a PATCH version in a response for
2550 troubleshooting purposes only, and will not be provided by the
2557 Used to request or communicate a MINOR version back from the
2558 client to the server, and from the server back to the client
2563 description: Used to track REST transactions for logging purpose
2572 last-mod-release: Dublin
2573 /policies/status/{pdpGroupName}:
2576 - PolicyStatusControllerV1
2577 summary: Queries status of policies in a specific PdpGroup
2579 Queries status of policies in a specific PdpGroup, returning status of
2580 policies in all the PDPs belonging to the PdpGroup
2581 operationId: getStatusOfPoliciesByGroup
2583 - name: pdpGroupName
2585 description: PDP Group Name
2590 - name: X-ONAP-RequestID
2592 description: RequestID for http transaction
2599 description: Regex for a policy name
2606 description: OK, status of all found policies in the queried PDP groups an array of instances of
2607 [PdpPolicyStatus](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpPolicyStatus.java)
2616 description: Authentication Error
2619 description: Used only to communicate an API's latest version
2625 Used only to communicate a PATCH version in a response for
2626 troubleshooting purposes only, and will not be provided by the
2633 Used to request or communicate a MINOR version back from the
2634 client to the server, and from the server back to the client
2639 description: Used to track REST transactions for logging purpose
2645 description: Authorization Error
2648 description: Used only to communicate an API's latest version
2654 Used only to communicate a PATCH version in a response for
2655 troubleshooting purposes only, and will not be provided by the
2662 Used to request or communicate a MINOR version back from the
2663 client to the server, and from the server back to the client
2668 description: Used to track REST transactions for logging purpose
2674 description: Not Found
2676 description: Internal Server Error
2679 description: Used only to communicate an API's latest version
2685 Used only to communicate a PATCH version in a response for
2686 troubleshooting purposes only, and will not be provided by the
2693 Used to request or communicate a MINOR version back from the
2694 client to the server, and from the server back to the client
2699 description: Used to track REST transactions for logging purpose
2708 last-mod-release: Dublin
2709 /policies/status/{pdpGroupName}/{policyName}:
2712 - PolicyStatusControllerV1
2714 Queries status of all versions of a specific policy in a specific
2717 Queries status of all versions of a specific policy in a specific
2718 PdpGroup, returning status of all versions of the policy in the PDPs
2719 belonging to the PdpGroup
2720 operationId: getStatusOfPolicies
2722 - name: pdpGroupName
2724 description: PDP Group Name
2731 description: Policy Id
2736 - name: X-ONAP-RequestID
2738 description: RequestID for http transaction
2745 description: OK, status of all found policies in the queried PDP groups an array of instances of
2746 [PdpPolicyStatus](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpPolicyStatus.java)
2755 description: Authentication Error
2758 description: Used only to communicate an API's latest version
2764 Used only to communicate a PATCH version in a response for
2765 troubleshooting purposes only, and will not be provided by the
2772 Used to request or communicate a MINOR version back from the
2773 client to the server, and from the server back to the client
2778 description: Used to track REST transactions for logging purpose
2784 description: Authorization Error
2787 description: Used only to communicate an API's latest version
2793 Used only to communicate a PATCH version in a response for
2794 troubleshooting purposes only, and will not be provided by the
2801 Used to request or communicate a MINOR version back from the
2802 client to the server, and from the server back to the client
2807 description: Used to track REST transactions for logging purpose
2813 description: Not Found
2815 description: Internal Server Error
2818 description: Used only to communicate an API's latest version
2824 Used only to communicate a PATCH version in a response for
2825 troubleshooting purposes only, and will not be provided by the
2832 Used to request or communicate a MINOR version back from the
2833 client to the server, and from the server back to the client
2838 description: Used to track REST transactions for logging purpose
2847 last-mod-release: Dublin
2848 /policies/status/{pdpGroupName}/{policyName}/{policyVersion}:
2851 - PolicyStatusControllerV1
2853 Queries status of a specific version of a specific policy in a specific
2856 Queries status of a specific version of a specific policy in a specific
2857 PdpGroup, returning status of the policy in the PDPs belonging to the
2859 operationId: getStatusOfPolicy
2861 - name: pdpGroupName
2863 description: PDP Group Name
2870 description: Policy Id
2875 - name: policyVersion
2877 description: Policy Version
2882 - name: X-ONAP-RequestID
2884 description: RequestID for http transaction
2891 description: OK, status of all found policies in the queried PDP groups an array of instances of
2892 [PdpPolicyStatus](https://github.com/onap/policy-models/blob/master/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpPolicyStatus.java)
2901 description: Authentication Error
2904 description: Used only to communicate an API's latest version
2910 Used only to communicate a PATCH version in a response for
2911 troubleshooting purposes only, and will not be provided by the
2918 Used to request or communicate a MINOR version back from the
2919 client to the server, and from the server back to the client
2924 description: Used to track REST transactions for logging purpose
2930 description: Authorization Error
2933 description: Used only to communicate an API's latest version
2939 Used only to communicate a PATCH version in a response for
2940 troubleshooting purposes only, and will not be provided by the
2947 Used to request or communicate a MINOR version back from the
2948 client to the server, and from the server back to the client
2953 description: Used to track REST transactions for logging purpose
2959 description: Not Found
2961 description: Internal Server Error
2964 description: Used only to communicate an API's latest version
2970 Used only to communicate a PATCH version in a response for
2971 troubleshooting purposes only, and will not be provided by the
2978 Used to request or communicate a MINOR version back from the
2979 client to the server, and from the server back to the client
2984 description: Used to track REST transactions for logging purpose
2993 last-mod-release: Dublin
3001 title: HealthCheckReport
3009 PdpGroupUpdateResponse:
3010 title: PdpGroupUpdateResponse
3012 PdpGroupStateChangeResponse:
3013 title: PdpGroupStateChangeResponse
3015 PdpGroupDeleteResponse:
3016 title: PdpGroupDeleteResponse
3018 PdpGroupDeployResponse:
3019 title: PdpGroupDeployResponse
3022 title: DeploymentGroups
3025 title: PdpDeployPolicies