diff options
Diffstat (limited to 'blueprints/k8s-ves.yaml-template')
-rw-r--r-- | blueprints/k8s-ves.yaml-template | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/blueprints/k8s-ves.yaml-template b/blueprints/k8s-ves.yaml-template index 9ef11d4..021e21e 100644 --- a/blueprints/k8s-ves.yaml-template +++ b/blueprints/k8s-ves.yaml-template @@ -1,9 +1,8 @@ # -*- indent-tabs-mode: nil -*- # vi: set expandtab: # -# ============LICENSE_START==================================================== -# org.onap.dcae +# ============LICENSE_START====================================================s # ============================================================================= -# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018 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. @@ -23,7 +22,7 @@ tosca_definitions_version: cloudify_dsl_1_3 imports: - "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml" - - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.0.0/k8splugin_types.yaml + - {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.0.0/k8splugin_types.yaml inputs: ves_other_publish_url: @@ -40,23 +39,20 @@ inputs: default: "http://10.0.11.1:3904/events/unauthenticated.SEC_MEASUREMENT_OUTPUT" tag_version: type: string - default: {{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.1-latest + default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.2.0" external_port: type: string description: Kubernetes node port on which collector is exposed default: "0" - node_templates: - ves: interfaces: cloudify.interfaces.lifecycle: start: inputs: ports: - - concat: ["8080:", { get_input: external_port }] + - concat: ["8080:", { get_input: external_port }] properties: - always_pull_image: True application_config: collector.dmaap.streamid: fault=ves_fault|syslog=ves_syslog|heartbeat=ves_heartbeat|measurementsForVfScaling=ves_measurement|mobileFlow=ves_mobileflow|other=ves_other|stateChange=ves_statechange|thresholdCrossingAlert=ves_thresholdCrossingAlert|voiceQuality=ves_voicequality|sipSignaling=ves_sipsignaling collector.inputQueue.maxPending: "8096" @@ -89,11 +85,9 @@ node_templates: interval: 15s timeout: 1s type: http - image: + image: get_input: tag_version + service_component_type: dcaegen2-collectors-ves log_info: log_directory: "/opt/app/VESCollector/logs/ecomp" - - service_component_type: dcaegen2-collectors-ves - type: dcae.nodes.ContainerizedServiceComponentUsingDmaap |