4 "title": "ACM Mock Participant",
5 "description": "CLAMP Mock Participant API",
8 "url": "http://www.apache.org/licenses/LICENSE-2.0"
12 "description": "CLAMP Automation Composition Management Documentation",
13 "url": "https://docs.onap.org/projects/onap-policy-parent/en/latest/clamp/clamp.html"
17 "url": "http://localhost:8084/onap/policy/clamp/acm/simparticipant",
18 "description": "Generated server url"
25 "Simulator-participant-controller"
27 "summary": "Return all Parameters",
28 "description": "Return all the parameters configured in the Simulator Participant",
29 "operationId": "getConfig",
32 "name": "X-onap-RequestId",
34 "description": "RequestID for http transaction",
44 "description": "OK, reutrns a serialised instance of [SimConfig](https://github.com/onap/policy-clamp/blob/master/participant/participant-impl/policy-clamp-participant-impl-simulator/src/main/java/org/onap/policy/clamp/acm/participant/sim/model/SimConfig.java)",
48 "$ref": "#/components/schemas/SimConfig"
54 "description": "Authorization Error",
58 "$ref": "#/components/schemas/SimConfig"
63 "$ref": "#/components/schemas/SimConfig"
69 "description": "Internal Server Error",
73 "$ref": "#/components/schemas/SimConfig"
78 "$ref": "#/components/schemas/SimConfig"
92 "Simulator-participant-controller"
94 "summary": "change the parameters",
95 "description": "Change the parameters the behaviour of the Simulator Participant",
96 "operationId": "setConfig",
99 "name": "X-ONAP-RequestID",
101 "description": "RequestID for http transaction",
111 "application/json": {
113 "$ref": "#/components/schemas/SimConfig"
116 "application/yaml": {
118 "$ref": "#/components/schemas/SimConfig"
126 "description": "OK, the parameters has been saved"
129 "description": "Bad Request"
132 "description": "Authorization Error"
135 "description": "Internal Server Error"
148 "Simulator-participant-controller"
150 "summary": "Query details of the requested internal datas",
151 "description": "Query details of the requested internal datas",
152 "operationId": "getDatas",
155 "name": "X-onap-RequestId",
157 "description": "RequestID for http transaction",
167 "description": "Serialised instance of [InternalDatas](https://github.com/onap/policy-clamp/blob/master/participant/participant-impl/policy-clamp-participant-impl-simulator/src/main/java/org/onap/policy/clamp/acm/participant/sim/model/InternalDatas.java)",
169 "application/json": {
171 "$ref": "#/components/schemas/InternalDatas"
177 "description": "Authorization Error",
179 "application/json": {
181 "$ref": "#/components/schemas/InternalDatas"
184 "application/yaml": {
186 "$ref": "#/components/schemas/InternalDatas"
192 "description": "Internal Server Error",
194 "application/json": {
196 "$ref": "#/components/schemas/InternalDatas"
199 "application/yaml": {
201 "$ref": "#/components/schemas/InternalDatas"
215 "Simulator-participant-controller"
217 "summary": "change the parameters",
218 "description": "Change the data of the Simulator Participant",
219 "operationId": "setData",
222 "name": "X-ONAP-RequestID",
224 "description": "RequestID for http transaction",
234 "application/json": {
236 "$ref": "#/components/schemas/InternalData"
239 "application/yaml": {
241 "$ref": "#/components/schemas/InternalData"
249 "description": "OK, the data has been saved"
252 "description": "Bad Request"
255 "description": "Authorization Error"
258 "description": "Internal Server Error"
268 "/v2/compositiondatas": {
271 "Simulator-participant-controller"
273 "summary": "Query details of the requested internal composition datas",
274 "description": "Query details of the requested internal composition datas",
275 "operationId": "getCompositionDatas",
278 "name": "X-onap-RequestId",
280 "description": "RequestID for http transaction",
290 "description": "Serialised instance of [InternalDatas](https://github.com/onap/policy-clamp/blob/master/participant/participant-impl/policy-clamp-participant-impl-simulator/src/main/java/org/onap/policy/clamp/acm/participant/sim/model/InternalDatas.java)",
292 "application/json": {
294 "$ref": "#/components/schemas/InternalDatas"
300 "description": "Authorization Error",
302 "application/json": {
304 "$ref": "#/components/schemas/InternalDatas"
307 "application/yaml": {
309 "$ref": "#/components/schemas/InternalDatas"
315 "description": "Internal Server Error",
317 "application/json": {
319 "$ref": "#/components/schemas/InternalDatas"
322 "application/yaml": {
324 "$ref": "#/components/schemas/InternalDatas"
338 "Simulator-participant-controller"
340 "summary": "change the parameters",
341 "description": "Change the data of the Simulator Participant",
342 "operationId": "setCompositionData",
345 "name": "X-ONAP-RequestID",
347 "description": "RequestID for http transaction",
357 "application/json": {
359 "$ref": "#/components/schemas/InternalData"
362 "application/yaml": {
364 "$ref": "#/components/schemas/InternalData"
372 "description": "OK, the data has been saved"
375 "description": "Bad Request"
378 "description": "Authorization Error"
381 "description": "Internal Server Error"
394 "Simulator-participant-controller"
396 "summary": "Query details of the requested automation composition instances",
397 "description": "Query details of the requested automation composition instances for the given automation composition definition ID, returning details of all its automation composition instances",
398 "operationId": "getAutomationCompositions",
401 "name": "X-onap-RequestId",
403 "description": "RequestID for http transaction",
413 "description": "Serialised instance of [AutomationCompositions](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositions.java) containing a list of automation composition instances found",
415 "application/json": {
417 "$ref": "#/components/schemas/AutomationCompositions"
423 "description": "Authorization Error",
425 "application/json": {
427 "$ref": "#/components/schemas/AutomationCompositions"
430 "application/yaml": {
432 "$ref": "#/components/schemas/AutomationCompositions"
438 "description": "Internal Server Error",
440 "application/json": {
442 "$ref": "#/components/schemas/AutomationCompositions"
445 "application/yaml": {
447 "$ref": "#/components/schemas/AutomationCompositions"
460 "/v2/instances/{instanceId}": {
463 "Simulator-participant-controller"
465 "summary": "Get automation composition instance details.",
466 "description": "Get details of the requested automation composition instance.",
467 "operationId": "getAutomationComposition",
470 "name": "instanceId",
472 "description": "The UUID of the automation composition instance to get",
480 "name": "X-onap-RequestId",
482 "description": "RequestID for http transaction",
492 "description": "Serialised instance of [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java) containing the automation composition instance",
494 "application/json": {
496 "$ref": "#/components/schemas/AutomationComposition"
502 "description": "Authorization Error",
504 "application/json": {
506 "$ref": "#/components/schemas/AutomationComposition"
509 "application/yaml": {
511 "$ref": "#/components/schemas/AutomationComposition"
517 "description": "Internal Server Error",
519 "application/json": {
521 "$ref": "#/components/schemas/AutomationComposition"
524 "application/yaml": {
526 "$ref": "#/components/schemas/AutomationComposition"
615 "additionalProperties": {
621 "additionalProperties": {
629 "compositionDefinitionElementId": {
630 "$ref": "#/components/schemas/ToscaConceptIdentifier"
632 "automationCompositionId": {
636 "automationCompositionElementId": {
643 "operationalState": {
648 "ToscaConceptIdentifier": {
659 "AutomationComposition": {
673 "additionalProperties": {
688 "compositionTargetId": {
720 "additionalProperties": {
721 "$ref": "#/components/schemas/AutomationCompositionElement"
724 "stateChangeResult": {
742 "$ref": "#/components/schemas/ToscaEntityKey"
749 "AutomationCompositionElement": {
757 "$ref": "#/components/schemas/ToscaConceptIdentifier"
789 "operationalState": {
803 "additionalProperties": {
809 "additionalProperties": {
815 "AutomationCompositions": {
818 "automationCompositionList": {
821 "$ref": "#/components/schemas/AutomationComposition"
843 "$ref": "#/components/schemas/InternalData"