1 # -*- indent-tabs-mode: nil -*- # vi: set expandtab:
3 # ============LICENSE_START=======================================================
4 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
19 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 tosca_definitions_version: cloudify_dsl_1_3
24 This blueprint deploys/manages the DCAE policy-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 }}/type_files/dockerplugin/3/dockerplugin_types.yaml
29 - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/relationshipplugin/1.0.0/relationshipplugin_types.yaml
34 description: Deployment location
37 description: Target docker host
38 default: 'platform_dockerhost'
41 description: Docker image for policy_handler
42 default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:2.4.5'
45 description: policy handler application configuration - requires info on policy-engine
50 type: dcae.nodes.DockerContainerForPlatforms
52 name: 'policy_handler'
53 image: { get_input: policy_handler_image }
54 application_config: { get_input: application_config }
60 endpoint: '/healthcheck'
62 - type: dcae.relationships.component_contained_in
67 type: dcae.nodes.SelectedDockerHost
69 location_id: { get_input: location_id }
70 docker_host_override: { get_input: docker_host_override }