diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2019-04-08 12:40:26 +0200 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2019-04-10 09:34:24 +0000 |
commit | 4d76345d06ee7591d839723a82026f6d8e756c65 (patch) | |
tree | 4bbf6174d9ca95001aa1bc9b4b7e6345102feae4 /development/bin/consul.sh | |
parent | d52444107a3c62c1027e35178b76645ceb4d2c4e (diff) |
Update development scripts
Change-Id: I51c6f834ea6d47d055baab81d08eb7484eebef20
Issue-ID: DCAEGEN2-1399
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'development/bin/consul.sh')
-rwxr-xr-x | development/bin/consul.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/development/bin/consul.sh b/development/bin/consul.sh index 2a6bc0f5..5f9271f2 100755 --- a/development/bin/consul.sh +++ b/development/bin/consul.sh @@ -60,22 +60,22 @@ DOMAIN=${1:-perf3gpp} TOPIC=${2:-HV_VES_PERF3GPP} CONFIGURATION="{ - "streams_publishes": { - "${DOMAIN}": { - "type": "kafka", - "kafka_info": { - "bootstrap_servers": "message-router-kafka:9092", - "topic_name": "${TOPIC}" + \"streams_publishes\": { + \"${DOMAIN}\": { + \"type\": \"kafka\", + \"kafka_info\": { + \"bootstrap_servers\": \"message-router-kafka:9092\", + \"topic_name\": \"${TOPIC}\" } } } }" -CONFIGURATION_ENDPOINT=localhost:8500/v1/kv/veshv-config +CONFIGURATION_ENDPOINT=localhost:8500/v1/kv/dcae-hv-ves-collector if [ -n "${VERBOSE+x}" ]; then echo "Configuration: ${CONFIGURATION}" - echo "Putting configuration under ${CONFIGURATION_ENDPOINT}." + echo "Putting configuration under ${CONFIGURATION_ENDPOINT}" fi curl --request PUT ${CONFIGURATION_ENDPOINT} -d "${CONFIGURATION}" echo |