blob: 5515dc2cc16389aa8d3a56aa4fd2bde81bf9b3a1 (
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
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: tca-docker_translate
imports:
- schema: schema.yaml
topology_template:
inputs:
cpu_period:
type: integer
default: 10000
cpu_quota:
type: integer
default: 30000
cpu_shares:
type: integer
default: 256
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
service_component_type:
type: string
substitution_mappings:
node_type: tosca.dcae.nodes.dockerApp.tca-docker
capabilities: {}
requirements:
host:
- tca-docker
- host
stream_publish_0:
- tca-docker
- stream_publish_0
stream_subscribe_0:
- tca-docker
- stream_subscribe_0
node_templates:
tca-docker:
type: dcae.nodes.DockerContainerForComponentsUsingDmaap
properties:
application_config:
services_calls: {}
streams_publishes:
tca_handle_out:
aaf_password:
get_property:
- SELF
- stream_publish_0
- aaf_password
aaf_username:
get_property:
- SELF
- stream_publish_0
- aaf_username
dmaap_info:
concat:
- '<<'
- get_property:
- SELF
- stream_publish_0
- node_name
- '>>'
type: message_router
streams_subscribes:
tca_handle_in:
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: /
interval: 15s
timeout: 1s
type: https
ports:
- 11011:11011
image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.0
location_id:
get_input: location_id
service_component_type: tca-docker
streams_publishes:
- client_role:
get_property:
- SELF
- stream_publish_0
- client_role
location:
get_property:
- SELF
- stream_publish_0
- location
name:
get_property:
- SELF
- stream_publish_0
- node_name
type: message_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
|