diff options
author | saul.gill <saul.gill@est.tech> | 2023-09-27 11:14:19 +0100 |
---|---|---|
committer | saul.gill <saul.gill@est.tech> | 2023-09-27 11:14:21 +0100 |
commit | 3398b96f53bd1c5f9926a88db996abbbfe1da500 (patch) | |
tree | 12f82ebc696a2f5bf5c5b0260bd469cc736f92d6 /runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml | |
parent | f80c317803bccbb12dac2d490520bf409b0d5e3a (diff) |
Fix swagger file links
Issue-ID: POLICY-4829
Change-Id: I7d8f3ec6ff53eb63d35d5584e4289b07efe48880
Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml')
-rwxr-xr-x | runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml b/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml new file mode 100755 index 000000000..c099f1115 --- /dev/null +++ b/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml @@ -0,0 +1,136 @@ +participant: + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + participantState: ON_LINE + participantSupportedElementTypes: + 14c6d6d0-0fa2-4a7f-927a-afdab75e92c4: + id: 14c6d6d0-0fa2-4a7f-927a-afdab75e92c4 + typeName: org.onap.policy.clamp.acm.HttpAutomationCompositionElement + typeVersion: 1.0.0 +acNodeTemplateStateDefinitionMap: + d514b576-c091-4a2c-b797-99204e6dc620: + nodeTemplateStateId: d514b576-c091-4a2c-b797-99204e6dc620 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + nodeTemplateId: + name: onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement + version: 1.2.3 + state: PRIMED + message: Primed + outProperties: {} + 05773b12-9005-4166-bd03-caec308207e7: + nodeTemplateStateId: 05773b12-9005-4166-bd03-caec308207e7 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + nodeTemplateId: + name: onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement + version: 1.2.3 + state: PRIMED + message: Primed + outProperties: {} + 363832a4-0281-4a69-8d37-99b4d48c5685: + nodeTemplateStateId: 363832a4-0281-4a69-8d37-99b4d48c5685 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + nodeTemplateId: + name: onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement + version: 1.2.3 + state: PRIMED + message: Primed + outProperties: {} +acElementInstanceMap: + 709c62b3-8918-41b9-a747-d21eb79c6c23: + id: 709c62b3-8918-41b9-a747-d21eb79c6c23 + definition: + name: onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement + version: 1.2.3 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + deployState: DEPLOYED + lockState: LOCKED + description: Sink Automation Composition Element for the Demo + message: Deployed + properties: + baseUrl: http://10.101.0.249:30802 + httpHeaders: + Content-Type: application/json + Authorization: Basic YWNtVXNlcjp6YiFYenRHMzQ= + configurationEntities: + - configurationEntityId: + name: onap.policy.clamp.ac.sink + version: 1.0.0 + restSequence: + - restRequestId: + name: request3 + version: 1.0.1 + httpMethod: POST + path: /activate + body: + '{ "receiverId": { "name": "onap.policy.clamp.ac.sink", "version": + "1.0.0" }, "timerMs": 20000, "elementType": "SINK", "topicParameterGroup": + { "server": "message-router", "listenerTopic": "POLICY_UPDATE_MSG", "publisherTopic": + "AC_ELEMENT_MSG", "fetchTimeout": 15000, "topicCommInfrastructure": "dmaap" + } }' + expectedResponse: 201 + outProperties: {} + 709c62b3-8918-41b9-a747-d21eb79c6c25: + id: 709c62b3-8918-41b9-a747-d21eb79c6c25 + definition: + name: onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement + version: 1.2.3 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + deployState: DEPLOYED + lockState: LOCKED + description: Bridge Automation Composition Element for the Demo + message: Deployed + properties: + baseUrl: http://10.101.0.249:30801 + httpHeaders: + Content-Type: application/json + Authorization: Basic YWNtVXNlcjp6YiFYenRHMzQ= + configurationEntities: + - configurationEntityId: + name: onap.policy.clamp.ac.bridge + version: 1.0.0 + restSequence: + - restRequestId: + name: request2 + version: 1.0.1 + httpMethod: POST + path: /activate + body: + '{ "receiverId": { "name": "onap.policy.clamp.ac.bridgetosink", "version": + "1.0.0" }, "timerMs": 20000, "elementType": "BRIDGE", "topicParameterGroup": + { "server": "message-router:3904", "listenerTopic": "POLICY_UPDATE_MSG", + "publisherTopic": "AC_ELEMENT_MSG", "fetchTimeout": 15000, "topicCommInfrastructure": + "dmaap" } }' + expectedResponse: 201 + outProperties: {} + 709c62b3-8918-41b9-a747-d21eb79c6c24: + id: 709c62b3-8918-41b9-a747-d21eb79c6c24 + definition: + name: onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement + version: 1.2.3 + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c91 + deployState: DEPLOYED + lockState: LOCKED + description: Starter Automation Composition Element for the Demo + message: Deployed + properties: + baseUrl: http://10.101.0.249:30800 + httpHeaders: + Content-Type: application/json + Authorization: Basic YWNtVXNlcjp6YiFYenRHMzQ= + configurationEntities: + - configurationEntityId: + name: onap.policy.clamp.ac.starter + version: 1.0.0 + restSequence: + - restRequestId: + name: request1 + version: 1.0.1 + httpMethod: POST + path: /activate + body: + '{ "receiverId": { "name": "onap.policy.clamp.ac.startertobridge", + "version": "1.0.0" }, "timerMs": 20000, "elementType": "STARTER", "topicParameterGroup": + { "server": "message-router:3904", "listenerTopic": "POLICY_UPDATE_MSG", + "publisherTopic": "AC_ELEMENT_MSG", "fetchTimeout": 15000, "topicCommInfrastructure": + "dmaap" } }' + expectedResponse: 201 + outProperties: {} |