From 66eb5914690c77071c578d1a9c79a591d393fd09 Mon Sep 17 00:00:00 2001 From: vv770d Date: Sat, 13 Feb 2021 00:32:21 +0000 Subject: Blueprint update for DL-Feeder/DL-Admin/SNMPTrap - Switch to use dcae.nodes.ContainerizedServiceComponent - Revise import to use k8s plugin range Change-Id: I4cea6c64c476678f4f7dde7be50bbe5b6b321a8d Signed-off-by: vv770d Issue-ID: DCAEGEN2-2493 Signed-off-by: vv770d --- blueprints/k8s-datalake-admin-ui.yaml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'blueprints/k8s-datalake-admin-ui.yaml') diff --git a/blueprints/k8s-datalake-admin-ui.yaml b/blueprints/k8s-datalake-admin-ui.yaml index 7c663ca..ebc639a 100644 --- a/blueprints/k8s-datalake-admin-ui.yaml +++ b/blueprints/k8s-datalake-admin-ui.yaml @@ -1,6 +1,7 @@ # ============LICENSE_START==================================================== # ============================================================================= -# Copyright (C) 2020 QCT +# Copyright (C) 2020 QCT. All rights reserved. +# Copyright (C) 2021 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. @@ -20,8 +21,8 @@ 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:dcaepolicyplugin?version=2.4.0 + - plugin:k8splugin?version=>=3.4.3,<4.0.0 + inputs: image_name: description: datalake feeder image URL. @@ -35,9 +36,19 @@ inputs: type: string description: external port default: "30479" + service_component_type: + type: string + default: "dcae-dl-admin" + service_id: + type: string + default: "dcae-dl-admin" + service_component_name_override: + type: string + default: "dcae-dl-admin" + node_templates: datalake: - type: dcae.nodes.ContainerizedPlatformComponent + type: dcae.nodes.ContainerizedServiceComponent interfaces: cloudify.interfaces.lifecycle: start: @@ -56,6 +67,7 @@ node_templates: endpoint: / image: get_input: image_name - dns_name: "dl-admin-ui" - name: datalake-admin-ui + service_component_type: { get_input: service_component_type } + service_id: { get_input: service_id } + service_component_name_override: { get_input: service_component_name_override } -- cgit 1.2.3-korg