diff options
author | Dan Timoney <dtimoney@att.com> | 2023-11-22 14:22:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-11-22 14:22:50 +0000 |
commit | 7ae613e5469750773d32bf2e25361f6c73eb150f (patch) | |
tree | 56deb0b2c67390abe1cd9a32b63326d5a88a4368 | |
parent | 8f49f44f5ddc7cf48cf94667379f0f41ff8ecc2d (diff) | |
parent | d533de627b1cd8cf46c76dbe80d84f6cd51290ad (diff) |
Merge "Investigate a nicer way to describe callouts/callbacks in the OpenAPI spec."
-rw-r--r-- | a1-policy-management/api/pms-api.yaml | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/a1-policy-management/api/pms-api.yaml b/a1-policy-management/api/pms-api.yaml index 76176e5a..c6ab05a8 100644 --- a/a1-policy-management/api/pms-api.yaml +++ b/a1-policy-management/api/pms-api.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (C) 2020-2023 Nordix Foundation +# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. # Modifications Copyright (C) 2021 Pantheon.tech # Modifications Copyright (C) 2021 Bell Canada # ================================================================================ @@ -721,6 +722,28 @@ paths: summary: Register a service tags: - Service Registry and Supervision + callbacks: + RICStatus: + "{$request.body#/callback_url}": + post: + description: The URL to this call is registered at Service registration. + operationId: serviceCallback + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/service_callback_info_v2' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/void' + description: OK + summary: Callback for Near-RT RIC status + tags: + - Service callbacks /actuator/info: get: operationId: info @@ -910,26 +933,6 @@ paths: summary: Create or update a policy tags: - A1 Policy Management - /r-app/near-rt-ric-status: - post: - description: The URL to this call is registered at Service registration. - operationId: serviceCallback - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/service_callback_info_v2' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/void' - description: OK - summary: Callback for Near-RT RIC status - tags: - - Service callbacks /a1-policy/v2/services/{service_id}: delete: operationId: deleteService |