Update doc CLAMP Automation Composition Smoke Tests
[policy/parent.git] / docs / development / devtools / smoke / json / acm-instantiation.json
1 {
2     "compositionId": "{{compositionId}}",
3     "name": "K8SInstance0",
4     "version": "1.0.1",
5     "description": "Demo automation composition instance 0",
6     "elements": {
7         "709c62b3-8918-41b9-a747-d21eb79c6c21": {
8             "id": "709c62b3-8918-41b9-a747-d21eb79c6c21",
9             "definition": {
10                 "name": "org.onap.policy.clamp.Local_K8SMicroserviceAutomationCompositionElement",
11                 "version": "1.2.3"
12             },
13             "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c02",
14             "description": "K8s Automation composition Element for the nginx-ingress microservice",
15             "properties": {
16                 "chart": {
17                     "chartId": {
18                         "name": "nginx-ingress",
19                         "version": "0.11.0"
20                     },
21                     "releaseName": "nginxapp",
22                     "namespace": "onap"
23                 }
24             }
25         },
26         "709c62b3-8918-41b9-a747-d21eb79c6c22": {
27             "id": "709c62b3-8918-41b9-a747-d21eb79c6c22",
28             "definition": {
29                 "name": "org.onap.policy.clamp.Http_AutomationCompositionElement",
30                 "version": "1.2.3"
31             },
32             "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c01",
33             "description": "Http Automation composition Element",
34             "properties": {
35                 "baseUrl": "http://httpbin.org",
36                 "httpHeaders": {
37                     "Content-Type": "application/json"
38                 },
39                 "configurationEntities": [
40                     {
41                         "configurationEntityId": {
42                             "name": "entity1",
43                             "version": "1.0.1"
44                         },
45                         "restSequence": [
46                             {
47                                 "restRequestId": {
48                                     "name": "request1",
49                                     "version": "1.0.1"
50                                 },
51                                 "httpMethod": "POST",
52                                 "path": "post",
53                                 "body": "Dummy data for smoke testing",
54                                 "expectedResponse": 200
55                             }
56                         ]
57                     }
58                 ]
59             }
60         }
61     }
62 }