Update docs HTTP Participant
[policy/parent.git] / docs / clamp / acm / design-impl / participants / tosca / automation-composition-http.yml
1 name: DemoInstance0
2 version: 1.0.1
3 compositionId: {{compositionId}}
4 description: Demo automation composition instance 0
5 elements:
6
7   709c62b3-8918-41b9-a747-d21eb79c6c24:
8     id: 709c62b3-8918-41b9-a747-d21eb79c6c24
9     definition:
10       name: onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement
11       version: 1.2.3
12     description: Starter Automation Composition Element for the Demo
13     properties:
14       baseUrl: http://cluster-ip:30800
15       httpHeaders:
16         Content-Type: application/json
17         Authorization: Basic YWNtVXNlcjp6YiFYenRHMzQ=
18       configurationEntities:
19         - configurationEntityId:
20             name: onap.policy.clamp.ac.starter
21             version: 1.0.0
22           restSequence:
23             - restRequestId:
24                 name: request1
25                 version: 1.0.1
26               httpMethod: POST
27               path: /onap/policy/clamp/acelement/v2/activate
28               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" } }'
29               expectedResponse: 201