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