blob: 988b9d1643374b32ceacc6f047b54321f3fbe382 [file] [log] [blame]
lapentafd16e6e7e2022-11-02 10:08:16 +00001# ============LICENSE_START=======================================================
saul.gilladfe6d22023-01-10 11:11:08 +00002# Copyright (C) 2022-2023 Nordix Foundation
lapentafd16e6e7e2022-11-02 10:08:16 +00003# ================================================================================
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=========================================================
18openapi: 3.0.1
19info:
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"
28servers:
29 - url: https://{server}
30 variables:
31 server:
32 default: onap/acm/v3
33 description: This value is assigned by the service provider
34tags:
liamfallonf5ebd502022-12-16 10:17:46 +000035- name: Participant Monitoring
36 description: Pariticipant Monitoring Controller, for monitoring of and requesting information from participants
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +000037- name: Automation Composition Definition
liamfallonf5ebd502022-12-16 10:17:46 +000038 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
lapentafd16e6e7e2022-11-02 10:08:16 +000041
42paths:
liamfallonf5ebd502022-12-16 10:17:46 +000043 /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
liamfallonf5ebd502022-12-16 10:17:46 +000068 schema:
69 type: string
70 format: uuid
71 responses:
72 200:
73 description: OK, serialised array of instances of
lapentafdf0e3c822023-04-14 12:41:20 +010074 [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java)
liamfallonf5ebd502022-12-16 10:17:46 +000075 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.est804e2412023-07-13 14:40:32 +010080 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +000081 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +010082 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +000083 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +010084 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +000085 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +010086 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +000087 content:
88 application/json:
89 schema:
90 type: array
91 items:
92 $ref: '#/components/schemas/ParticipantInformation'
93 example:
saul.gill3398b962023-09-27 11:14:19 +010094 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.json'
liamfallonf5ebd502022-12-16 10:17:46 +000095 application/yaml:
96 schema:
97 type: array
98 items:
99 $ref: '#/components/schemas/ParticipantInformation'
100 example:
saul.gill3398b962023-09-27 11:14:19 +0100101 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml'
liamfallonf5ebd502022-12-16 10:17:46 +0000102 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.est804e2412023-07-13 14:40:32 +0100107 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000108 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100109 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000110 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100111 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000112 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100113 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000114 content:
115 application/json:
116 schema:
117 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100118 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.est804e2412023-07-13 14:40:32 +0100123 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100124 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100125 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100126 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100127 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100128 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100129 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100130 content:
131 application/json:
132 schema:
133 $ref: '#/components/schemas/SimpleResponse'
liamfallonf5ebd502022-12-16 10:17:46 +0000134 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.gilladfe6d22023-01-10 11:11:08 +0000146 operationId: orderAllParticipantsReport
liamfallonf5ebd502022-12-16 10:17:46 +0000147 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.est804e2412023-07-13 14:40:32 +0100159 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000160 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100161 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000162 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100163 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000164 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100165 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000166 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.est804e2412023-07-13 14:40:32 +0100171 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000172 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100173 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000174 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100175 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000176 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100177 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000178 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.est804e2412023-07-13 14:40:32 +0100187 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000188 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100189 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000190 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100191 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000192 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100193 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000194 content:
195 application/json:
196 schema:
197 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100198 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.est804e2412023-07-13 14:40:32 +0100203 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100204 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100205 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100206 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100207 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100208 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100209 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100210 content:
211 application/json:
212 schema:
213 $ref: '#/components/schemas/SimpleResponse'
liamfallonf5ebd502022-12-16 10:17:46 +0000214 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
liamfallonf5ebd502022-12-16 10:17:46 +0000239 schema:
240 type: string
241 format: uuid
242 responses:
243 200:
244 description: Serialised instance of
lapentafdf0e3c822023-04-14 12:41:20 +0100245 [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java)
liamfallonf5ebd502022-12-16 10:17:46 +0000246 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.est804e2412023-07-13 14:40:32 +0100251 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000252 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100253 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000254 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100255 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000256 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100257 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000258 content:
259 application/json:
260 schema:
261 $ref: '#/components/schemas/ParticipantInformation'
262 example:
lapentafdf0e3c822023-04-14 12:41:20 +0100263 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.json'
liamfallonf5ebd502022-12-16 10:17:46 +0000264 application/yaml:
265 schema:
266 $ref: '#/components/schemas/ToscaServiceTemplate'
267 example:
saul.gill3398b962023-09-27 11:14:19 +0100268 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml'
liamfallonf5ebd502022-12-16 10:17:46 +0000269 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.est804e2412023-07-13 14:40:32 +0100274 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000275 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100276 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000277 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100278 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000279 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100280 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000281 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.est804e2412023-07-13 14:40:32 +0100290 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000291 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100292 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000293 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100294 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000295 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100296 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000297 content:
298 application/json:
299 schema:
300 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100301 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.est804e2412023-07-13 14:40:32 +0100306 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100307 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100308 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100309 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100310 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100311 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100312 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100313 content:
314 application/json:
315 schema:
316 $ref: '#/components/schemas/SimpleResponse'
liamfallonf5ebd502022-12-16 10:17:46 +0000317 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
liamfallonf5ebd502022-12-16 10:17:46 +0000340 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.est804e2412023-07-13 14:40:32 +0100349 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000350 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100351 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000352 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100353 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000354 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100355 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000356 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.est804e2412023-07-13 14:40:32 +0100361 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000362 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100363 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000364 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100365 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000366 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100367 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000368 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.est804e2412023-07-13 14:40:32 +0100377 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000378 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100379 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000380 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100381 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000382 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100383 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000384 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.est804e2412023-07-13 14:40:32 +0100393 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000394 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100395 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000396 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100397 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000398 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100399 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000400 content:
401 application/json:
402 schema:
403 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100404 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.est804e2412023-07-13 14:40:32 +0100409 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100410 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100411 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100412 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100413 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100414 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100415 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100416 content:
417 application/json:
418 schema:
419 $ref: '#/components/schemas/SimpleResponse'
liamfallonf5ebd502022-12-16 10:17:46 +0000420 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
lapentafd16e6e7e2022-11-02 10:08:16 +0000426 /compositions:
427 get:
428 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000429 - Automation Composition Definition
lapentafd16e6e7e2022-11-02 10:08:16 +0000430 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
liamfallonf5ebd502022-12-16 10:17:46 +0000438 required: false
lapentafd16e6e7e2022-11-02 10:08:16 +0000439 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
liamfallonf5ebd502022-12-16 10:17:46 +0000445 required: false
lapentafd16e6e7e2022-11-02 10:08:16 +0000446 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
liamfallonc998a3a2022-11-11 13:43:16 +0000459 [ToscaServiceTemplates](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplates.java)
lapentafd16e6e7e2022-11-02 10:08:16 +0000460 that contains the automation composition definitions that match the requested filters.
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000461 headers:
462 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100463 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000464 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100465 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000466 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100467 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000468 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100469 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +0000470 content:
471 application/json:
472 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000473 $ref: '#/components/schemas/ToscaServiceTemplates'
lapentafd16e6e7e2022-11-02 10:08:16 +0000474 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:
liamfallonc998a3a2022-11-11 13:43:16 +0000478 $ref: '#/components/schemas/ToscaServiceTemplates'
lapentafd16e6e7e2022-11-02 10:08:16 +0000479 example:
480 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.yaml'
481 401:
liamfallonc998a3a2022-11-11 13:43:16 +0000482 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000484 headers:
485 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100486 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000487 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100488 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000489 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100490 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000491 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100492 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000493 content:
494 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +0000495 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000496 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100497 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.est804e2412023-07-13 14:40:32 +0100502 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100503 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100504 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100505 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100506 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100507 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100508 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100509 content:
510 application/json:
511 schema:
512 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000513 security:
514 - basicAuth: []
515 x-interface info:
516 api-version: 1.0.0
517 last-mod-release: London
518 post:
519 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000520 - Automation Composition Definition
lapentafd16e6e7e2022-11-02 10:08:16 +0000521 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:
liamfallonc998a3a2022-11-11 13:43:16 +0000539 $ref: '#/components/schemas/ToscaServiceTemplate'
lapentafd16e6e7e2022-11-02 10:08:16 +0000540 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:
liamfallonc998a3a2022-11-11 13:43:16 +0000544 $ref: '#/components/schemas/ToscaServiceTemplate'
lapentafd16e6e7e2022-11-02 10:08:16 +0000545 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:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000549 201:
lapentafd16e6e7e2022-11-02 10:08:16 +0000550 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
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000553 headers:
554 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100555 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000556 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100557 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000558 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100559 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000560 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100561 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +0000562 content:
563 application/json:
564 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000565 $ref: '#/components/schemas/CommissioningResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000566 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:
liamfallonc998a3a2022-11-11 13:43:16 +0000570 $ref: '#/components/schemas/CommissioningResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000571 example:
572 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +0000573 401:
liamfallonc998a3a2022-11-11 13:43:16 +0000574 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000576 headers:
577 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100578 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000579 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100580 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000581 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100582 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000583 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100584 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000585 content:
586 application/json:
587 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000588 $ref: '#/components/schemas/SimpleResponse'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000589 400:
liamfallonc998a3a2022-11-11 13:43:16 +0000590 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000592 headers:
593 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100594 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000595 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100596 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000597 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100598 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000599 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100600 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000601 content:
602 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +0000603 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000604 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100605 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.est804e2412023-07-13 14:40:32 +0100610 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100611 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100612 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100613 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100614 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100615 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100616 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100617 content:
618 application/json:
619 schema:
620 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000621 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:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000630 - Automation Composition Definition
lapentafd16e6e7e2022-11-02 10:08:16 +0000631 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
FrancescoFioraEstdb615d92023-01-24 16:27:21 +0000654 [AutomationCompositionDefinition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositionDefinition.java)
lapentafd16e6e7e2022-11-02 10:08:16 +0000655 containing the requested automation composition definition.
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000656 headers:
657 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100658 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000659 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100660 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000661 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100662 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000663 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100664 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +0000665 content:
666 application/json:
667 schema:
FrancescoFioraEstdb615d92023-01-24 16:27:21 +0000668 $ref: '#/components/schemas/AutomationCompositionDefinition'
lapentafd16e6e7e2022-11-02 10:08:16 +0000669 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:
FrancescoFioraEstdb615d92023-01-24 16:27:21 +0000673 $ref: '#/components/schemas/AutomationCompositionDefinition'
lapentafd16e6e7e2022-11-02 10:08:16 +0000674 example:
675 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.yaml'
676 401:
liamfallonc998a3a2022-11-11 13:43:16 +0000677 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000679 headers:
680 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100681 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000682 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100683 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000684 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100685 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000686 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100687 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000688 content:
689 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +0000690 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000691 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000692 404:
liamfallonc998a3a2022-11-11 13:43:16 +0000693 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000695 headers:
696 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100697 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000698 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100699 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000700 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100701 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000702 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100703 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000704 content:
705 application/json:
706 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000707 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100708 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.est804e2412023-07-13 14:40:32 +0100713 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100714 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100715 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100716 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100717 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100718 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100719 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100720 content:
721 application/json:
722 schema:
723 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000724 security:
725 - basicAuth: []
726 x-interface info:
727 api-version: 1.0.0
728 last-mod-release: London
729 put:
730 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000731 - Automation Composition Definition
liamfallonf5ebd502022-12-16 10:17:46 +0000732 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
lapentafd16e6e7e2022-11-02 10:08:16 +0000736 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
liamfallonf5ebd502022-12-16 10:17:46 +0000752 [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
lapentafd16e6e7e2022-11-02 10:08:16 +0000754 content:
755 application/json:
756 schema:
liamfallonf5ebd502022-12-16 10:17:46 +0000757 $ref: '#/components/schemas/AcTypeStateUpdate'
lapentafd16e6e7e2022-11-02 10:08:16 +0000758 example:
liamfallonf5ebd502022-12-16 10:17:46 +0000759 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.json'
lapentafd16e6e7e2022-11-02 10:08:16 +0000760 application/yaml:
761 schema:
liamfallonf5ebd502022-12-16 10:17:46 +0000762 $ref: '#/components/schemas/AcTypeStateUpdate'
lapentafd16e6e7e2022-11-02 10:08:16 +0000763 example:
liamfallonf5ebd502022-12-16 10:17:46 +0000764 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +0000765 responses:
liamfallonf5ebd502022-12-16 10:17:46 +0000766 202:
767 description: Accepted, the request has been accepted and forwarded to participants
768 headers:
769 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100770 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000771 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100772 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000773 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100774 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +0000775 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100776 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +0000777 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)
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000780 headers:
781 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100782 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000783 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100784 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000785 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100786 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000787 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100788 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +0000789 content:
790 application/json:
791 schema:
liamfallonf5ebd502022-12-16 10:17:46 +0000792 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000793 401:
liamfallonc998a3a2022-11-11 13:43:16 +0000794 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000796 headers:
797 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100798 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000799 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100800 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000801 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100802 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000803 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100804 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000805 content:
806 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +0000807 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000808 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000809 404:
liamfallonc998a3a2022-11-11 13:43:16 +0000810 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000812 headers:
813 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100814 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000815 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100816 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000817 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100818 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000819 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100820 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000821 content:
822 application/json:
823 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000824 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100825 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.est804e2412023-07-13 14:40:32 +0100830 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100831 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100832 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100833 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100834 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100835 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100836 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100837 content:
838 application/json:
839 schema:
840 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000841 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:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000849 - Automation Composition Definition
lapentafd16e6e7e2022-11-02 10:08:16 +0000850 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
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000872 headers:
873 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100874 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000875 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100876 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000877 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100878 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000879 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100880 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +0000881 content:
882 application/json:
883 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000884 $ref: '#/components/schemas/CommissioningResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000885 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:
liamfallonc998a3a2022-11-11 13:43:16 +0000889 $ref: '#/components/schemas/CommissioningResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000890 example:
891 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.yaml'
892 401:
liamfallonc998a3a2022-11-11 13:43:16 +0000893 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000895 headers:
896 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100897 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000898 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100899 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000900 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100901 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000902 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100903 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000904 content:
905 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +0000906 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000907 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000908 404:
liamfallonc998a3a2022-11-11 13:43:16 +0000909 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)
lapentafd16e6e7e2022-11-02 10:08:16 +0000911 headers:
912 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100913 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000914 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100915 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000916 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100917 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +0000918 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100919 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000920 content:
921 application/json:
922 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000923 $ref: '#/components/schemas/SimpleResponse'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000924 400:
liamfallonc998a3a2022-11-11 13:43:16 +0000925 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)
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000927 headers:
928 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +0100929 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000930 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100931 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000932 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100933 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000934 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100935 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000936 content:
937 application/json:
938 schema:
liamfallonc998a3a2022-11-11 13:43:16 +0000939 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +0100940 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.est804e2412023-07-13 14:40:32 +0100945 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100946 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +0100947 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100948 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +0100949 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +0100950 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +0100951 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +0100952 content:
953 application/json:
954 schema:
955 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +0000956 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:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000964 - Automation Composition Instance
lapentafd16e6e7e2022-11-02 10:08:16 +0000965 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
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001000 headers:
1001 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001002 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001003 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001004 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001005 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001006 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001007 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001008 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +00001009 content:
1010 application/json:
1011 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001012 $ref: '#/components/schemas/AutomationCompositions'
lapentafd16e6e7e2022-11-02 10:08:16 +00001013 example:
rameshiyer275a92f5d2023-09-22 15:46:30 +01001014 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json'
lapentafd16e6e7e2022-11-02 10:08:16 +00001015 application/yaml:
1016 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001017 $ref: '#/components/schemas/AutomationCompositions'
lapentafd16e6e7e2022-11-02 10:08:16 +00001018 example:
rameshiyer275a92f5d2023-09-22 15:46:30 +01001019 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +00001020 401:
liamfallonc998a3a2022-11-11 13:43:16 +00001021 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)
lapentafd16e6e7e2022-11-02 10:08:16 +00001023 headers:
1024 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001025 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001026 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001027 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001028 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001029 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001030 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001031 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001032 content:
1033 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +00001034 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001035 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001036 404:
liamfallonc998a3a2022-11-11 13:43:16 +00001037 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)
lapentafd16e6e7e2022-11-02 10:08:16 +00001039 headers:
1040 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001041 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001042 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001043 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001044 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001045 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001046 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001047 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001048 content:
1049 application/json:
1050 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001051 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +01001052 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.est804e2412023-07-13 14:40:32 +01001057 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001058 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001059 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001060 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001061 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001062 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001063 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +01001064 content:
1065 application/json:
1066 schema:
1067 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001068 security:
1069 - basicAuth: []
1070 x-interface info:
1071 api-version: 1.0.0
1072 last-mod-release: London
1073 post:
1074 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001075 - Automation Composition Instance
saul.gill0d14e572023-08-29 15:22:21 +01001076 summary: Create or Update automation composition instance
1077 description: Creates or updates an automation composition instance that uses the specified automation composition definition. The ID of the created
1078 automation composition instance is returned. In the case of an update, the instanceId should be included in the request body.
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001079 operationId: createCompositionInstance
lapentafd16e6e7e2022-11-02 10:08:16 +00001080 parameters:
1081 - name : compositionId
1082 in: path
saul.gill0d14e572023-08-29 15:22:21 +01001083 description: The UUID of the automation composition definition on which to create/update instance
lapentafd16e6e7e2022-11-02 10:08:16 +00001084 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
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001096 [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java)
saul.gill0d14e572023-08-29 15:22:21 +01001097 containing a automation composition instance to create/update
lapentafd16e6e7e2022-11-02 10:08:16 +00001098 content:
1099 application/json:
1100 schema:
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001101 $ref: '#/components/schemas/AutomationComposition'
saul.gill0d14e572023-08-29 15:22:21 +01001102 examples:
1103 createValue:
1104 name: create
1105 value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json'
1106 updateValue:
1107 name: update
1108 value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.json'
lapentafd16e6e7e2022-11-02 10:08:16 +00001109 application/yaml:
1110 schema:
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001111 $ref: '#/components/schemas/AutomationComposition'
saul.gill0d14e572023-08-29 15:22:21 +01001112 examples:
1113 createValue:
1114 name: create
1115 value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.yaml'
1116 updateValue:
1117 name: update
1118 value: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +00001119 required: true
1120 responses:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001121 201:
lapentafd16e6e7e2022-11-02 10:08:16 +00001122 description: Serialised instance of
1123 [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java)
saul.gill0d14e572023-08-29 15:22:21 +01001124 containing the UUID of the created/updated automation composition instance
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001125 headers:
1126 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001127 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001128 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001129 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001130 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001131 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001132 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001133 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +00001134 content:
1135 application/json:
1136 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001137 $ref: '#/components/schemas/InstantiationResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001138 example:
saul.gill3398b962023-09-27 11:14:19 +01001139 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.json'
lapentafd16e6e7e2022-11-02 10:08:16 +00001140 application/yaml:
1141 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001142 $ref: '#/components/schemas/InstantiationResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001143 example:
saul.gill3398b962023-09-27 11:14:19 +01001144 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +00001145 401:
liamfallonc998a3a2022-11-11 13:43:16 +00001146 description: Authentication Error, returns an instance of
1147 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001148 headers:
1149 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001150 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001151 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001152 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001153 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001154 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001155 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001156 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001157 content:
1158 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +00001159 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001160 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001161 404:
liamfallonc998a3a2022-11-11 13:43:16 +00001162 description: The specified automation composition definition was not found, returns an instance of
1163 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001164 headers:
1165 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001166 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001167 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001168 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001169 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001170 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001171 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001172 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001173 content:
1174 application/json:
1175 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001176 $ref: '#/components/schemas/SimpleResponse'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001177 400:
liamfallonc998a3a2022-11-11 13:43:16 +00001178 description: Bad Request, returns an instance of
1179 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001180 headers:
1181 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001182 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001183 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001184 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001185 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001186 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001187 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001188 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001189 content:
1190 application/json:
1191 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001192 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +01001193 500:
1194 description: Internal Server Error, returns an instance of
1195 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1196 headers:
1197 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001198 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001199 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001200 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001201 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001202 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001203 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001204 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +01001205 content:
1206 application/json:
1207 schema:
1208 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001209 security:
1210 - basicAuth: []
1211 x-interface info:
1212 api-version: 1.0.0
1213 last-mod-release: London
1214 x-codegen-request-body-name: body
1215 /compositions/{compositionId}/instances/{instanceId}:
1216 get:
1217 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001218 - Automation Composition Instance
lapentafd16e6e7e2022-11-02 10:08:16 +00001219 summary: Get automation composition instance details.
1220 description: Get details of the requested automation composition instance.
1221 operationId: getCompositionInstance
1222 parameters:
1223 - name : compositionId
1224 in: path
1225 description: The UUID of the automation composition definition on which to get an instance
1226 required: true
1227 schema:
1228 type: string
1229 format: uuid
1230 - name : instanceId
1231 in: path
1232 description: The UUID of the automation composition instance to get
1233 required: true
1234 schema:
1235 type: string
1236 format: uuid
1237 - name: X-onap-RequestId
1238 in: header
1239 description: RequestID for http transaction
1240 schema:
1241 type: string
1242 format: uuid
1243 responses:
1244 200:
1245 description: Serialised instance of
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001246 [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java)
1247 containing the automation composition instance
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001248 headers:
1249 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001250 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001251 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001252 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001253 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001254 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001255 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001256 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +00001257 content:
1258 application/json:
1259 schema:
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001260 $ref: '#/components/schemas/AutomationComposition'
lapentafd16e6e7e2022-11-02 10:08:16 +00001261 example:
1262 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json'
1263 application/yaml:
1264 schema:
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001265 $ref: '#/components/schemas/AutomationComposition'
lapentafd16e6e7e2022-11-02 10:08:16 +00001266 example:
1267 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml'
1268 401:
liamfallonc998a3a2022-11-11 13:43:16 +00001269 description: Authentication Error, returns an instance of
1270 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001271 headers:
1272 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001273 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001274 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001275 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001276 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001277 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001278 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001279 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001280 content:
1281 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +00001282 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001283 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001284 404:
liamfallonc998a3a2022-11-11 13:43:16 +00001285 description: The automation composition instance was not found, returns an instance of
1286 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001287 headers:
1288 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001289 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001290 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001291 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001292 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001293 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001294 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001295 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001296 content:
1297 application/json:
1298 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001299 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +01001300 500:
1301 description: Internal Server Error, returns an instance of
1302 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1303 headers:
1304 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001305 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001306 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001307 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001308 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001309 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001310 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001311 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +01001312 content:
1313 application/json:
1314 schema:
1315 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001316 security:
1317 - basicAuth: []
1318 x-interface info:
1319 api-version: 1.0.0
1320 last-mod-release: London
1321 put:
1322 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001323 - Automation Composition Instance
liamfallonf5ebd502022-12-16 10:17:46 +00001324 summary: Manage deployment and locking of an automation composition instance
1325 description: This request manages deployment and locking of an automation composition instance. This endpoint can
1326 order deployment and undeployment of an AC Instance to participants and order unlocking and locking of AC instances
1327 on participants
FrancescoFioraEsta76f5612023-01-03 16:15:39 +00001328 operationId: compositionInstanceState
lapentafd16e6e7e2022-11-02 10:08:16 +00001329 parameters:
1330 - name : compositionId
1331 in: path
1332 description: The UUID of the automation composition definition on which to update an instance
1333 required: true
1334 schema:
1335 type: string
1336 format: uuid
1337 - name : instanceId
1338 in: path
1339 description: The UUID of the automation composition instance to update
1340 required: true
1341 schema:
1342 type: string
1343 format: uuid
1344 - name: X-onap-RequestId
1345 in: header
1346 description: RequestID for http transaction
1347 schema:
1348 type: string
1349 format: uuid
1350 requestBody:
1351 description: Serialised instance of
liamfallonf5ebd502022-12-16 10:17:46 +00001352 [AcInstanceStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/AcInstanceStateUpdate.java)
1353 which specifies the requested state change on the automation concept instance
lapentafd16e6e7e2022-11-02 10:08:16 +00001354 content:
1355 application/json:
1356 schema:
liamfallonf5ebd502022-12-16 10:17:46 +00001357 $ref: '#/components/schemas/AcInstanceStateUpdate'
lapentafd16e6e7e2022-11-02 10:08:16 +00001358 example:
liamfallonf5ebd502022-12-16 10:17:46 +00001359 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.json'
lapentafd16e6e7e2022-11-02 10:08:16 +00001360 application/yaml:
1361 schema:
liamfallonf5ebd502022-12-16 10:17:46 +00001362 $ref: '#/components/schemas/AcInstanceStateUpdate'
lapentafd16e6e7e2022-11-02 10:08:16 +00001363 example:
liamfallonf5ebd502022-12-16 10:17:46 +00001364 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml'
lapentafd16e6e7e2022-11-02 10:08:16 +00001365 required: true
1366 responses:
liamfallonf5ebd502022-12-16 10:17:46 +00001367 202:
1368 description: Accepted, the request has been accepted and forwarded to participants
1369 headers:
1370 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001371 $ref: '#/components/headers/X-LatestVersion'
liamfallonf5ebd502022-12-16 10:17:46 +00001372 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001373 $ref: '#/components/headers/X-PatchVersion'
liamfallonf5ebd502022-12-16 10:17:46 +00001374 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001375 $ref: '#/components/headers/X-MinorVersion'
liamfallonf5ebd502022-12-16 10:17:46 +00001376 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001377 $ref: '#/components/headers/X-onap-RequestId'
liamfallonf5ebd502022-12-16 10:17:46 +00001378 400:
1379 description: Bad Request, returns an instance of
1380 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001381 headers:
1382 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001383 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001384 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001385 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001386 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001387 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001388 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001389 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +00001390 content:
1391 application/json:
1392 schema:
liamfallonf5ebd502022-12-16 10:17:46 +00001393 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001394 401:
liamfallonc998a3a2022-11-11 13:43:16 +00001395 description: Authentication Error, returns an instance of
1396 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001397 headers:
1398 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001399 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001400 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001401 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001402 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001403 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001404 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001405 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001406 content:
1407 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +00001408 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001409 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001410 404:
liamfallonc998a3a2022-11-11 13:43:16 +00001411 description: The specified automation composition instance was not found, returns an instance of
1412 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001413 headers:
1414 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001415 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001416 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001417 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001418 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001419 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001420 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001421 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001422 content:
1423 application/json:
1424 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001425 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +01001426 500:
1427 description: Internal Server Error, returns an instance of
1428 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1429 headers:
1430 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001431 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001432 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001433 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001434 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001435 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001436 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001437 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +01001438 content:
1439 application/json:
1440 schema:
1441 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001442 security:
1443 - basicAuth: []
1444 x-interface info:
1445 api-version: 1.0.0
1446 last-mod-release: London
1447 x-codegen-request-body-name: body
1448 delete:
1449 tags:
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001450 - Automation Composition Instance
lapentafd16e6e7e2022-11-02 10:08:16 +00001451 summary: Delete an automation composition instance
rameshiyer27478775d2023-06-09 13:38:46 +01001452 description: Order a deletion of an automation composition instance, returning the UUID of the automation composition instance to be deleted
lapentafd16e6e7e2022-11-02 10:08:16 +00001453 operationId: deleteCompositionInstance
1454 parameters:
1455 - name : compositionId
1456 in: path
1457 description: The UUID of the automation composition definition on which to delete an instance
1458 required: true
1459 schema:
1460 type: string
1461 format: uuid
1462 - name : instanceId
1463 in: path
1464 description: The UUID of the automation composition instance to delete
1465 required: true
1466 schema:
1467 type: string
1468 format: uuid
1469 - name: X-onap-RequestId
1470 in: header
1471 description: RequestID for http transaction
1472 schema:
1473 type: string
1474 format: uuid
1475 responses:
rameshiyer27478775d2023-06-09 13:38:46 +01001476 202:
lapentafd16e6e7e2022-11-02 10:08:16 +00001477 description: Serialised instance of
1478 [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java)
1479 containing the UUID of the deleted automation composition instance
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001480 headers:
1481 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001482 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001483 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001484 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001485 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001486 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001487 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001488 $ref: '#/components/headers/X-onap-RequestId'
lapentafd16e6e7e2022-11-02 10:08:16 +00001489 content:
1490 application/json:
1491 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001492 $ref: '#/components/schemas/InstantiationResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001493 example:
1494 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.json'
1495 application/yaml:
1496 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001497 $ref: '#/components/schemas/InstantiationResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001498 example:
1499 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.yaml'
1500 401:
liamfallonc998a3a2022-11-11 13:43:16 +00001501 description: Authentication Error, returns an instance of
1502 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001503 headers:
1504 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001505 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001506 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001507 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001508 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001509 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001510 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001511 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001512 content:
1513 application/json:
lapentafd16e6e7e2022-11-02 10:08:16 +00001514 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001515 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001516 404:
liamfallonc998a3a2022-11-11 13:43:16 +00001517 description: The specified automation composition instance was not found, returns an instance of
1518 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
lapentafd16e6e7e2022-11-02 10:08:16 +00001519 headers:
1520 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001521 $ref: '#/components/headers/X-LatestVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001522 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001523 $ref: '#/components/headers/X-PatchVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001524 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001525 $ref: '#/components/headers/X-MinorVersion'
lapentafd16e6e7e2022-11-02 10:08:16 +00001526 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001527 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001528 content:
1529 application/json:
1530 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001531 $ref: '#/components/schemas/SimpleResponse'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001532 400:
liamfallonc998a3a2022-11-11 13:43:16 +00001533 description: Bad Request, returns an instance of
1534 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001535 headers:
1536 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001537 $ref: '#/components/headers/X-LatestVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001538 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001539 $ref: '#/components/headers/X-PatchVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001540 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001541 $ref: '#/components/headers/X-MinorVersion'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001542 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001543 $ref: '#/components/headers/X-onap-RequestId'
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +00001544 content:
1545 application/json:
1546 schema:
liamfallonc998a3a2022-11-11 13:43:16 +00001547 $ref: '#/components/schemas/SimpleResponse'
rameshiyer27478775d2023-06-09 13:38:46 +01001548 500:
1549 description: Internal Server Error, returns an instance of
1550 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1551 headers:
1552 X-LatestVersion:
aravind.est804e2412023-07-13 14:40:32 +01001553 $ref: '#/components/headers/X-LatestVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001554 X-PatchVersion:
aravind.est804e2412023-07-13 14:40:32 +01001555 $ref: '#/components/headers/X-PatchVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001556 X-MinorVersion:
aravind.est804e2412023-07-13 14:40:32 +01001557 $ref: '#/components/headers/X-MinorVersion'
rameshiyer27478775d2023-06-09 13:38:46 +01001558 X-onap-RequestId:
aravind.est804e2412023-07-13 14:40:32 +01001559 $ref: '#/components/headers/X-onap-RequestId'
rameshiyer27478775d2023-06-09 13:38:46 +01001560 content:
1561 application/json:
1562 schema:
1563 $ref: '#/components/schemas/SimpleResponse'
lapentafd16e6e7e2022-11-02 10:08:16 +00001564 security:
1565 - basicAuth: []
1566 x-interface info:
1567 api-version: 1.0.0
1568 last-mod-release: London
1569
1570components:
1571 securitySchemes:
1572 basicAuth:
1573 type: http
1574 scheme: basic
liamfallonc998a3a2022-11-11 13:43:16 +00001575 schemas:
liamfallonf5ebd502022-12-16 10:17:46 +00001576 ParticipantInformation:
1577 title: ParticipantInformation
1578 type: object
liamfallonc998a3a2022-11-11 13:43:16 +00001579 ToscaServiceTemplates:
1580 title: ToscaServiceTemplates
1581 type: object
1582 ToscaServiceTemplate:
1583 title: ToscaServiceTemplate
1584 type: object
FrancescoFioraEstdb615d92023-01-24 16:27:21 +00001585 AutomationCompositionDefinition:
1586 title: AutomationCompositionDefinition
1587 type: object
FrancescoFioraEstb5d62892022-12-01 09:15:22 +00001588 AutomationComposition:
1589 title: AutomationComposition
1590 type: object
liamfallonc998a3a2022-11-11 13:43:16 +00001591 AutomationCompositions:
1592 title: AutomationCompositions
1593 type: object
1594 SimpleResponse:
1595 title: SimpleResponse
1596 type: object
1597 CommissioningResponse:
1598 title: CommissioningResponse
1599 type: object
liamfallonf5ebd502022-12-16 10:17:46 +00001600 AcTypeStateUpdate:
1601 title: AcTypeStateUpdate
1602 type: object
1603 AcInstanceStateUpdate:
1604 title: AcInstanceStateUpdate
FrancescoFioraEst5e0f7912022-12-09 14:38:10 +00001605 type: object
liamfallonc998a3a2022-11-11 13:43:16 +00001606 InstantiationResponse:
1607 title: InstantiationResponse
1608 type: object
aravind.est804e2412023-07-13 14:40:32 +01001609 headers:
1610 X-LatestVersion:
1611 schema:
1612 type: string
1613 X-PatchVersion:
1614 schema:
1615 type: string
1616 X-MinorVersion:
1617 schema:
1618 type: string
1619 X-onap-RequestId:
1620 schema:
1621 type: string
1622 format: uuid