diff options
Diffstat (limited to 'blueprints/k8s-holmes-engine.yaml')
-rw-r--r-- | blueprints/k8s-holmes-engine.yaml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/blueprints/k8s-holmes-engine.yaml b/blueprints/k8s-holmes-engine.yaml index b4238a0..8b4c3e0 100644 --- a/blueprints/k8s-holmes-engine.yaml +++ b/blueprints/k8s-holmes-engine.yaml @@ -3,6 +3,7 @@ # ============LICENSE_START==================================================== # ============================================================================= # Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2020 Nokia 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. @@ -20,7 +21,7 @@ tosca_definitions_version: cloudify_dsl_1_3 imports: - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml -- plugin:k8splugin?version=2.0.0 +- plugin:k8splugin?version=3.3.0 - plugin:dcaepolicyplugin?version=2.4.0 - plugin:pgaas?version=1.3.0 inputs: @@ -44,6 +45,12 @@ inputs: he_image: type: string default: "nexus3.onap.org:10001/onap/holmes/engine-management:1.2.6" + service_component_type: + type: string + default: "holmes-engine-mgmt" + service_id: + type: string + default: "holmes-engine-mgmt" node_templates: pgaasvm: @@ -55,7 +62,7 @@ node_templates: use_existing: true holmesengine: - type: dcae.nodes.ContainerizedPlatformComponent + type: dcae.nodes.ContainerizedServiceComponent interfaces: cloudify.interfaces.lifecycle: start: @@ -72,8 +79,8 @@ node_templates: ports: - '9102:0' properties: - name: 'holmes-engine-mgmt' - dns_name: 'holmes-engine-mgmt' + service_component_type: { get_input: service_component_type } + service_id: { get_input: service_id } application_config: msb.hostname: get_input: msb_hostname |