Vijay Venkatesh Kumar | 939daa0 | 2019-04-04 23:08:05 +0000 | [diff] [blame] | 1 | # ============LICENSE_START========================================== |
| 2 | # =================================================================== |
| 3 | # Copyright (c) 2019 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: |
Jack Lucas | b3eebb8 | 2020-01-10 13:24:50 -0500 | [diff] [blame] | 20 | - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml |
Jack Lucas | bad7720 | 2020-02-03 18:21:29 -0500 | [diff] [blame] | 21 | - "https://nexus.onap.org/service/local/repositories/raw/content/org.onap.ccsdk.platform.plugins/type_files/helm/4.0.0/helm-type.yaml" |
Vijay Venkatesh Kumar | 939daa0 | 2019-04-04 23:08:05 +0000 | [diff] [blame] | 22 | |
| 23 | inputs: |
| 24 | tiller-server-ip: |
| 25 | description: IP address of Kubernetes master node |
| 26 | tiller-server-port: |
| 27 | description: Nodeport of tiller server |
| 28 | namespace: |
| 29 | description: Target namespace to be installed under (requires to be new) |
| 30 | chart-repo-url: |
| 31 | default: https://nexus.onap.org/content/sites/oom-helm-staging |
| 32 | chart-version : |
| 33 | description: Chart version for identified component-name |
| 34 | stable-repo-url: |
| 35 | description: URL for stable repository |
| 36 | type: string |
| 37 | default: 'https://kubernetes-charts.storage.googleapis.com' |
| 38 | config-url: |
| 39 | default: '' |
| 40 | config-format: |
| 41 | default: 'yaml' |
| 42 | component-name: |
| 43 | description: onap component name |
| 44 | node_templates: |
| 45 | onap_env: |
| 46 | type: onap.nodes.component |
| 47 | properties: |
| 48 | tiller-server-ip: { get_input: tiller-server-ip } |
| 49 | tiller-server-port: { get_input: tiller-server-port } |
| 50 | component-name: onap |
| 51 | chart-repo-url: { get_input: chart-repo-url } |
| 52 | chart-version: { get_input: chart-version } |
| 53 | namespace: { get_input: namespace } |
| 54 | stable-repo-url: { get_input: stable-repo-url} |
| 55 | 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}, "esr": {"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} }' |
| 56 | |
| 57 | dcaecomponent: |
| 58 | type: onap.nodes.component |
| 59 | properties: |
| 60 | tiller-server-ip: { get_input: tiller-server-ip } |
| 61 | tiller-server-port: { get_input: tiller-server-port } |
| 62 | component-name: { get_input: component-name } |
| 63 | chart-repo-url: { get_input: chart-repo-url } |
| 64 | chart-version: { get_input: chart-version } |
| 65 | namespace: { get_input: namespace } |
| 66 | stable-repo-url: { get_input: stable-repo-url} |
| 67 | config-url: { get_input: config-url} |
| 68 | config-format: { get_input: config-format} |
| 69 | relationships: |
| 70 | - type: cloudify.relationships.connected_to |
| 71 | target: onap_env |
| 72 | outputs: |
| 73 | dcaecomponent_install_status: |
| 74 | value: { get_attribute: [ dcaecomponent, install-status ] } |
| 75 | |