aboutsummaryrefslogtreecommitdiffstats
path: root/blueprints/k8s-holmes-engine.yaml
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-08-31 14:56:18 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-09-01 22:56:02 +0200
commit361de217f867d24cc067eccb303281e341e864c1 (patch)
treeb16c9fe238f94e16a69d66f72c87a059c5023fe3 /blueprints/k8s-holmes-engine.yaml
parent633af426f074ab1ae0f5b87a8a7e247812a8f698 (diff)
[DCAE] Adapt DCAE blueprints to CFY DCAE K8S plugin version 3.x.x
Issue-ID: DCAEGEN2-2386 Signed-off-by: Krzysztof Kuźmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I7f95b0c4280812e7c1897d3b97857f6331814ffa
Diffstat (limited to 'blueprints/k8s-holmes-engine.yaml')
-rw-r--r--blueprints/k8s-holmes-engine.yaml15
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