Adjust DCAE-DS CSIT for Jenkins and to master
[integration/csit.git] / tests / sdc-dcae-d / dcaed / assets / template.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: tca-docker
4 imports:
5 - schema: schema.yaml
6 topology_template:
7   inputs:
8     topic0_aaf_password:
9       type: string
10     topic0_aaf_username:
11       type: string
12     topic0_client_role:
13       type: string
14     topic1_aaf_password:
15       type: string
16     topic1_aaf_username:
17       type: string
18     topic1_client_role:
19       type: string
20   node_templates:
21     tca-docker:
22       type: tosca.dcae.nodes.dockerApp.tca-docker
23       properties:
24         location_id:
25           get_property:
26           - SELF
27           - composition
28           - location_id
29       requirements:
30       - stream_subscribe_0: topic0
31       - stream_publish_0: topic1
32     topic0:
33       type: tosca.dcae.nodes.dmaap.topic
34       properties:
35         aaf_password:
36           get_input: topic0_aaf_password
37         aaf_username:
38           get_input: topic0_aaf_username
39         client_role:
40           get_input: topic0_client_role
41         location:
42           get_property:
43           - SELF
44           - composition
45           - location_id
46         node_name: __GET_NODE_NAME__
47         topic_name: ''
48       capabilities:
49         topic:
50           properties:
51             aaf_password:
52               get_property:
53               - SELF
54               - aaf_password
55             aaf_username:
56               get_property:
57               - SELF
58               - aaf_username
59             client_role:
60               get_property:
61               - SELF
62               - client_role
63             location:
64               get_property:
65               - SELF
66               - location
67             node_name:
68               get_property:
69               - SELF
70               - node_name
71             topic_name:
72               get_property:
73               - SELF
74               - topic_name
75     topic1:
76       type: tosca.dcae.nodes.dmaap.topic
77       properties:
78         aaf_password:
79           get_input: topic1_aaf_password
80         aaf_username:
81           get_input: topic1_aaf_username
82         client_role:
83           get_input: topic1_client_role
84         location:
85           get_property:
86           - SELF
87           - composition
88           - location_id
89         node_name: __GET_NODE_NAME__
90         topic_name: ''
91       capabilities:
92         topic:
93           properties:
94             aaf_password:
95               get_property:
96               - SELF
97               - aaf_password
98             aaf_username:
99               get_property:
100               - SELF
101               - aaf_username
102             client_role:
103               get_property:
104               - SELF
105               - client_role
106             location:
107               get_property:
108               - SELF
109               - location
110             node_name:
111               get_property:
112               - SELF
113               - node_name
114             topic_name:
115               get_property:
116               - SELF
117               - topic_name