blob: 33d2caa5865fb270257699184373b9330f8b148d (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: dcaegen2.collectors.datafile.datafile-app-server_translate
imports:
- schema: schema.yaml
topology_template:
inputs:
buscontroller_feed_publishing_endpoint:
type: string
cpu_period:
type: integer
default: 10000
cpu_quota:
type: integer
default: 30000
cpu_shares:
type: integer
default: 256
datafile.policy:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapContentType:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapDrFeedName:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapHostName:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapPortNumber:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapProtocol:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapTopicName:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapUserName:
type: string
dmaap.dmaapBusControllerConfiguration.dmaapUserPassword:
type: string
dmaap.dmaapConsumerConfiguration.consumerGroup:
type: string
dmaap.dmaapConsumerConfiguration.consumerId:
type: string
dmaap.dmaapConsumerConfiguration.dmaapContentType:
type: string
dmaap.dmaapConsumerConfiguration.dmaapHostName:
type: string
dmaap.dmaapConsumerConfiguration.dmaapPortNumber:
type: string
dmaap.dmaapConsumerConfiguration.dmaapProtocol:
type: string
dmaap.dmaapConsumerConfiguration.dmaapTopicName:
type: string
dmaap.dmaapConsumerConfiguration.messageLimit:
type: string
dmaap.dmaapConsumerConfiguration.timeoutMs:
type: string
dmaap.dmaapProducerConfiguration.dmaapContentType:
type: string
dmaap.dmaapProducerConfiguration.dmaapHostName:
type: string
dmaap.dmaapProducerConfiguration.dmaapPortNumber:
type: string
dmaap.dmaapProducerConfiguration.dmaapProtocol:
type: string
dmaap.dmaapProducerConfiguration.dmaapTopicName:
type: string
dmaap.dmaapProducerConfiguration.dmaapUserName:
type: string
dmaap.dmaapProducerConfiguration.dmaapUserPassword:
type: string
dmaap_dr_feed_id:
type: string
ftp.ftpesConfiguration.keyCert:
type: string
ftp.ftpesConfiguration.keyPassword:
type: string
ftp.ftpesConfiguration.trustedCA:
type: string
ftp.ftpesConfiguration.trustedCAPassword:
type: string
image:
type: string
location_id:
type: string
mem_limit:
type: string
default: 500m
restart_policy.Name:
type: string
default: on-failure
restart_policy.max_retry_counts:
type: integer
default: 3
security.enableDmaapCertAuth:
type: string
security.keyStorePasswordPath:
type: string
security.keyStorePath:
type: string
security.trustStorePasswordPath:
type: string
security.trustStorePath:
type: string
service_component_type:
type: string
service_name:
type: string
streams_consumer.datafile_consume_mr.message_router_topic:
type: string
substitution_mappings:
node_type: tosca.dcae.nodes.dockerApp.dcaegen2.collectors.datafile.datafile-app-server
capabilities: {}
requirements:
host:
- dcaegen2.collectors.datafile.datafile-app-server
- host
policy:
- dcaegen2.collectors.datafile.datafile-app-server
- policy
stream_publish_0:
- dcaegen2.collectors.datafile.datafile-app-server
- stream_publish_0
stream_subscribe_0:
- dcaegen2.collectors.datafile.datafile-app-server
- stream_subscribe_0
node_templates:
dcaegen2.collectors.datafile.datafile-app-server:
type: dcae.nodes.DockerContainerForComponentsUsingDmaap
properties:
application_config:
buscontroller_feed_publishing_endpoint:
get_input: buscontroller_feed_publishing_endpoint
datafile.policy:
get_input: datafile.policy
dmaap.dmaapBusControllerConfiguration.dmaapContentType:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapContentType
dmaap.dmaapBusControllerConfiguration.dmaapDrFeedName:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapDrFeedName
dmaap.dmaapBusControllerConfiguration.dmaapHostName:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapHostName
dmaap.dmaapBusControllerConfiguration.dmaapPortNumber:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapPortNumber
dmaap.dmaapBusControllerConfiguration.dmaapProtocol:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapProtocol
dmaap.dmaapBusControllerConfiguration.dmaapTopicName:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapTopicName
dmaap.dmaapBusControllerConfiguration.dmaapUserName:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapUserName
dmaap.dmaapBusControllerConfiguration.dmaapUserPassword:
get_input: dmaap.dmaapBusControllerConfiguration.dmaapUserPassword
dmaap.dmaapConsumerConfiguration.consumerGroup:
get_input: dmaap.dmaapConsumerConfiguration.consumerGroup
dmaap.dmaapConsumerConfiguration.consumerId:
get_input: dmaap.dmaapConsumerConfiguration.consumerId
dmaap.dmaapConsumerConfiguration.dmaapContentType:
get_input: dmaap.dmaapConsumerConfiguration.dmaapContentType
dmaap.dmaapConsumerConfiguration.dmaapHostName:
get_input: dmaap.dmaapConsumerConfiguration.dmaapHostName
dmaap.dmaapConsumerConfiguration.dmaapPortNumber:
get_input: dmaap.dmaapConsumerConfiguration.dmaapPortNumber
dmaap.dmaapConsumerConfiguration.dmaapProtocol:
get_input: dmaap.dmaapConsumerConfiguration.dmaapProtocol
dmaap.dmaapConsumerConfiguration.dmaapTopicName:
get_input: dmaap.dmaapConsumerConfiguration.dmaapTopicName
dmaap.dmaapConsumerConfiguration.messageLimit:
get_input: dmaap.dmaapConsumerConfiguration.messageLimit
dmaap.dmaapConsumerConfiguration.timeoutMs:
get_input: dmaap.dmaapConsumerConfiguration.timeoutMs
dmaap.dmaapProducerConfiguration.dmaapContentType:
get_input: dmaap.dmaapProducerConfiguration.dmaapContentType
dmaap.dmaapProducerConfiguration.dmaapHostName:
get_input: dmaap.dmaapProducerConfiguration.dmaapHostName
dmaap.dmaapProducerConfiguration.dmaapPortNumber:
get_input: dmaap.dmaapProducerConfiguration.dmaapPortNumber
dmaap.dmaapProducerConfiguration.dmaapProtocol:
get_input: dmaap.dmaapProducerConfiguration.dmaapProtocol
dmaap.dmaapProducerConfiguration.dmaapTopicName:
get_input: dmaap.dmaapProducerConfiguration.dmaapTopicName
dmaap.dmaapProducerConfiguration.dmaapUserName:
get_input: dmaap.dmaapProducerConfiguration.dmaapUserName
dmaap.dmaapProducerConfiguration.dmaapUserPassword:
get_input: dmaap.dmaapProducerConfiguration.dmaapUserPassword
dmaap_dr_feed_id:
get_input: dmaap_dr_feed_id
ftp.ftpesConfiguration.keyCert:
get_input: ftp.ftpesConfiguration.keyCert
ftp.ftpesConfiguration.keyPassword:
get_input: ftp.ftpesConfiguration.keyPassword
ftp.ftpesConfiguration.trustedCA:
get_input: ftp.ftpesConfiguration.trustedCA
ftp.ftpesConfiguration.trustedCAPassword:
get_input: ftp.ftpesConfiguration.trustedCAPassword
security.enableDmaapCertAuth:
get_input: security.enableDmaapCertAuth
security.keyStorePasswordPath:
get_input: security.keyStorePasswordPath
security.keyStorePath:
get_input: security.keyStorePath
security.trustStorePasswordPath:
get_input: security.trustStorePasswordPath
security.trustStorePath:
get_input: security.trustStorePath
service_name:
get_input: service_name
services_calls: {}
streams_consumer.datafile_consume_mr.message_router_topic:
get_input: streams_consumer.datafile_consume_mr.message_router_topic
streams_publishes:
datafile_publish_dr:
dmaap_info:
concat:
- '<<'
- get_property:
- SELF
- stream_publish_0
- node_name
- '>>'
type: data_router
streams_subscribes:
datafile_subscribe_mr:
aaf_password:
get_property:
- SELF
- stream_subscribe_0
- aaf_password
aaf_username:
get_property:
- SELF
- stream_subscribe_0
- aaf_username
dmaap_info:
concat:
- '<<'
- get_property:
- SELF
- stream_subscribe_0
- node_name
- '>>'
type: message_router
docker_config:
healthcheck:
endpoint: /heartbeat
interval: 15s
timeout: 1s
type: http
image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
location_id:
get_input: location_id
service_component_type: dcaegen2.collectors.datafile.datafile-app-server
streams_publishes:
- location:
get_property:
- SELF
- stream_publish_0
- location
name:
get_property:
- SELF
- stream_publish_0
- node_name
type: data_router
streams_subscribes:
- client_role:
get_property:
- SELF
- stream_subscribe_0
- client_role
location:
get_property:
- SELF
- stream_subscribe_0
- location
name:
get_property:
- SELF
- stream_subscribe_0
- node_name
type: message_router
interfaces:
cloudify.interfaces.lifecycle:
type: tosca.interfaces.Root
start:
inputs:
host_config: null
stop:
inputs:
cleanup_image: null
|