lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
saul.gill | adfe6d2 | 2023-01-10 11:11:08 +0000 | [diff] [blame] | 2 | # Copyright (C) 2022-2023 Nordix Foundation |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 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 |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 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. |
| 15 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | openapi: 3.0.1 |
| 19 | info: |
| 20 | title: Api Documentation |
| 21 | description: Api Documentation |
| 22 | termsOfService: urn:tos |
| 23 | contact: {} |
| 24 | license: |
| 25 | name: Apache 2.0 |
| 26 | url: http://www.apache.org/licenses/LICENSE-2.0 |
| 27 | version: "1.0" |
| 28 | servers: |
| 29 | - url: https://{server} |
| 30 | variables: |
| 31 | server: |
| 32 | default: onap/acm/v3 |
| 33 | description: This value is assigned by the service provider |
| 34 | tags: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 35 | - name: Participant Monitoring |
| 36 | description: Pariticipant Monitoring Controller, for monitoring of and requesting information from participants |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 37 | - name: Automation Composition Definition |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 38 | description: Automation Composition Definition Controller, for definition and management of Automation Composition Types |
| 39 | - name: Automation Composition Instance |
| 40 | description: Automation Composition Instance Controller, for definition and management of Automation Composition Instances |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 41 | |
| 42 | paths: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 43 | /participants: |
| 44 | get: |
| 45 | tags: |
| 46 | - Participant Monitoring |
| 47 | summary: Query Particicpants |
| 48 | description: Query the participants that are registered on the ACM runtime |
| 49 | operationId: queryParticipants |
| 50 | parameters: |
| 51 | - name: name |
| 52 | in: query |
| 53 | required: false |
| 54 | description: Automation composition definition name. Regular expressions are supported for filtering. If |
| 55 | this parameter is not specified, all automation composition definitions are returned. |
| 56 | schema: |
| 57 | type: string |
| 58 | - name: version |
| 59 | in: query |
| 60 | required: false |
| 61 | description: Automation composition definition version. Regular expressions are supported for filtering. If this |
| 62 | parameter is not specified, all automation composition definitions that match the "name" filter are are returned. |
| 63 | schema: |
| 64 | type: string |
| 65 | - name: X-onap-RequestId |
| 66 | in: header |
| 67 | description: RequestID for http transaction |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 68 | schema: |
| 69 | type: string |
| 70 | format: uuid |
| 71 | responses: |
| 72 | 200: |
| 73 | description: OK, serialised array of instances of |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 74 | [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java) |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 75 | that contains information on participants with their information and status. Each participant entry contains |
| 76 | a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element |
| 77 | instances on the Participant. |
| 78 | headers: |
| 79 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 80 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 81 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 82 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 83 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 84 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 85 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 86 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 87 | content: |
| 88 | application/json: |
| 89 | schema: |
| 90 | type: array |
| 91 | items: |
| 92 | $ref: '#/components/schemas/ParticipantInformation' |
| 93 | example: |
saul.gill | 3398b96 | 2023-09-27 11:14:19 +0100 | [diff] [blame] | 94 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.json' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 95 | application/yaml: |
| 96 | schema: |
| 97 | type: array |
| 98 | items: |
| 99 | $ref: '#/components/schemas/ParticipantInformation' |
| 100 | example: |
saul.gill | 3398b96 | 2023-09-27 11:14:19 +0100 | [diff] [blame] | 101 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 102 | 401: |
| 103 | description: Authentication Error, returns an instance of |
| 104 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 105 | headers: |
| 106 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 107 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 108 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 109 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 110 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 111 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 112 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 113 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 114 | content: |
| 115 | application/json: |
| 116 | schema: |
| 117 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 118 | 500: |
| 119 | description: Internal Server Error, returns an instance of |
| 120 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 121 | headers: |
| 122 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 123 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 124 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 125 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 126 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 127 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 128 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 129 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 130 | content: |
| 131 | application/json: |
| 132 | schema: |
| 133 | $ref: '#/components/schemas/SimpleResponse' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 134 | security: |
| 135 | - basicAuth: [] |
| 136 | x-interface info: |
| 137 | api-version: 1.0.0 |
| 138 | last-mod-release: London |
| 139 | put: |
| 140 | tags: |
| 141 | - Participant Monitoring |
| 142 | summary: Order an immendiate Participant Report from all participants |
| 143 | description: Requests all participants to immediately generate a heartbeat report with their information and status |
| 144 | and the information and status of all their AC Element Types and Instances. The results are published on subsequent |
| 145 | GET REST requests on the "participants" endpoint. |
saul.gill | adfe6d2 | 2023-01-10 11:11:08 +0000 | [diff] [blame] | 146 | operationId: orderAllParticipantsReport |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 147 | parameters: |
| 148 | - name: X-onap-RequestId |
| 149 | in: header |
| 150 | description: RequestID for http transaction |
| 151 | schema: |
| 152 | type: string |
| 153 | format: uuid |
| 154 | responses: |
| 155 | 202: |
| 156 | description: Accepted, the request has been accepted and forwarded to participants |
| 157 | headers: |
| 158 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 159 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 160 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 161 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 162 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 163 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 164 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 165 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 166 | 400: |
| 167 | description: Bad Request, returns an instance of |
| 168 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 169 | headers: |
| 170 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 171 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 172 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 173 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 174 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 175 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 176 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 177 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 178 | content: |
| 179 | application/json: |
| 180 | schema: |
| 181 | $ref: '#/components/schemas/SimpleResponse' |
| 182 | 401: |
| 183 | description: Authentication Error, returns an instance of |
| 184 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 185 | headers: |
| 186 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 187 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 188 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 189 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 190 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 191 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 192 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 193 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 194 | content: |
| 195 | application/json: |
| 196 | schema: |
| 197 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 198 | 500: |
| 199 | description: Internal Server Error, returns an instance of |
| 200 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 201 | headers: |
| 202 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 203 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 204 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 205 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 206 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 207 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 208 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 209 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 210 | content: |
| 211 | application/json: |
| 212 | schema: |
| 213 | $ref: '#/components/schemas/SimpleResponse' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 214 | security: |
| 215 | - basicAuth: [] |
| 216 | x-interface info: |
| 217 | api-version: 1.0.0 |
| 218 | last-mod-release: London |
| 219 | x-codegen-request-body-name: body |
| 220 | /participants/{participantId}: |
| 221 | get: |
| 222 | tags: |
| 223 | - Participant Monitoring |
| 224 | summary: Get details of the requested participant |
| 225 | definitions |
| 226 | description: Get details of the requested commissioned participant, returning all pariticipant details |
| 227 | operationId: getParticipant |
| 228 | parameters: |
| 229 | - name : participantId |
| 230 | in: path |
| 231 | description: The UUID of the participant to get |
| 232 | required: true |
| 233 | schema: |
| 234 | type: string |
| 235 | format: uuid |
| 236 | - name: X-onap-RequestId |
| 237 | in: header |
| 238 | description: RequestID for http transaction |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 239 | schema: |
| 240 | type: string |
| 241 | format: uuid |
| 242 | responses: |
| 243 | 200: |
| 244 | description: Serialised instance of |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 245 | [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java) |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 246 | that information on the participant with its information and status. The participant entry contains |
| 247 | a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element |
| 248 | instances on the Participant. |
| 249 | headers: |
| 250 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 251 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 252 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 253 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 254 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 255 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 256 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 257 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 258 | content: |
| 259 | application/json: |
| 260 | schema: |
| 261 | $ref: '#/components/schemas/ParticipantInformation' |
| 262 | example: |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 263 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.json' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 264 | application/yaml: |
| 265 | schema: |
| 266 | $ref: '#/components/schemas/ToscaServiceTemplate' |
| 267 | example: |
saul.gill | 3398b96 | 2023-09-27 11:14:19 +0100 | [diff] [blame] | 268 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 269 | 401: |
| 270 | description: Authentication Error, returns an instance of |
| 271 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 272 | headers: |
| 273 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 274 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 275 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 276 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 277 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 278 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 279 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 280 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 281 | content: |
| 282 | application/json: |
| 283 | schema: |
| 284 | $ref: '#/components/schemas/SimpleResponse' |
| 285 | 404: |
| 286 | description: Specified participant not found, returns an instance of |
| 287 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 288 | headers: |
| 289 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 290 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 291 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 292 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 293 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 294 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 295 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 296 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 297 | content: |
| 298 | application/json: |
| 299 | schema: |
| 300 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 301 | 500: |
| 302 | description: Internal Server Error, returns an instance of |
| 303 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 304 | headers: |
| 305 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 306 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 307 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 308 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 309 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 310 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 311 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 312 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 313 | content: |
| 314 | application/json: |
| 315 | schema: |
| 316 | $ref: '#/components/schemas/SimpleResponse' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 317 | security: |
| 318 | - basicAuth: [] |
| 319 | x-interface info: |
| 320 | api-version: 1.0.0 |
| 321 | last-mod-release: London |
| 322 | put: |
| 323 | tags: |
| 324 | - Participant Monitoring |
| 325 | summary: Order an immendiate Participant Report from a participant |
| 326 | description: Requests the participants to immediately generate a heartbeat report with its information and status |
| 327 | and the information and status of all its AC Element Types and Instances. The results are published on subsequent |
| 328 | GET REST requests on the "participants" endpoint. |
| 329 | operationId: orderParticipantReport |
| 330 | parameters: |
| 331 | - name : participantId |
| 332 | in: path |
| 333 | description: The UUID of the participant to get |
| 334 | required: true |
| 335 | schema: |
| 336 | type: string |
| 337 | format: uuid |
| 338 | - name: X-onap-RequestId |
| 339 | in: header |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 340 | description: RequestID for http transaction |
| 341 | schema: |
| 342 | type: string |
| 343 | format: uuid |
| 344 | responses: |
| 345 | 202: |
| 346 | description: Accepted, the request has been accepted and forwarded to participants |
| 347 | headers: |
| 348 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 349 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 350 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 351 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 352 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 353 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 354 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 355 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 356 | 400: |
| 357 | description: Bad Request, returns an instance of |
| 358 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 359 | headers: |
| 360 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 361 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 362 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 363 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 364 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 365 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 366 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 367 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 368 | content: |
| 369 | application/json: |
| 370 | schema: |
| 371 | $ref: '#/components/schemas/SimpleResponse' |
| 372 | 401: |
| 373 | description: Authentication Error, returns an instance of |
| 374 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 375 | headers: |
| 376 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 377 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 378 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 379 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 380 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 381 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 382 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 383 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 384 | content: |
| 385 | application/json: |
| 386 | schema: |
| 387 | $ref: '#/components/schemas/SimpleResponse' |
| 388 | 404: |
| 389 | description: Specified participant not found, returns an instance of |
| 390 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 391 | headers: |
| 392 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 393 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 394 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 395 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 396 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 397 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 398 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 399 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 400 | content: |
| 401 | application/json: |
| 402 | schema: |
| 403 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 404 | 500: |
| 405 | description: Internal Server Error, returns an instance of |
| 406 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 407 | headers: |
| 408 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 409 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 410 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 411 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 412 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 413 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 414 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 415 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 416 | content: |
| 417 | application/json: |
| 418 | schema: |
| 419 | $ref: '#/components/schemas/SimpleResponse' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 420 | security: |
| 421 | - basicAuth: [] |
| 422 | x-interface info: |
| 423 | api-version: 1.0.0 |
| 424 | last-mod-release: London |
| 425 | x-codegen-request-body-name: body |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 426 | /compositions: |
| 427 | get: |
| 428 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 429 | - Automation Composition Definition |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 430 | summary: Query the commissioned automation composition definitions |
| 431 | definitions |
| 432 | description: Query the commissioned automation composition |
| 433 | definitions, returning the automation composition details |
| 434 | operationId: queryCompositionDefinitions |
| 435 | parameters: |
| 436 | - name: name |
| 437 | in: query |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 438 | required: false |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 439 | description: Automation composition definition name. Regular expressions are supported for filtering. If |
| 440 | this parameter is not specified, all automation composition definitions are returned. |
| 441 | schema: |
| 442 | type: string |
| 443 | - name: version |
| 444 | in: query |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 445 | required: false |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 446 | description: Automation composition definition version. Regular expressions are supported for filtering. If this |
| 447 | parameter is not specified, all automation composition definitions that match the "name" filter are are returned. |
| 448 | schema: |
| 449 | type: string |
| 450 | - name: X-onap-RequestId |
| 451 | in: header |
| 452 | description: RequestID for http transaction |
| 453 | schema: |
| 454 | type: string |
| 455 | format: uuid |
| 456 | responses: |
| 457 | 200: |
| 458 | description: Serialised instance of |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 459 | [ToscaServiceTemplates](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplates.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 460 | that contains the automation composition definitions that match the requested filters. |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 461 | headers: |
| 462 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 463 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 464 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 465 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 466 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 467 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 468 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 469 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 470 | content: |
| 471 | application/json: |
| 472 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 473 | $ref: '#/components/schemas/ToscaServiceTemplates' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 474 | example: |
| 475 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.json' |
| 476 | application/yaml: |
| 477 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 478 | $ref: '#/components/schemas/ToscaServiceTemplates' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 479 | example: |
| 480 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.yaml' |
| 481 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 482 | description: Authentication Error, returns an instance of |
| 483 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 484 | headers: |
| 485 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 486 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 487 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 488 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 489 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 490 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 491 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 492 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 493 | content: |
| 494 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 495 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 496 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 497 | 500: |
| 498 | description: Internal Server Error, returns an instance of |
| 499 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 500 | headers: |
| 501 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 502 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 503 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 504 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 505 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 506 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 507 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 508 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 509 | content: |
| 510 | application/json: |
| 511 | schema: |
| 512 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 513 | security: |
| 514 | - basicAuth: [] |
| 515 | x-interface info: |
| 516 | api-version: 1.0.0 |
| 517 | last-mod-release: London |
| 518 | post: |
| 519 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 520 | - Automation Composition Definition |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 521 | summary: Commissions automation composition definitions |
| 522 | description: Commissions automation composition definitions, returning the UUIDs of |
| 523 | automation composition definitions commissioned by this request. |
| 524 | operationId: createCompositionDefinitions |
| 525 | parameters: |
| 526 | - name: X-onap-RequestId |
| 527 | in: header |
| 528 | description: RequestID for http transaction |
| 529 | schema: |
| 530 | type: string |
| 531 | format: uuid |
| 532 | requestBody: |
| 533 | description: Serialised instance of |
| 534 | [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java) |
| 535 | containing the automation composition definitions to be commissioned. |
| 536 | content: |
| 537 | application/json: |
| 538 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 539 | $ref: '#/components/schemas/ToscaServiceTemplate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 540 | example: |
| 541 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.json' |
| 542 | application/yaml: |
| 543 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 544 | $ref: '#/components/schemas/ToscaServiceTemplate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 545 | example: |
| 546 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml' |
| 547 | required: true |
| 548 | responses: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 549 | 201: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 550 | description: Serialised instance of |
| 551 | [CommissioningResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/CommissioningResponse.java) |
| 552 | containing the UUIDs of automation composition definitions created by this request |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 553 | headers: |
| 554 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 555 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 556 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 557 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 558 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 559 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 560 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 561 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 562 | content: |
| 563 | application/json: |
| 564 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 565 | $ref: '#/components/schemas/CommissioningResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 566 | example: |
| 567 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.json' |
| 568 | application/yaml: |
| 569 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 570 | $ref: '#/components/schemas/CommissioningResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 571 | example: |
| 572 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 573 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 574 | description: Authentication Error, returns an instance of |
| 575 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 576 | headers: |
| 577 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 578 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 579 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 580 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 581 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 582 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 583 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 584 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 585 | content: |
| 586 | application/json: |
| 587 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 588 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 589 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 590 | description: Bad Request, returns an instance of |
| 591 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 592 | headers: |
| 593 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 594 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 595 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 596 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 597 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 598 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 599 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 600 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 601 | content: |
| 602 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 603 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 604 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 605 | 500: |
| 606 | description: Internal Server Error, returns an instance of |
| 607 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 608 | headers: |
| 609 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 610 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 611 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 612 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 613 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 614 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 615 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 616 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 617 | content: |
| 618 | application/json: |
| 619 | schema: |
| 620 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 621 | security: |
| 622 | - basicAuth: [] |
| 623 | x-interface info: |
| 624 | api-version: 1.0.0 |
| 625 | last-mod-release: London |
| 626 | x-codegen-request-body-name: body |
| 627 | /compositions/{compositionId}: |
| 628 | get: |
| 629 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 630 | - Automation Composition Definition |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 631 | summary: Get details of the requested commissioned automation composition |
| 632 | definitions |
| 633 | description: Get details of the requested commissioned automation composition |
| 634 | definitions, returning all automation composition details |
| 635 | operationId: getCompositionDefinition |
| 636 | parameters: |
| 637 | - name : compositionId |
| 638 | in: path |
| 639 | description: The UUID of the automation composition definition to get |
| 640 | required: true |
| 641 | schema: |
| 642 | type: string |
| 643 | format: uuid |
| 644 | - name: X-onap-RequestId |
| 645 | in: header |
| 646 | description: RequestID for http transaction |
| 647 | schema: |
| 648 | type: string |
| 649 | format: uuid |
| 650 | responses: |
| 651 | 200: |
| 652 | description: |
| 653 | Serialised instance of |
FrancescoFioraEst | db615d9 | 2023-01-24 16:27:21 +0000 | [diff] [blame] | 654 | [AutomationCompositionDefinition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositionDefinition.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 655 | containing the requested automation composition definition. |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 656 | headers: |
| 657 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 658 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 659 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 660 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 661 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 662 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 663 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 664 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 665 | content: |
| 666 | application/json: |
| 667 | schema: |
FrancescoFioraEst | db615d9 | 2023-01-24 16:27:21 +0000 | [diff] [blame] | 668 | $ref: '#/components/schemas/AutomationCompositionDefinition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 669 | example: |
| 670 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.json' |
| 671 | application/yaml: |
| 672 | schema: |
FrancescoFioraEst | db615d9 | 2023-01-24 16:27:21 +0000 | [diff] [blame] | 673 | $ref: '#/components/schemas/AutomationCompositionDefinition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 674 | example: |
| 675 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.yaml' |
| 676 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 677 | description: Authentication Error, returns an instance of |
| 678 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 679 | headers: |
| 680 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 681 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 682 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 683 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 684 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 685 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 686 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 687 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 688 | content: |
| 689 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 690 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 691 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 692 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 693 | description: Specified automation composition definition not found, returns an instance of |
| 694 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 695 | headers: |
| 696 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 697 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 698 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 699 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 700 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 701 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 702 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 703 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 704 | content: |
| 705 | application/json: |
| 706 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 707 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 708 | 500: |
| 709 | description: Internal Server Error, returns an instance of |
| 710 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 711 | headers: |
| 712 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 713 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 714 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 715 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 716 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 717 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 718 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 719 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 720 | content: |
| 721 | application/json: |
| 722 | schema: |
| 723 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 724 | security: |
| 725 | - basicAuth: [] |
| 726 | x-interface info: |
| 727 | api-version: 1.0.0 |
| 728 | last-mod-release: London |
| 729 | put: |
| 730 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 731 | - Automation Composition Definition |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 732 | summary: Primes or deprimes an automation composition definition |
| 733 | description: Primes or deprimes an automation composition definition by sending the AC Element Types to participants and |
| 734 | getting participants to take responsibility for AC Element Types in this AC Type. |
| 735 | operationId: compositionDefinitionPriming |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 736 | parameters: |
| 737 | - name : compositionId |
| 738 | in: path |
| 739 | description: The UUID of the automation composition definition to update |
| 740 | required: true |
| 741 | schema: |
| 742 | type: string |
| 743 | format: uuid |
| 744 | - name: X-onap-RequestId |
| 745 | in: header |
| 746 | description: RequestID for http transaction |
| 747 | schema: |
| 748 | type: string |
| 749 | format: uuid |
| 750 | requestBody: |
| 751 | description: Serialised instance of |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 752 | [AcTypeStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/AcTypeStateUpdate.java) |
| 753 | which specifies the requested state change on the automation concept instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 754 | content: |
| 755 | application/json: |
| 756 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 757 | $ref: '#/components/schemas/AcTypeStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 758 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 759 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 760 | application/yaml: |
| 761 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 762 | $ref: '#/components/schemas/AcTypeStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 763 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 764 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 765 | responses: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 766 | 202: |
| 767 | description: Accepted, the request has been accepted and forwarded to participants |
| 768 | headers: |
| 769 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 770 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 771 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 772 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 773 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 774 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 775 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 776 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 777 | 400: |
| 778 | description: Bad Request, returns an instance of |
| 779 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 780 | headers: |
| 781 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 782 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 783 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 784 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 785 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 786 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 787 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 788 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 789 | content: |
| 790 | application/json: |
| 791 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 792 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 793 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 794 | description: Authentication Error, returns an instance of |
| 795 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 796 | headers: |
| 797 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 798 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 799 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 800 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 801 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 802 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 803 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 804 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 805 | content: |
| 806 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 807 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 808 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 809 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 810 | description: Specified automation composition definition not found, returns an instance of |
| 811 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 812 | headers: |
| 813 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 814 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 815 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 816 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 817 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 818 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 819 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 820 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 821 | content: |
| 822 | application/json: |
| 823 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 824 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 825 | 500: |
| 826 | description: Internal Server Error, returns an instance of |
| 827 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 828 | headers: |
| 829 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 830 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 831 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 832 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 833 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 834 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 835 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 836 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 837 | content: |
| 838 | application/json: |
| 839 | schema: |
| 840 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 841 | security: |
| 842 | - basicAuth: [] |
| 843 | x-interface info: |
| 844 | api-version: 1.0.0 |
| 845 | last-mod-release: London |
| 846 | x-codegen-request-body-name: body |
| 847 | delete: |
| 848 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 849 | - Automation Composition Definition |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 850 | summary: Delete a commissioned automation composition definition |
| 851 | description: Deletes a commissioned automation composition definition,returning the UUID of the automation composition definition deleted by this request |
| 852 | operationId: deleteCompositionDefinition |
| 853 | parameters: |
| 854 | - name : compositionId |
| 855 | in: path |
| 856 | description: The UUID of the automation composition definition to delete |
| 857 | required: true |
| 858 | schema: |
| 859 | type: string |
| 860 | format: uuid |
| 861 | - name: X-onap-RequestId |
| 862 | in: header |
| 863 | description: RequestID for http transaction |
| 864 | schema: |
| 865 | type: string |
| 866 | format: uuid |
| 867 | responses: |
| 868 | 200: |
| 869 | description: Serialised instance of |
| 870 | [CommissioningResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/CommissioningResponse.java) |
| 871 | containing the UUID of the automation composition deleted by this request |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 872 | headers: |
| 873 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 874 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 875 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 876 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 877 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 878 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 879 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 880 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 881 | content: |
| 882 | application/json: |
| 883 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 884 | $ref: '#/components/schemas/CommissioningResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 885 | example: |
| 886 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.json' |
| 887 | application/yaml: |
| 888 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 889 | $ref: '#/components/schemas/CommissioningResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 890 | example: |
| 891 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.yaml' |
| 892 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 893 | description: Authentication Error, returns an instance of |
| 894 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 895 | headers: |
| 896 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 897 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 898 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 899 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 900 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 901 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 902 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 903 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 904 | content: |
| 905 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 906 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 907 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 908 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 909 | description: Specified automation composition definition not found, returns an instance of |
| 910 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 911 | headers: |
| 912 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 913 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 914 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 915 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 916 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 917 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 918 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 919 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 920 | content: |
| 921 | application/json: |
| 922 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 923 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 924 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 925 | description: Bad Request, returns an instance of |
| 926 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 927 | headers: |
| 928 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 929 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 930 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 931 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 932 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 933 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 934 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 935 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 936 | content: |
| 937 | application/json: |
| 938 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 939 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 940 | 500: |
| 941 | description: Internal Server Error, returns an instance of |
| 942 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 943 | headers: |
| 944 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 945 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 946 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 947 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 948 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 949 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 950 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 951 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 952 | content: |
| 953 | application/json: |
| 954 | schema: |
| 955 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 956 | security: |
| 957 | - basicAuth: [] |
| 958 | x-interface info: |
| 959 | api-version: 1.0.0 |
| 960 | last-mod-release: London |
| 961 | /compositions/{compositionId}/instances: |
| 962 | get: |
| 963 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 964 | - Automation Composition Instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 965 | summary: Query details of the requested automation composition instances |
| 966 | description: Query details of the requested automation composition instances for the given automation composition definition ID, returning |
| 967 | details of all its automation composition instances |
| 968 | operationId: queryCompositionInstances |
| 969 | parameters: |
| 970 | - name : compositionId |
| 971 | in: path |
| 972 | description: The UUID of the automation composition definition for which to return instances |
| 973 | required: true |
| 974 | schema: |
| 975 | type: string |
| 976 | format: uuid |
| 977 | - name: name |
| 978 | in: query |
| 979 | description: Automation composition instance name. Regular expressions are supported for filtering. If |
| 980 | this parameter is not specified, all automation composition instances for the specified definition are returned. |
| 981 | schema: |
| 982 | type: string |
| 983 | - name: version |
| 984 | in: query |
| 985 | description: Automation composition instance version. Regular expressions are supported for filtering. If this |
| 986 | parameter is not specified, all automation composition instances for the specified definition that match the "name" filter are are returned. |
| 987 | schema: |
| 988 | type: string |
| 989 | - name: X-onap-RequestId |
| 990 | in: header |
| 991 | description: RequestID for http transaction |
| 992 | schema: |
| 993 | type: string |
| 994 | format: uuid |
| 995 | responses: |
| 996 | 200: |
| 997 | description: Serialised instance of |
| 998 | [AutomationCompositions](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositions.java) |
| 999 | containing a list of automation composition instances found |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1000 | headers: |
| 1001 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1002 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1003 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1004 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1005 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1006 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1007 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1008 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1009 | content: |
| 1010 | application/json: |
| 1011 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1012 | $ref: '#/components/schemas/AutomationCompositions' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1013 | example: |
rameshiyer27 | 5a92f5d | 2023-09-22 15:46:30 +0100 | [diff] [blame^] | 1014 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1015 | application/yaml: |
| 1016 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1017 | $ref: '#/components/schemas/AutomationCompositions' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1018 | example: |
rameshiyer27 | 5a92f5d | 2023-09-22 15:46:30 +0100 | [diff] [blame^] | 1019 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1020 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1021 | description: Authentication Error, returns an instance of |
| 1022 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1023 | headers: |
| 1024 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1025 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1026 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1027 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1028 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1029 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1030 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1031 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1032 | content: |
| 1033 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1034 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1035 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1036 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1037 | description: The specified automation composition definition was not found, returns an instance of |
| 1038 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1039 | headers: |
| 1040 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1041 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1042 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1043 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1044 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1045 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1046 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1047 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1048 | content: |
| 1049 | application/json: |
| 1050 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1051 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1052 | 500: |
| 1053 | description: Internal Server Error, returns an instance of |
| 1054 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1055 | headers: |
| 1056 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1057 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1058 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1059 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1060 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1061 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1062 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1063 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1064 | content: |
| 1065 | application/json: |
| 1066 | schema: |
| 1067 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1068 | security: |
| 1069 | - basicAuth: [] |
| 1070 | x-interface info: |
| 1071 | api-version: 1.0.0 |
| 1072 | last-mod-release: London |
| 1073 | post: |
| 1074 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1075 | - Automation Composition Instance |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1076 | summary: Create or Update automation composition instance |
| 1077 | description: Creates or updates an automation composition instance that uses the specified automation composition definition. The ID of the created |
| 1078 | automation composition instance is returned. In the case of an update, the instanceId should be included in the request body. |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1079 | operationId: createCompositionInstance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1080 | parameters: |
| 1081 | - name : compositionId |
| 1082 | in: path |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1083 | description: The UUID of the automation composition definition on which to create/update instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1084 | required: true |
| 1085 | schema: |
| 1086 | type: string |
| 1087 | format: uuid |
| 1088 | - name: X-onap-RequestId |
| 1089 | in: header |
| 1090 | description: RequestID for http transaction |
| 1091 | schema: |
| 1092 | type: string |
| 1093 | format: uuid |
| 1094 | requestBody: |
| 1095 | description: Serialised instance of |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1096 | [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java) |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1097 | containing a automation composition instance to create/update |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1098 | content: |
| 1099 | application/json: |
| 1100 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1101 | $ref: '#/components/schemas/AutomationComposition' |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1102 | examples: |
| 1103 | createValue: |
| 1104 | name: create |
| 1105 | value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json' |
| 1106 | updateValue: |
| 1107 | name: update |
| 1108 | value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1109 | application/yaml: |
| 1110 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1111 | $ref: '#/components/schemas/AutomationComposition' |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1112 | examples: |
| 1113 | createValue: |
| 1114 | name: create |
| 1115 | value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.yaml' |
| 1116 | updateValue: |
| 1117 | name: update |
| 1118 | value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1119 | required: true |
| 1120 | responses: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1121 | 201: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1122 | description: Serialised instance of |
| 1123 | [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java) |
saul.gill | 0d14e57 | 2023-08-29 15:22:21 +0100 | [diff] [blame] | 1124 | containing the UUID of the created/updated automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1125 | headers: |
| 1126 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1127 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1128 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1129 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1130 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1131 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1132 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1133 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1134 | content: |
| 1135 | application/json: |
| 1136 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1137 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1138 | example: |
saul.gill | 3398b96 | 2023-09-27 11:14:19 +0100 | [diff] [blame] | 1139 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1140 | application/yaml: |
| 1141 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1142 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1143 | example: |
saul.gill | 3398b96 | 2023-09-27 11:14:19 +0100 | [diff] [blame] | 1144 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1145 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1146 | description: Authentication Error, returns an instance of |
| 1147 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1148 | headers: |
| 1149 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1150 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1151 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1152 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1153 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1154 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1155 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1156 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1157 | content: |
| 1158 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1159 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1160 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1161 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1162 | description: The specified automation composition definition was not found, returns an instance of |
| 1163 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1164 | headers: |
| 1165 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1166 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1167 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1168 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1169 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1170 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1171 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1172 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1173 | content: |
| 1174 | application/json: |
| 1175 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1176 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1177 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1178 | description: Bad Request, returns an instance of |
| 1179 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1180 | headers: |
| 1181 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1182 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1183 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1184 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1185 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1186 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1187 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1188 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1189 | content: |
| 1190 | application/json: |
| 1191 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1192 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1193 | 500: |
| 1194 | description: Internal Server Error, returns an instance of |
| 1195 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1196 | headers: |
| 1197 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1198 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1199 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1200 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1201 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1202 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1203 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1204 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1205 | content: |
| 1206 | application/json: |
| 1207 | schema: |
| 1208 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1209 | security: |
| 1210 | - basicAuth: [] |
| 1211 | x-interface info: |
| 1212 | api-version: 1.0.0 |
| 1213 | last-mod-release: London |
| 1214 | x-codegen-request-body-name: body |
| 1215 | /compositions/{compositionId}/instances/{instanceId}: |
| 1216 | get: |
| 1217 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1218 | - Automation Composition Instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1219 | summary: Get automation composition instance details. |
| 1220 | description: Get details of the requested automation composition instance. |
| 1221 | operationId: getCompositionInstance |
| 1222 | parameters: |
| 1223 | - name : compositionId |
| 1224 | in: path |
| 1225 | description: The UUID of the automation composition definition on which to get an instance |
| 1226 | required: true |
| 1227 | schema: |
| 1228 | type: string |
| 1229 | format: uuid |
| 1230 | - name : instanceId |
| 1231 | in: path |
| 1232 | description: The UUID of the automation composition instance to get |
| 1233 | required: true |
| 1234 | schema: |
| 1235 | type: string |
| 1236 | format: uuid |
| 1237 | - name: X-onap-RequestId |
| 1238 | in: header |
| 1239 | description: RequestID for http transaction |
| 1240 | schema: |
| 1241 | type: string |
| 1242 | format: uuid |
| 1243 | responses: |
| 1244 | 200: |
| 1245 | description: Serialised instance of |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1246 | [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java) |
| 1247 | containing the automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1248 | headers: |
| 1249 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1250 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1251 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1252 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1253 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1254 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1255 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1256 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1257 | content: |
| 1258 | application/json: |
| 1259 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1260 | $ref: '#/components/schemas/AutomationComposition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1261 | example: |
| 1262 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json' |
| 1263 | application/yaml: |
| 1264 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1265 | $ref: '#/components/schemas/AutomationComposition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1266 | example: |
| 1267 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml' |
| 1268 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1269 | description: Authentication Error, returns an instance of |
| 1270 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1271 | headers: |
| 1272 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1273 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1274 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1275 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1276 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1277 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1278 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1279 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1280 | content: |
| 1281 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1282 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1283 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1284 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1285 | description: The automation composition instance was not found, returns an instance of |
| 1286 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1287 | headers: |
| 1288 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1289 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1290 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1291 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1292 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1293 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1294 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1295 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1296 | content: |
| 1297 | application/json: |
| 1298 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1299 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1300 | 500: |
| 1301 | description: Internal Server Error, returns an instance of |
| 1302 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1303 | headers: |
| 1304 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1305 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1306 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1307 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1308 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1309 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1310 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1311 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1312 | content: |
| 1313 | application/json: |
| 1314 | schema: |
| 1315 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1316 | security: |
| 1317 | - basicAuth: [] |
| 1318 | x-interface info: |
| 1319 | api-version: 1.0.0 |
| 1320 | last-mod-release: London |
| 1321 | put: |
| 1322 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1323 | - Automation Composition Instance |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1324 | summary: Manage deployment and locking of an automation composition instance |
| 1325 | description: This request manages deployment and locking of an automation composition instance. This endpoint can |
| 1326 | order deployment and undeployment of an AC Instance to participants and order unlocking and locking of AC instances |
| 1327 | on participants |
FrancescoFioraEst | a76f561 | 2023-01-03 16:15:39 +0000 | [diff] [blame] | 1328 | operationId: compositionInstanceState |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1329 | parameters: |
| 1330 | - name : compositionId |
| 1331 | in: path |
| 1332 | description: The UUID of the automation composition definition on which to update an instance |
| 1333 | required: true |
| 1334 | schema: |
| 1335 | type: string |
| 1336 | format: uuid |
| 1337 | - name : instanceId |
| 1338 | in: path |
| 1339 | description: The UUID of the automation composition instance to update |
| 1340 | required: true |
| 1341 | schema: |
| 1342 | type: string |
| 1343 | format: uuid |
| 1344 | - name: X-onap-RequestId |
| 1345 | in: header |
| 1346 | description: RequestID for http transaction |
| 1347 | schema: |
| 1348 | type: string |
| 1349 | format: uuid |
| 1350 | requestBody: |
| 1351 | description: Serialised instance of |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1352 | [AcInstanceStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/AcInstanceStateUpdate.java) |
| 1353 | which specifies the requested state change on the automation concept instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1354 | content: |
| 1355 | application/json: |
| 1356 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1357 | $ref: '#/components/schemas/AcInstanceStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1358 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1359 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1360 | application/yaml: |
| 1361 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1362 | $ref: '#/components/schemas/AcInstanceStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1363 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1364 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1365 | required: true |
| 1366 | responses: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1367 | 202: |
| 1368 | description: Accepted, the request has been accepted and forwarded to participants |
| 1369 | headers: |
| 1370 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1371 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1372 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1373 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1374 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1375 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1376 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1377 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1378 | 400: |
| 1379 | description: Bad Request, returns an instance of |
| 1380 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1381 | headers: |
| 1382 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1383 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1384 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1385 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1386 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1387 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1388 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1389 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1390 | content: |
| 1391 | application/json: |
| 1392 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1393 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1394 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1395 | description: Authentication Error, returns an instance of |
| 1396 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1397 | headers: |
| 1398 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1399 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1400 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1401 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1402 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1403 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1404 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1405 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1406 | content: |
| 1407 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1408 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1409 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1410 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1411 | description: The specified automation composition instance was not found, returns an instance of |
| 1412 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1413 | headers: |
| 1414 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1415 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1416 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1417 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1418 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1419 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1420 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1421 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1422 | content: |
| 1423 | application/json: |
| 1424 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1425 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1426 | 500: |
| 1427 | description: Internal Server Error, returns an instance of |
| 1428 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1429 | headers: |
| 1430 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1431 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1432 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1433 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1434 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1435 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1436 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1437 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1438 | content: |
| 1439 | application/json: |
| 1440 | schema: |
| 1441 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1442 | security: |
| 1443 | - basicAuth: [] |
| 1444 | x-interface info: |
| 1445 | api-version: 1.0.0 |
| 1446 | last-mod-release: London |
| 1447 | x-codegen-request-body-name: body |
| 1448 | delete: |
| 1449 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1450 | - Automation Composition Instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1451 | summary: Delete an automation composition instance |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1452 | description: Order a deletion of an automation composition instance, returning the UUID of the automation composition instance to be deleted |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1453 | operationId: deleteCompositionInstance |
| 1454 | parameters: |
| 1455 | - name : compositionId |
| 1456 | in: path |
| 1457 | description: The UUID of the automation composition definition on which to delete an instance |
| 1458 | required: true |
| 1459 | schema: |
| 1460 | type: string |
| 1461 | format: uuid |
| 1462 | - name : instanceId |
| 1463 | in: path |
| 1464 | description: The UUID of the automation composition instance to delete |
| 1465 | required: true |
| 1466 | schema: |
| 1467 | type: string |
| 1468 | format: uuid |
| 1469 | - name: X-onap-RequestId |
| 1470 | in: header |
| 1471 | description: RequestID for http transaction |
| 1472 | schema: |
| 1473 | type: string |
| 1474 | format: uuid |
| 1475 | responses: |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1476 | 202: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1477 | description: Serialised instance of |
| 1478 | [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java) |
| 1479 | containing the UUID of the deleted automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1480 | headers: |
| 1481 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1482 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1483 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1484 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1485 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1486 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1487 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1488 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1489 | content: |
| 1490 | application/json: |
| 1491 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1492 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1493 | example: |
| 1494 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.json' |
| 1495 | application/yaml: |
| 1496 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1497 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1498 | example: |
| 1499 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.yaml' |
| 1500 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1501 | description: Authentication Error, returns an instance of |
| 1502 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1503 | headers: |
| 1504 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1505 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1506 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1507 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1508 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1509 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1510 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1511 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1512 | content: |
| 1513 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1514 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1515 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1516 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1517 | description: The specified automation composition instance was not found, returns an instance of |
| 1518 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1519 | headers: |
| 1520 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1521 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1522 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1523 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1524 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1525 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1526 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1527 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1528 | content: |
| 1529 | application/json: |
| 1530 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1531 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1532 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1533 | description: Bad Request, returns an instance of |
| 1534 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1535 | headers: |
| 1536 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1537 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1538 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1539 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1540 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1541 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1542 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1543 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1544 | content: |
| 1545 | application/json: |
| 1546 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1547 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1548 | 500: |
| 1549 | description: Internal Server Error, returns an instance of |
| 1550 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1551 | headers: |
| 1552 | X-LatestVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1553 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1554 | X-PatchVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1555 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1556 | X-MinorVersion: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1557 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1558 | X-onap-RequestId: |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1559 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1560 | content: |
| 1561 | application/json: |
| 1562 | schema: |
| 1563 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1564 | security: |
| 1565 | - basicAuth: [] |
| 1566 | x-interface info: |
| 1567 | api-version: 1.0.0 |
| 1568 | last-mod-release: London |
| 1569 | |
| 1570 | components: |
| 1571 | securitySchemes: |
| 1572 | basicAuth: |
| 1573 | type: http |
| 1574 | scheme: basic |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1575 | schemas: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1576 | ParticipantInformation: |
| 1577 | title: ParticipantInformation |
| 1578 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1579 | ToscaServiceTemplates: |
| 1580 | title: ToscaServiceTemplates |
| 1581 | type: object |
| 1582 | ToscaServiceTemplate: |
| 1583 | title: ToscaServiceTemplate |
| 1584 | type: object |
FrancescoFioraEst | db615d9 | 2023-01-24 16:27:21 +0000 | [diff] [blame] | 1585 | AutomationCompositionDefinition: |
| 1586 | title: AutomationCompositionDefinition |
| 1587 | type: object |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1588 | AutomationComposition: |
| 1589 | title: AutomationComposition |
| 1590 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1591 | AutomationCompositions: |
| 1592 | title: AutomationCompositions |
| 1593 | type: object |
| 1594 | SimpleResponse: |
| 1595 | title: SimpleResponse |
| 1596 | type: object |
| 1597 | CommissioningResponse: |
| 1598 | title: CommissioningResponse |
| 1599 | type: object |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1600 | AcTypeStateUpdate: |
| 1601 | title: AcTypeStateUpdate |
| 1602 | type: object |
| 1603 | AcInstanceStateUpdate: |
| 1604 | title: AcInstanceStateUpdate |
FrancescoFioraEst | 5e0f791 | 2022-12-09 14:38:10 +0000 | [diff] [blame] | 1605 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1606 | InstantiationResponse: |
| 1607 | title: InstantiationResponse |
| 1608 | type: object |
aravind.est | 804e241 | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1609 | headers: |
| 1610 | X-LatestVersion: |
| 1611 | schema: |
| 1612 | type: string |
| 1613 | X-PatchVersion: |
| 1614 | schema: |
| 1615 | type: string |
| 1616 | X-MinorVersion: |
| 1617 | schema: |
| 1618 | type: string |
| 1619 | X-onap-RequestId: |
| 1620 | schema: |
| 1621 | type: string |
| 1622 | format: uuid |