summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2022-12-06 21:34:12 +0000
committerlapentafd <francesco.lapenta@est.tech>2022-12-08 09:55:23 +0000
commitdaa5d72751929f5e9de44529e277aeaa9eb05a07 (patch)
tree975d1e1edac50d90fa59a67b3314451c5314e12b /runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json
parentaea051f76fcb04579e1cc3ec3337fc16a847b428 (diff)
Adding examples for openapi specification
Issue-ID: POLICY-4435 Change-Id: Icc45000058a579a076bbb0c2ae9bf3e66bce6f67 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json')
-rw-r--r--runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json b/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json
new file mode 100644
index 000000000..d2886038f
--- /dev/null
+++ b/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json
@@ -0,0 +1,64 @@
+{
+ "name": "InstanceHttp",
+ "version": "1.0.1",
+ "compositionId": "562ed027-2689-481a-b3a5-e284b1fbc33f",
+ "state": "UNINITIALISED",
+ "orderedState": "UNINITIALISED",
+ "description": "Demo automation composition instance Http",
+ "elements": {
+ "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": {
+ "name": "HttpParticipant0",
+ "version": "1.0.0"
+ },
+ "participantType": {
+ "name": "org.onap.policy.clamp.acm.HttpParticipant",
+ "version": "2.3.4"
+ },
+ "state": "UNINITIALISED",
+ "orderedState": "UNINITIALISED",
+ "description": "Starter Automation Composition Element for the Demo"
+ },
+ "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": {
+ "name": "HttpParticipant0",
+ "version": "1.0.0"
+ },
+ "participantType": {
+ "name": "org.onap.policy.clamp.acm.HttpParticipant",
+ "version": "2.3.4"
+ },
+ "state": "UNINITIALISED",
+ "orderedState": "UNINITIALISED",
+ "description": "Bridge Automation Composition Element for the Demo"
+ },
+ "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": {
+ "name": "HttpParticipant0",
+ "version": "1.0.0"
+ },
+ "participantType": {
+ "name": "org.onap.policy.clamp.acm.HttpParticipant",
+ "version": "2.3.4"
+ },
+ "state": "UNINITIALISED",
+ "orderedState": "UNINITIALISED",
+ "description": "Sink Automation Composition Element for the Demo"
+ }
+ }
+}