1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START==========================================
5 # ===================================================================
6 # Copyright © 2017 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 # ECOMP and OpenECOMP are trademarks
22 # and service marks of AT&T Intellectual Property.
25 tosca_definitions_version: cloudify_dsl_1_3
28 This blueprint deploys/manages the DCAE deployment handler as a Docker container
31 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
32 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml
33 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml
39 description: Deployment location
42 description: Target docker host
43 default: 'platform_dockerhost'
45 deployment_handler_image:
46 description: Docker image for deployment handler
47 default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.deployment-handler:2.1.5'
50 description: deployment handler application configuration (to override defaults)
54 description: root directory for logs in the Docker host file system
55 default: '/opt/onap/log'
61 type: dcae.nodes.DockerContainerForPlatforms
66 { get_input: deployment_handler_image }
68 { get_input: application_config }
80 - type: dcae.relationships.component_contained_in
83 cloudify.interfaces.lifecycle:
90 #path: { concat: [ { get_input: host_log_root }, '/dcae/deployment_handler' ] }
92 #bind: /opt/app/dh/log
97 type: dcae.nodes.SelectedDockerHost
100 { get_input: location_id }
101 docker_host_override:
102 { get_input: docker_host_override }