1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START==========================================
5 # ===================================================================
6 # Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 # ===================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END============================================
21 tosca_definitions_version: cloudify_dsl_1_3
24 This blueprint deploys/manages the DCAE deployment handler as a Docker container
27 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
28 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.1/k8splugin_types.yaml
32 deployment_handler_image:
33 description: Docker image for deployment handler
34 default: {{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.deployment-handler:3.0.0
36 description: deployment handler application configuration (to override defaults)
39 description: port on Kubernetes host where DH API will be exposed
42 description: root directory for logs in the Docker host file system
43 default: '/opt/onap/log'
49 type: dcae.nodes.ContainerizedPlatformComponent
56 { get_input: deployment_handler_image }
58 { get_input: application_config }
60 { get_input: host_port }
74 log_directory: '/opt/app/dh/log'
75 # Inject CM password through environment variable
76 # so that it does not appear in Consul
78 cloudify.interfaces.lifecycle:
82 CLOUDIFY_PASSWORD: { get_secret: cmpass }