aboutsummaryrefslogtreecommitdiffstats
path: root/development/bin/consul.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/bin/consul.sh')
-rwxr-xr-xdevelopment/bin/consul.sh16
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