summaryrefslogtreecommitdiffstats
path: root/blueprints/k8s-hv-ves.yaml-template
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints/k8s-hv-ves.yaml-template')
-rw-r--r--blueprints/k8s-hv-ves.yaml-template37
1 files changed, 8 insertions, 29 deletions
diff --git a/blueprints/k8s-hv-ves.yaml-template b/blueprints/k8s-hv-ves.yaml-template
index 01c14a8..8572c39 100644
--- a/blueprints/k8s-hv-ves.yaml-template
+++ b/blueprints/k8s-hv-ves.yaml-template
@@ -42,27 +42,12 @@ inputs:
type: integer
description: Network port that the platform service exposes in the container
default: 6061
- consul_host:
- type: string
- description: Consul endpoint address
- default: 'consul-server.onap'
- consul_port:
- type: integer
- description: Consul endpoint port
- default: 8500
kafka_bootstrap_servers:
type: string
default: 'message-router-kafka:9092'
- perf3gpp_domain:
- type: string
- default: 'perf3gpp'
perf3gpp_kafka_topic:
type: string
default: 'HV_VES_PERF3GPP'
- healthcheck_port:
- type: integer
- description: Network port that the HV-Ves HTTP service for performing healthcheck is running
- default: 6060
node_templates:
hv-ves:
interfaces:
@@ -70,21 +55,15 @@ node_templates:
start:
inputs:
envs:
- JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'
- VESHV_CONFIG_URL:
- { concat: [ 'http://', { get_input: consul_host }, ':', { get_input: consul_port }, '/v1/kv/', { get_input: hv_ves_name}, '?raw=true' ] }
- VESHV_LISTEN_PORT:
- { concat: [ { get_input: container_port }, '' ] }
- VESHV_HEALTH_CHECK_API_PORT:
- { concat: [ { get_input: healthcheck_port }, '' ] }
- VESHV_KAFKA_BOOTSTRAP_SERVERS:
- { get_input: kafka_bootstrap_servers }
- VESHV_SSL_DISABLE: ''
+ JAVA_OPTS: { concat: [ '-Dlogback.configurationFile=/etc/ONAP/', { get_input: hv_ves_name }, '/logback.xml' ] }
properties:
application_config:
- collector.routing:
- - fromDomain: { get_input: perf3gpp_domain }
- toTopic: { get_input: perf3gpp_kafka_topic }
+ streams_publishes:
+ perf3gpp:
+ type: kafka
+ kafka_info:
+ bootstrap_servers: { get_input: kafka_bootstrap_servers }
+ topic_name: { get_input: perf3gpp_kafka_topic }
docker_config:
healthcheck:
type: script
@@ -98,5 +77,5 @@ node_templates:
container_port: { get_input: container_port }
host_port: { get_input: host_port }
log_info:
- log_directory: '/var/log/ONAP/dcae-hv-ves-collector'
+ log_directory: { concat: [ '/var/log/ONAP/', { get_input: hv_ves_name } ] }
type: dcae.nodes.ContainerizedPlatformComponent