blob: 6182761bc7eea1216d0f4706d924d96f35a0064e (
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
|
# ================================================================================
# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
tosca_definitions_version: tosca_simple_yaml_1_0_0
capability_types:
dcae.capabilities.cdapHost:
derived_from: tosca.capabilities.Root
dcae.capabilities.composition.host:
derived_from: tosca.capabilities.Root
properties:
location_id:
type: string
service_id:
type: string
dcae.capabilities.dockerHost:
derived_from: tosca.capabilities.Root
dcae.capabilities.service.provide:
derived_from: tosca.capabilities.Root
properties:
request_format:
type: string
request_version:
type: string
response_format:
type: string
response_version:
type: string
dcae.capabilities.stream.subscribe:
derived_from: tosca.capabilities.Root
properties:
format:
type: string
version:
type: string
relationship_types:
dcae.relationships.rework_connected_to:
derived_from: tosca.relationships.Root
dcae.relationships.rework_contained_in:
derived_from: tosca.relationships.Root
node_types:
cloudify.dcae.nodes.Root:
derived_from: tosca.nodes.Root
cloudify.dcae.nodes.rework.DockerContainer:
attributes:
service_component_name:
type: string
capabilities:
service:
type: dcae.capabilities.service.provide
stream:
type: dcae.capabilities.stream.subscribe
derived_from: cloudify.dcae.nodes.Root
properties:
application_config:
required: true
type: map
image:
required: true
type: string
location_id:
required: true
type: string
service_component_type:
required: true
type: string
service_id:
required: true
type: string
requirements:
- host:
capability: dcae.capabilities.dockerHost
relationship: dcae.relationships.rework_contained_in
- stream:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
dcae.nodes.MicroService.cdap:
attributes:
service_component_name:
type: string
capabilities:
service:
type: dcae.capabilities.service.provide
stream:
type: dcae.capabilities.stream.subscribe
derived_from: cloudify.dcae.nodes.Root
properties:
app_config:
required: false
type: map
app_preferences:
required: false
type: map
artifact_name:
required: false
type: string
artifact_version:
required: false
type: string
jar_url:
type: string
location_id:
type: string
namespace:
required: false
type: string
program_preferences:
required: false
type: list
programs:
required: false
type: list
service_component_type:
type: string
service_endpoints:
required: false
type: list
service_id:
type: string
streamname:
required: false
type: string
requirements:
- host:
capability: dcae.capabilities.cdapHost
relationship: dcae.relationships.rework_contained_in
- stream:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
dcae.nodes.Root:
derived_from: tosca.nodes.Root
dcae.nodes.cdapApp:
attributes:
service_component_name:
type: string
derived_from: dcae.nodes.Root
properties:
jar_url:
required: true
type: string
location_id:
required: true
type: string
service_component_type:
required: true
type: string
service_id:
required: true
type: string
requirements:
- host:
capability: dcae.capabilities.cdapHost
relationship: dcae.relationships.rework_contained_in
- composition:
capability: dcae.capabilities.composition.host
dcae.nodes.dockerApp:
attributes:
service_component_name:
type: string
derived_from: dcae.nodes.Root
properties:
image:
required: true
type: string
location_id:
required: true
type: string
service_component_type:
required: true
type: string
service_id:
required: true
type: string
requirements:
- host:
capability: dcae.capabilities.dockerHost
relationship: dcae.relationships.rework_contained_in
- composition:
capability: dcae.capabilities.composition.host
dcae.nodes.dockerApp.ves:
derived_from: dcae.nodes.dockerApp
properties:
docker_collector.dmaap.streamid:
type: string
docker_collector.inputQueue.maxPending:
type: string
docker_collector.keystore.file.location:
type: string
docker_collector.keystore.passwordfile:
type: string
docker_collector.schema.checkflag:
type: string
docker_collector.schema.file:
type: string
docker_collector.service.port:
type: string
docker_collector.service.secure.port:
type: string
docker_header.authflag:
type: string
docker_header.authlist:
type: string
docker_tomcat.maxthreads:
type: string
service_0_service_endpoint:
type: string
service_0_service_name:
type: string
service_0_verb:
type: string
stream_0_key:
type: string
stream_0_route:
type: string
stream_1_key:
type: string
stream_1_route:
type: string
stream_2_key:
type: string
stream_3_key:
type: string
capabilities:
service_0:
type: dcae.capabilities.service.provide
stream_0:
type: dcae.capabilities.stream.subscribe
stream_1:
type: dcae.capabilities.stream.subscribe
requirements:
- stream_0:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
- stream_1:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
- stream_2:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
- stream_3:
capability: dcae.capabilities.stream.subscribe
relationship: dcae.relationships.rework_connected_to
|