Add documentation for AC instance update support
[policy/parent.git] / docs / clamp / acm / files / AC-instantiation.json
1 {
2   "name": "DemoInstance0",
3   "version": "1.0.1",
4   "compositionId": "COMPOSITIONIDPLACEHOLDER",
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": "onap.policy.clamp.ac.element.K8S_AutomationCompositionElement",
11         "version": "1.2.3"
12       },
13       "description": "Starter Automation Composition Element for the Demo",
14       "properties": {
15         "chart": {
16           "chartId": {
17             "name": "acelement",
18             "version": "0.1.0"
19           },
20           "namespace": "default",
21           "releaseName": "acm-starter",
22           "podName": "acm-starter",
23           "repository": {
24             "repoName": "policy-chartmuseum",
25             "address": "http://policy-chartmuseum:8080"
26           },
27           "overrideParams": {
28             "acelement.elementId.name": "onap.policy.clamp.ac.starter",
29             "service.nodeport": 30800
30           }
31         }
32       }
33     },
34     "709c62b3-8918-41b9-a747-d21eb79c6c24": {
35       "id": "709c62b3-8918-41b9-a747-d21eb79c6c24",
36       "definition": {
37         "name": "onap.policy.clamp.ac.element.Http_AutomationCompositionElement",
38         "version": "1.2.3"
39       },
40       "description": "Starter Automation Composition Element for the Demo",
41       "properties": {
42         "baseUrl": "http://acm-starter-ac-element-impl:8084",
43         "httpHeaders": {
44           "Content-Type": "application/json",
45           "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
46         },
47         "configurationEntities": [
48           {
49             "configurationEntityId": {
50               "name": "onap.policy.clamp.ac.starter",
51               "version": "1.0.0"
52             },
53             "restSequence": [
54               {
55                 "restRequestId": {
56                   "name": "request1",
57                   "version": "1.0.1"
58                 },
59                 "httpMethod": "POST",
60                 "path": "/onap/policy/clamp/acelement/v2/activate",
61                 "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\" } }",
62                 "expectedResponse": 201
63               }
64             ]
65           }
66         ]
67       }
68     }
69
70   }
71 }