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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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: |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 94 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.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: |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 101 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultiParticipantResponse.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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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: |
lapentafd | f0e3c82 | 2023-04-14 12:41:20 +0100 | [diff] [blame] | 268 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getParticipantResponse.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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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: |
| 1014 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.json' |
| 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: |
| 1019 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.yaml' |
| 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 | 7b322ef | 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 |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1076 | summary: Create automation composition instance |
| 1077 | description: Creates automation composition instance that use the sepcified automation composition definition. The ID of the created |
| 1078 | automation composition instance is returned. |
| 1079 | operationId: createCompositionInstance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1080 | parameters: |
| 1081 | - name : compositionId |
| 1082 | in: path |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1083 | description: The UUID of the automation composition definition on which to create 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) |
| 1097 | containing a automation composition instance to create |
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' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1102 | example: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1103 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1104 | application/yaml: |
| 1105 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1106 | $ref: '#/components/schemas/AutomationComposition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1107 | example: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1108 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1109 | required: true |
| 1110 | responses: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1111 | 201: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1112 | description: Serialised instance of |
| 1113 | [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java) |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1114 | containing the UUID of the created automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1115 | headers: |
| 1116 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1117 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1118 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1119 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1120 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1121 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1122 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1123 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1124 | content: |
| 1125 | application/json: |
| 1126 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1127 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1128 | example: |
| 1129 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.json' |
| 1130 | application/yaml: |
| 1131 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1132 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1133 | example: |
| 1134 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.yaml' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1135 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1136 | description: Authentication Error, returns an instance of |
| 1137 | [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] | 1138 | headers: |
| 1139 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1140 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1141 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1142 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1143 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1144 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1145 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1146 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1147 | content: |
| 1148 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1149 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1150 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1151 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1152 | description: The specified automation composition definition was not found, returns an instance of |
| 1153 | [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] | 1154 | headers: |
| 1155 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1156 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1157 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1158 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1159 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1160 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1161 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1162 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1163 | content: |
| 1164 | application/json: |
| 1165 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1166 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1167 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1168 | description: Bad Request, returns an instance of |
| 1169 | [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] | 1170 | headers: |
| 1171 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1172 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1173 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1174 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1175 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1176 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1177 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1178 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1179 | content: |
| 1180 | application/json: |
| 1181 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1182 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1183 | 500: |
| 1184 | description: Internal Server Error, returns an instance of |
| 1185 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1186 | headers: |
| 1187 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1188 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1189 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1190 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1191 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1192 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1193 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1194 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1195 | content: |
| 1196 | application/json: |
| 1197 | schema: |
| 1198 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1199 | security: |
| 1200 | - basicAuth: [] |
| 1201 | x-interface info: |
| 1202 | api-version: 1.0.0 |
| 1203 | last-mod-release: London |
| 1204 | x-codegen-request-body-name: body |
| 1205 | /compositions/{compositionId}/instances/{instanceId}: |
| 1206 | get: |
| 1207 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1208 | - Automation Composition Instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1209 | summary: Get automation composition instance details. |
| 1210 | description: Get details of the requested automation composition instance. |
| 1211 | operationId: getCompositionInstance |
| 1212 | parameters: |
| 1213 | - name : compositionId |
| 1214 | in: path |
| 1215 | description: The UUID of the automation composition definition on which to get an instance |
| 1216 | required: true |
| 1217 | schema: |
| 1218 | type: string |
| 1219 | format: uuid |
| 1220 | - name : instanceId |
| 1221 | in: path |
| 1222 | description: The UUID of the automation composition instance to get |
| 1223 | required: true |
| 1224 | schema: |
| 1225 | type: string |
| 1226 | format: uuid |
| 1227 | - name: X-onap-RequestId |
| 1228 | in: header |
| 1229 | description: RequestID for http transaction |
| 1230 | schema: |
| 1231 | type: string |
| 1232 | format: uuid |
| 1233 | responses: |
| 1234 | 200: |
| 1235 | description: Serialised instance of |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1236 | [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java) |
| 1237 | containing the automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1238 | headers: |
| 1239 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1240 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1241 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1242 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1243 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1244 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1245 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1246 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1247 | content: |
| 1248 | application/json: |
| 1249 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1250 | $ref: '#/components/schemas/AutomationComposition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1251 | example: |
| 1252 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json' |
| 1253 | application/yaml: |
| 1254 | schema: |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1255 | $ref: '#/components/schemas/AutomationComposition' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1256 | example: |
| 1257 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml' |
| 1258 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1259 | description: Authentication Error, returns an instance of |
| 1260 | [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] | 1261 | headers: |
| 1262 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1263 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1264 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1265 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1266 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1267 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1268 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1269 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1270 | content: |
| 1271 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1272 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1273 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1274 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1275 | description: The automation composition instance was not found, returns an instance of |
| 1276 | [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] | 1277 | headers: |
| 1278 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1279 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1280 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1281 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1282 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1283 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1284 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1285 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1286 | content: |
| 1287 | application/json: |
| 1288 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1289 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1290 | 500: |
| 1291 | description: Internal Server Error, returns an instance of |
| 1292 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1293 | headers: |
| 1294 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1295 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1296 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1297 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1298 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1299 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1300 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1301 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1302 | content: |
| 1303 | application/json: |
| 1304 | schema: |
| 1305 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1306 | security: |
| 1307 | - basicAuth: [] |
| 1308 | x-interface info: |
| 1309 | api-version: 1.0.0 |
| 1310 | last-mod-release: London |
| 1311 | put: |
| 1312 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1313 | - Automation Composition Instance |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1314 | summary: Manage deployment and locking of an automation composition instance |
| 1315 | description: This request manages deployment and locking of an automation composition instance. This endpoint can |
| 1316 | order deployment and undeployment of an AC Instance to participants and order unlocking and locking of AC instances |
| 1317 | on participants |
FrancescoFioraEst | a76f561 | 2023-01-03 16:15:39 +0000 | [diff] [blame] | 1318 | operationId: compositionInstanceState |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1319 | parameters: |
| 1320 | - name : compositionId |
| 1321 | in: path |
| 1322 | description: The UUID of the automation composition definition on which to update an instance |
| 1323 | required: true |
| 1324 | schema: |
| 1325 | type: string |
| 1326 | format: uuid |
| 1327 | - name : instanceId |
| 1328 | in: path |
| 1329 | description: The UUID of the automation composition instance to update |
| 1330 | required: true |
| 1331 | schema: |
| 1332 | type: string |
| 1333 | format: uuid |
| 1334 | - name: X-onap-RequestId |
| 1335 | in: header |
| 1336 | description: RequestID for http transaction |
| 1337 | schema: |
| 1338 | type: string |
| 1339 | format: uuid |
| 1340 | requestBody: |
| 1341 | description: Serialised instance of |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1342 | [AcInstanceStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/AcInstanceStateUpdate.java) |
| 1343 | which specifies the requested state change on the automation concept instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1344 | content: |
| 1345 | application/json: |
| 1346 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1347 | $ref: '#/components/schemas/AcInstanceStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1348 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1349 | 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] | 1350 | application/yaml: |
| 1351 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1352 | $ref: '#/components/schemas/AcInstanceStateUpdate' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1353 | example: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1354 | 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] | 1355 | required: true |
| 1356 | responses: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1357 | 202: |
| 1358 | description: Accepted, the request has been accepted and forwarded to participants |
| 1359 | headers: |
| 1360 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1361 | $ref: '#/components/headers/X-LatestVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1362 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1363 | $ref: '#/components/headers/X-PatchVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1364 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1365 | $ref: '#/components/headers/X-MinorVersion' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1366 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1367 | $ref: '#/components/headers/X-onap-RequestId' |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1368 | 400: |
| 1369 | description: Bad Request, returns an instance of |
| 1370 | [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] | 1371 | headers: |
| 1372 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1373 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1374 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1375 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1376 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1377 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1378 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1379 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1380 | content: |
| 1381 | application/json: |
| 1382 | schema: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1383 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1384 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1385 | description: Authentication Error, returns an instance of |
| 1386 | [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] | 1387 | headers: |
| 1388 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1389 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1390 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1391 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1392 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1393 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1394 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1395 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1396 | content: |
| 1397 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1398 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1399 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1400 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1401 | description: The specified automation composition instance was not found, returns an instance of |
| 1402 | [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] | 1403 | headers: |
| 1404 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1405 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1406 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1407 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1408 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1409 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1410 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1411 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1412 | content: |
| 1413 | application/json: |
| 1414 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1415 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1416 | 500: |
| 1417 | description: Internal Server Error, returns an instance of |
| 1418 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1419 | headers: |
| 1420 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1421 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1422 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1423 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1424 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1425 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1426 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1427 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1428 | content: |
| 1429 | application/json: |
| 1430 | schema: |
| 1431 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1432 | security: |
| 1433 | - basicAuth: [] |
| 1434 | x-interface info: |
| 1435 | api-version: 1.0.0 |
| 1436 | last-mod-release: London |
| 1437 | x-codegen-request-body-name: body |
| 1438 | delete: |
| 1439 | tags: |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1440 | - Automation Composition Instance |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1441 | summary: Delete an automation composition instance |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1442 | 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] | 1443 | operationId: deleteCompositionInstance |
| 1444 | parameters: |
| 1445 | - name : compositionId |
| 1446 | in: path |
| 1447 | description: The UUID of the automation composition definition on which to delete an instance |
| 1448 | required: true |
| 1449 | schema: |
| 1450 | type: string |
| 1451 | format: uuid |
| 1452 | - name : instanceId |
| 1453 | in: path |
| 1454 | description: The UUID of the automation composition instance to delete |
| 1455 | required: true |
| 1456 | schema: |
| 1457 | type: string |
| 1458 | format: uuid |
| 1459 | - name: X-onap-RequestId |
| 1460 | in: header |
| 1461 | description: RequestID for http transaction |
| 1462 | schema: |
| 1463 | type: string |
| 1464 | format: uuid |
| 1465 | responses: |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1466 | 202: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1467 | description: Serialised instance of |
| 1468 | [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java) |
| 1469 | containing the UUID of the deleted automation composition instance |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1470 | headers: |
| 1471 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1472 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1473 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1474 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1475 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1476 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1477 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1478 | $ref: '#/components/headers/X-onap-RequestId' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1479 | content: |
| 1480 | application/json: |
| 1481 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1482 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1483 | example: |
| 1484 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.json' |
| 1485 | application/yaml: |
| 1486 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1487 | $ref: '#/components/schemas/InstantiationResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1488 | example: |
| 1489 | externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.yaml' |
| 1490 | 401: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1491 | description: Authentication Error, returns an instance of |
| 1492 | [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] | 1493 | headers: |
| 1494 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1495 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1496 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1497 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1498 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1499 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1500 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1501 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1502 | content: |
| 1503 | application/json: |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1504 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1505 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1506 | 404: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1507 | description: The specified automation composition instance was not found, returns an instance of |
| 1508 | [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] | 1509 | headers: |
| 1510 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1511 | $ref: '#/components/headers/X-LatestVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1512 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1513 | $ref: '#/components/headers/X-PatchVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1514 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1515 | $ref: '#/components/headers/X-MinorVersion' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1516 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1517 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1518 | content: |
| 1519 | application/json: |
| 1520 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1521 | $ref: '#/components/schemas/SimpleResponse' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1522 | 400: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1523 | description: Bad Request, returns an instance of |
| 1524 | [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] | 1525 | headers: |
| 1526 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1527 | $ref: '#/components/headers/X-LatestVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1528 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1529 | $ref: '#/components/headers/X-PatchVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1530 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1531 | $ref: '#/components/headers/X-MinorVersion' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1532 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1533 | $ref: '#/components/headers/X-onap-RequestId' |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 1534 | content: |
| 1535 | application/json: |
| 1536 | schema: |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1537 | $ref: '#/components/schemas/SimpleResponse' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1538 | 500: |
| 1539 | description: Internal Server Error, returns an instance of |
| 1540 | [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java) |
| 1541 | headers: |
| 1542 | X-LatestVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1543 | $ref: '#/components/headers/X-LatestVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1544 | X-PatchVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1545 | $ref: '#/components/headers/X-PatchVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1546 | X-MinorVersion: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1547 | $ref: '#/components/headers/X-MinorVersion' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1548 | X-onap-RequestId: |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1549 | $ref: '#/components/headers/X-onap-RequestId' |
rameshiyer27 | 478775d | 2023-06-09 13:38:46 +0100 | [diff] [blame] | 1550 | content: |
| 1551 | application/json: |
| 1552 | schema: |
| 1553 | $ref: '#/components/schemas/SimpleResponse' |
lapentafd | 16e6e7e | 2022-11-02 10:08:16 +0000 | [diff] [blame] | 1554 | security: |
| 1555 | - basicAuth: [] |
| 1556 | x-interface info: |
| 1557 | api-version: 1.0.0 |
| 1558 | last-mod-release: London |
| 1559 | |
| 1560 | components: |
| 1561 | securitySchemes: |
| 1562 | basicAuth: |
| 1563 | type: http |
| 1564 | scheme: basic |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1565 | schemas: |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1566 | ParticipantInformation: |
| 1567 | title: ParticipantInformation |
| 1568 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1569 | ToscaServiceTemplates: |
| 1570 | title: ToscaServiceTemplates |
| 1571 | type: object |
| 1572 | ToscaServiceTemplate: |
| 1573 | title: ToscaServiceTemplate |
| 1574 | type: object |
FrancescoFioraEst | db615d9 | 2023-01-24 16:27:21 +0000 | [diff] [blame] | 1575 | AutomationCompositionDefinition: |
| 1576 | title: AutomationCompositionDefinition |
| 1577 | type: object |
FrancescoFioraEst | b5d6289 | 2022-12-01 09:15:22 +0000 | [diff] [blame] | 1578 | AutomationComposition: |
| 1579 | title: AutomationComposition |
| 1580 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1581 | AutomationCompositions: |
| 1582 | title: AutomationCompositions |
| 1583 | type: object |
| 1584 | SimpleResponse: |
| 1585 | title: SimpleResponse |
| 1586 | type: object |
| 1587 | CommissioningResponse: |
| 1588 | title: CommissioningResponse |
| 1589 | type: object |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 1590 | AcTypeStateUpdate: |
| 1591 | title: AcTypeStateUpdate |
| 1592 | type: object |
| 1593 | AcInstanceStateUpdate: |
| 1594 | title: AcInstanceStateUpdate |
FrancescoFioraEst | 5e0f791 | 2022-12-09 14:38:10 +0000 | [diff] [blame] | 1595 | type: object |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 1596 | InstantiationResponse: |
| 1597 | title: InstantiationResponse |
| 1598 | type: object |
aravind.est | 7b322ef | 2023-07-13 14:40:32 +0100 | [diff] [blame] | 1599 | headers: |
| 1600 | X-LatestVersion: |
| 1601 | schema: |
| 1602 | type: string |
| 1603 | X-PatchVersion: |
| 1604 | schema: |
| 1605 | type: string |
| 1606 | X-MinorVersion: |
| 1607 | schema: |
| 1608 | type: string |
| 1609 | X-onap-RequestId: |
| 1610 | schema: |
| 1611 | type: string |
| 1612 | format: uuid |