jh245g | d6bd24e | 2018-09-17 12:55:40 -0400 | [diff] [blame] | 1 | # ============LICENSE_START========================================== |
| 2 | # =================================================================== |
| 3 | # Copyright (c) 2018 AT&T |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | #============LICENSE_END============================================ |
| 17 | tosca_definitions_version: cloudify_dsl_1_3 |
| 18 | |
| 19 | imports: |
| 20 | - http://www.getcloudify.org/spec/cloudify/4.3.1/types.yaml |
| 21 | - plugin:helm?version=3.0.0 |
| 22 | |
| 23 | inputs: |
| 24 | tiller-server-ip: |
| 25 | description: the IP address of Kubernetes master |
| 26 | tiller-server-port: |
| 27 | description: the nodeport of tiller server |
| 28 | namespace: |
| 29 | default: onap |
| 30 | chart-repo-url: |
| 31 | default: https://nexus.onap.org/content/sites/oom-helm-staging |
| 32 | chart-version : |
| 33 | default: 2.0.0 |
| 34 | stable-repo-url: |
| 35 | description: URL for stable repository |
| 36 | type: string |
| 37 | default: 'https://kubernetes-charts.storage.googleapis.com' |
| 38 | |
| 39 | |
| 40 | |
| 41 | node_templates: |
| 42 | |
| 43 | onap_env: |
| 44 | type: onap.nodes.component |
| 45 | properties: |
| 46 | tiller-server-ip: { get_input: tiller-server-ip } |
| 47 | tiller-server-port: { get_input: tiller-server-port } |
| 48 | component-name: onap |
| 49 | chart-repo-url: { get_input: chart-repo-url } |
| 50 | chart-version: { get_input: chart-version } |
| 51 | namespace: { get_input: namespace } |
| 52 | stable-repo-url: { get_input: stable-repo-url} |
morganrol | 372da49 | 2021-09-02 14:58:40 +0200 | [diff] [blame] | 53 | config: '{ "aaf": {"enabled": false}, "aai": {"enabled": false}, "appc": {"enabled": false}, "clamp": {"enabled": false}, "cli": {"enabled": false}, "consul": {"enabled": false}, "dcaegen2": {"enabled": false}, "dmaap": {"enabled": false}, "log": {"enabled": false}, "sniro-emulator": {"enabled": false}, "msb": {"enabled": false}, "multicloud": {"enabled": false}, "nbi": {"enabled": false}, "oof": {"enabled": false}, "policy": {"enabled": false}, "pomba": {"enabled": false}, "portal": {"enabled": false}, "robot": {"enabled": false}, "sdc": {"enabled": false}, "sdnc": {"enabled": false}, "so": {"enabled": false}, "uui": {"enabled": false}, "vfc": {"enabled": false}, "vid": {"enabled": false}, "vnfsdk": {"enabled": false} }' |
jh245g | d6bd24e | 2018-09-17 12:55:40 -0400 | [diff] [blame] | 54 | |
| 55 | aaf: |
| 56 | type: onap.nodes.component |
| 57 | properties: |
| 58 | tiller-server-ip: { get_input: tiller-server-ip } |
| 59 | tiller-server-port: { get_input: tiller-server-port } |
| 60 | component-name: aaf |
| 61 | chart-repo-url: { get_input: chart-repo-url } |
| 62 | chart-version: { get_input: chart-version } |
| 63 | namespace: { get_input: namespace } |
| 64 | stable-repo-url: { get_input: stable-repo-url} |
| 65 | relationships: |
| 66 | - type: cloudify.relationships.connected_to |
| 67 | target: onap_env |
| 68 | |
| 69 | aai: |
| 70 | type: onap.nodes.component |
| 71 | properties: |
| 72 | tiller-server-ip: { get_input: tiller-server-ip } |
| 73 | tiller-server-port: { get_input: tiller-server-port } |
| 74 | component-name: aai |
| 75 | chart-repo-url: { get_input: chart-repo-url } |
| 76 | chart-version: { get_input: chart-version } |
| 77 | namespace: { get_input: namespace } |
| 78 | stable-repo-url: { get_input: stable-repo-url} |
| 79 | relationships: |
| 80 | - type: cloudify.relationships.connected_to |
| 81 | target: onap_env |
| 82 | |
| 83 | appc: |
| 84 | type: onap.nodes.component |
| 85 | properties: |
| 86 | tiller-server-ip: { get_input: tiller-server-ip } |
| 87 | tiller-server-port: { get_input: tiller-server-port } |
| 88 | component-name: appc |
| 89 | chart-repo-url: { get_input: chart-repo-url } |
| 90 | chart-version: { get_input: chart-version } |
| 91 | namespace: { get_input: namespace } |
| 92 | stable-repo-url: { get_input: stable-repo-url} |
| 93 | relationships: |
| 94 | - type: cloudify.relationships.connected_to |
| 95 | target: onap_env |
| 96 | |
| 97 | clamp: |
| 98 | type: onap.nodes.component |
| 99 | properties: |
| 100 | tiller-server-ip: { get_input: tiller-server-ip } |
| 101 | tiller-server-port: { get_input: tiller-server-port } |
| 102 | component-name: clamp |
| 103 | chart-repo-url: { get_input: chart-repo-url } |
| 104 | chart-version: { get_input: chart-version } |
| 105 | namespace: { get_input: namespace } |
| 106 | stable-repo-url: { get_input: stable-repo-url} |
| 107 | relationships: |
| 108 | - type: cloudify.relationships.connected_to |
| 109 | target: onap_env |
| 110 | |
| 111 | cli: |
| 112 | type: onap.nodes.component |
| 113 | properties: |
| 114 | tiller-server-ip: { get_input: tiller-server-ip } |
| 115 | tiller-server-port: { get_input: tiller-server-port } |
| 116 | component-name: cli |
| 117 | chart-repo-url: { get_input: chart-repo-url } |
| 118 | chart-version: { get_input: chart-version } |
| 119 | namespace: { get_input: namespace } |
| 120 | stable-repo-url: { get_input: stable-repo-url} |
| 121 | relationships: |
| 122 | - type: cloudify.relationships.connected_to |
| 123 | target: onap_env |
| 124 | |
| 125 | consul: |
| 126 | type: onap.nodes.component |
| 127 | properties: |
| 128 | tiller-server-ip: { get_input: tiller-server-ip } |
| 129 | tiller-server-port: { get_input: tiller-server-port } |
| 130 | component-name: consul |
| 131 | chart-repo-url: { get_input: chart-repo-url } |
| 132 | chart-version: { get_input: chart-version } |
| 133 | namespace: { get_input: namespace } |
| 134 | stable-repo-url: { get_input: stable-repo-url} |
| 135 | relationships: |
| 136 | - type: cloudify.relationships.connected_to |
| 137 | target: onap_env |
| 138 | |
| 139 | contrib: |
| 140 | type: onap.nodes.component |
| 141 | properties: |
| 142 | tiller-server-ip: { get_input: tiller-server-ip } |
| 143 | tiller-server-port: { get_input: tiller-server-port } |
| 144 | component-name: contrib |
| 145 | chart-repo-url: { get_input: chart-repo-url } |
| 146 | chart-version: { get_input: chart-version } |
| 147 | namespace: { get_input: namespace } |
| 148 | stable-repo-url: { get_input: stable-repo-url} |
| 149 | relationships: |
| 150 | - type: cloudify.relationships.connected_to |
| 151 | target: onap_env |
| 152 | |
| 153 | dcaegen2: |
| 154 | type: onap.nodes.component |
| 155 | properties: |
| 156 | tiller-server-ip: { get_input: tiller-server-ip } |
| 157 | tiller-server-port: { get_input: tiller-server-port } |
| 158 | component-name: dcaegen2 |
| 159 | chart-repo-url: { get_input: chart-repo-url } |
| 160 | chart-version: { get_input: chart-version } |
| 161 | namespace: { get_input: namespace } |
| 162 | stable-repo-url: { get_input: stable-repo-url} |
| 163 | relationships: |
| 164 | - type: cloudify.relationships.connected_to |
| 165 | target: onap_env |
| 166 | |
| 167 | |
| 168 | dmaap: |
| 169 | type: onap.nodes.component |
| 170 | properties: |
| 171 | tiller-server-ip: { get_input: tiller-server-ip } |
| 172 | tiller-server-port: { get_input: tiller-server-port } |
| 173 | component-name: dmaap |
| 174 | chart-repo-url: { get_input: chart-repo-url } |
| 175 | chart-version: { get_input: chart-version } |
| 176 | namespace: { get_input: namespace } |
| 177 | stable-repo-url: { get_input: stable-repo-url} |
| 178 | relationships: |
| 179 | - type: cloudify.relationships.connected_to |
| 180 | target: onap_env |
| 181 | |
jh245g | d6bd24e | 2018-09-17 12:55:40 -0400 | [diff] [blame] | 182 | log: |
| 183 | type: onap.nodes.component |
| 184 | properties: |
| 185 | tiller-server-ip: { get_input: tiller-server-ip } |
| 186 | tiller-server-port: { get_input: tiller-server-port } |
| 187 | component-name: log |
| 188 | chart-repo-url: { get_input: chart-repo-url } |
| 189 | chart-version: { get_input: chart-version } |
| 190 | namespace: { get_input: namespace } |
| 191 | stable-repo-url: { get_input: stable-repo-url} |
| 192 | relationships: |
| 193 | - type: cloudify.relationships.connected_to |
| 194 | target: onap_env |
| 195 | |
| 196 | sniro-emulator: |
| 197 | type: onap.nodes.component |
| 198 | properties: |
| 199 | tiller-server-ip: { get_input: tiller-server-ip } |
| 200 | tiller-server-port: { get_input: tiller-server-port } |
| 201 | component-name: sniro-emulator |
| 202 | chart-repo-url: { get_input: chart-repo-url } |
| 203 | chart-version: { get_input: chart-version } |
| 204 | namespace: { get_input: namespace } |
| 205 | stable-repo-url: { get_input: stable-repo-url} |
| 206 | relationships: |
| 207 | - type: cloudify.relationships.connected_to |
| 208 | target: onap_env |
| 209 | |
| 210 | oof: |
| 211 | type: onap.nodes.component |
| 212 | properties: |
| 213 | tiller-server-ip: { get_input: tiller-server-ip } |
| 214 | tiller-server-port: { get_input: tiller-server-port } |
| 215 | component-name: oof |
| 216 | chart-repo-url: { get_input: chart-repo-url } |
| 217 | chart-version: { get_input: chart-version } |
| 218 | namespace: { get_input: namespace } |
| 219 | stable-repo-url: { get_input: stable-repo-url} |
| 220 | relationships: |
| 221 | - type: cloudify.relationships.connected_to |
| 222 | target: onap_env |
| 223 | |
| 224 | msb: |
| 225 | type: onap.nodes.component |
| 226 | properties: |
| 227 | tiller-server-ip: { get_input: tiller-server-ip } |
| 228 | tiller-server-port: { get_input: tiller-server-port } |
| 229 | component-name: msb |
| 230 | chart-repo-url: { get_input: chart-repo-url } |
| 231 | chart-version: { get_input: chart-version } |
| 232 | namespace: { get_input: namespace } |
| 233 | stable-repo-url: { get_input: stable-repo-url} |
| 234 | relationships: |
| 235 | - type: cloudify.relationships.connected_to |
| 236 | target: onap_env |
| 237 | |
| 238 | multicloud: |
| 239 | type: onap.nodes.component |
| 240 | properties: |
| 241 | tiller-server-ip: { get_input: tiller-server-ip } |
| 242 | tiller-server-port: { get_input: tiller-server-port } |
| 243 | component-name: multicloud |
| 244 | chart-repo-url: { get_input: chart-repo-url } |
| 245 | chart-version: { get_input: chart-version } |
| 246 | namespace: { get_input: namespace } |
| 247 | stable-repo-url: { get_input: stable-repo-url} |
| 248 | relationships: |
| 249 | - type: cloudify.relationships.connected_to |
| 250 | target: onap_env |
| 251 | |
| 252 | nbi: |
| 253 | type: onap.nodes.component |
| 254 | properties: |
| 255 | tiller-server-ip: { get_input: tiller-server-ip } |
| 256 | tiller-server-port: { get_input: tiller-server-port } |
| 257 | component-name: nbi |
| 258 | chart-repo-url: { get_input: chart-repo-url } |
| 259 | chart-version: { get_input: chart-version } |
| 260 | namespace: { get_input: namespace } |
| 261 | stable-repo-url: { get_input: stable-repo-url} |
| 262 | relationships: |
| 263 | - type: cloudify.relationships.connected_to |
| 264 | target: onap_env |
| 265 | |
| 266 | policy: |
| 267 | type: onap.nodes.component |
| 268 | properties: |
| 269 | tiller-server-ip: { get_input: tiller-server-ip } |
| 270 | tiller-server-port: { get_input: tiller-server-port } |
| 271 | component-name: policy |
| 272 | chart-repo-url: { get_input: chart-repo-url } |
| 273 | chart-version: { get_input: chart-version } |
| 274 | namespace: { get_input: namespace } |
| 275 | stable-repo-url: { get_input: stable-repo-url} |
| 276 | relationships: |
| 277 | - type: cloudify.relationships.connected_to |
| 278 | target: onap_env |
| 279 | |
| 280 | pomba: |
| 281 | type: onap.nodes.component |
| 282 | properties: |
| 283 | tiller-server-ip: { get_input: tiller-server-ip } |
| 284 | tiller-server-port: { get_input: tiller-server-port } |
| 285 | component-name: pomba |
| 286 | chart-repo-url: { get_input: chart-repo-url } |
| 287 | chart-version: { get_input: chart-version } |
| 288 | namespace: { get_input: namespace } |
| 289 | stable-repo-url: { get_input: stable-repo-url} |
| 290 | relationships: |
| 291 | - type: cloudify.relationships.connected_to |
| 292 | target: onap_env |
| 293 | |
| 294 | portal: |
| 295 | type: onap.nodes.component |
| 296 | properties: |
| 297 | tiller-server-ip: { get_input: tiller-server-ip } |
| 298 | tiller-server-port: { get_input: tiller-server-port } |
| 299 | component-name: portal |
| 300 | chart-repo-url: { get_input: chart-repo-url } |
| 301 | chart-version: { get_input: chart-version } |
| 302 | namespace: { get_input: namespace } |
| 303 | stable-repo-url: { get_input: stable-repo-url} |
| 304 | relationships: |
| 305 | - type: cloudify.relationships.connected_to |
| 306 | target: onap_env |
| 307 | |
| 308 | robot: |
| 309 | type: onap.nodes.component |
| 310 | properties: |
| 311 | tiller-server-ip: { get_input: tiller-server-ip } |
| 312 | tiller-server-port: { get_input: tiller-server-port } |
| 313 | component-name: robot |
| 314 | chart-repo-url: { get_input: chart-repo-url } |
| 315 | chart-version: { get_input: chart-version } |
| 316 | namespace: { get_input: namespace } |
| 317 | stable-repo-url: { get_input: stable-repo-url} |
| 318 | relationships: |
| 319 | - type: cloudify.relationships.connected_to |
| 320 | target: onap_env |
| 321 | |
| 322 | sdc: |
| 323 | type: onap.nodes.component |
| 324 | properties: |
| 325 | tiller-server-ip: { get_input: tiller-server-ip } |
| 326 | tiller-server-port: { get_input: tiller-server-port } |
| 327 | component-name: sdc |
| 328 | chart-repo-url: { get_input: chart-repo-url } |
| 329 | chart-version: { get_input: chart-version } |
| 330 | namespace: { get_input: namespace } |
| 331 | stable-repo-url: { get_input: stable-repo-url} |
| 332 | relationships: |
| 333 | - type: cloudify.relationships.connected_to |
| 334 | target: onap_env |
| 335 | |
| 336 | sdnc: |
| 337 | type: onap.nodes.component |
| 338 | properties: |
| 339 | tiller-server-ip: { get_input: tiller-server-ip } |
| 340 | tiller-server-port: { get_input: tiller-server-port } |
| 341 | component-name: sdnc |
| 342 | chart-repo-url: { get_input: chart-repo-url } |
| 343 | chart-version: { get_input: chart-version } |
| 344 | namespace: { get_input: namespace } |
| 345 | stable-repo-url: { get_input: stable-repo-url} |
| 346 | relationships: |
| 347 | - type: cloudify.relationships.connected_to |
| 348 | target: onap_env |
| 349 | |
| 350 | so: |
| 351 | type: onap.nodes.component |
| 352 | properties: |
| 353 | tiller-server-ip: { get_input: tiller-server-ip } |
| 354 | tiller-server-port: { get_input: tiller-server-port } |
| 355 | component-name: so |
| 356 | chart-repo-url: { get_input: chart-repo-url } |
| 357 | chart-version: { get_input: chart-version } |
| 358 | namespace: { get_input: namespace } |
| 359 | stable-repo-url: { get_input: stable-repo-url} |
| 360 | relationships: |
| 361 | - type: cloudify.relationships.connected_to |
| 362 | target: onap_env |
| 363 | |
| 364 | uui: |
| 365 | type: onap.nodes.component |
| 366 | properties: |
| 367 | tiller-server-ip: { get_input: tiller-server-ip } |
| 368 | tiller-server-port: { get_input: tiller-server-port } |
| 369 | component-name: uui |
| 370 | chart-repo-url: { get_input: chart-repo-url } |
| 371 | chart-version: { get_input: chart-version } |
| 372 | namespace: { get_input: namespace } |
| 373 | stable-repo-url: { get_input: stable-repo-url} |
| 374 | relationships: |
| 375 | - type: cloudify.relationships.connected_to |
| 376 | target: onap_env |
| 377 | |
| 378 | vfc: |
| 379 | type: onap.nodes.component |
| 380 | properties: |
| 381 | tiller-server-ip: { get_input: tiller-server-ip } |
| 382 | tiller-server-port: { get_input: tiller-server-port } |
| 383 | component-name: vfc |
| 384 | chart-repo-url: { get_input: chart-repo-url } |
| 385 | chart-version: { get_input: chart-version } |
| 386 | namespace: { get_input: namespace } |
| 387 | stable-repo-url: { get_input: stable-repo-url} |
| 388 | relationships: |
| 389 | - type: cloudify.relationships.connected_to |
| 390 | target: onap_env |
| 391 | |
| 392 | vid: |
| 393 | type: onap.nodes.component |
| 394 | properties: |
| 395 | tiller-server-ip: { get_input: tiller-server-ip } |
| 396 | tiller-server-port: { get_input: tiller-server-port } |
| 397 | component-name: vid |
| 398 | chart-repo-url: { get_input: chart-repo-url } |
| 399 | chart-version: { get_input: chart-version } |
| 400 | namespace: { get_input: namespace } |
| 401 | stable-repo-url: { get_input: stable-repo-url} |
| 402 | relationships: |
| 403 | - type: cloudify.relationships.connected_to |
| 404 | target: onap_env |
| 405 | |
| 406 | vnfsdk: |
| 407 | type: onap.nodes.component |
| 408 | properties: |
| 409 | tiller-server-ip: { get_input: tiller-server-ip } |
| 410 | tiller-server-port: { get_input: tiller-server-port } |
| 411 | component-name: vnfsdk |
| 412 | chart-repo-url: { get_input: chart-repo-url } |
| 413 | chart-version: { get_input: chart-version } |
| 414 | namespace: { get_input: namespace } |
| 415 | stable-repo-url: { get_input: stable-repo-url} |
| 416 | relationships: |
| 417 | - type: cloudify.relationships.connected_to |
morganrol | 372da49 | 2021-09-02 14:58:40 +0200 | [diff] [blame] | 418 | target: onap_env |