diff options
author | Lusheng Ji <lji@research.att.com> | 2017-10-10 16:48:05 +0000 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-10-10 16:48:13 +0000 |
commit | 65c8ff8a76266aaa6fc7408281b45fbb7334661d (patch) | |
tree | c5307d13c07ea3c19ba74beb822576ac44058e0d /blueprints/config_binding_service.yaml-template | |
parent | fb2e443685348e92afb1ecb0d4328ac0bae45c80 (diff) |
Use new plugin location in configbinding bp
Issue-Id: DCAEGEN2-128
Change-Id: Iaca5152df8691d5b762f940e7d575004fefe9f55
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'blueprints/config_binding_service.yaml-template')
-rw-r--r-- | blueprints/config_binding_service.yaml-template | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/blueprints/config_binding_service.yaml-template b/blueprints/config_binding_service.yaml-template new file mode 100644 index 0000000..a90823e --- /dev/null +++ b/blueprints/config_binding_service.yaml-template @@ -0,0 +1,64 @@ +# -*- indent-tabs-mode: nil -*- # vi: set expandtab: +# +# ============LICENSE_START==================================================== +# org.onap.dcae +# ============================================================================= +# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. +# ============================================================================= +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END====================================================== + +tosca_definitions_version: cloudify_dsl_1_3 + +description: > + This blueprint installs the config binding service + +imports: + - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml + - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/dockerplugin/2/dockerplugin_types.yaml + - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/type_files/relationshipplugin/1/relationshipplugin_types. +yaml +inputs: + location_id: + type: string + default: "" + + docker_host_override: + description: Target docker host to deploy applications to + default: 'platform_dockerhost' + +node_templates: + # Config binding service + service-config-binding: + type: dcae.nodes.DockerContainerForPlatforms + properties: + name: 'config_binding_service' + host_port: 10000 + container_port: 10000 + image: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.configbinding:1.2-latest" + docker_config: + healthcheck: + type: "http" + endpoint: "/healthcheck" + + relationships: + - type: dcae.relationships.component_contained_in + target: docker_host + + docker_host: + type: dcae.nodes.SelectedDockerHost + properties: + location_id: + { get_input: location_id } + docker_host_override: + { get_input: docker_host_override } |