From 209f8239c17c437cd15518ae4c111af4147a6a64 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Thu, 20 Sep 2018 15:15:45 -0400 Subject: 4.4.0 policy-handler - configurable consul-url - made consul-url configurable thru env var or local config consul url is taken from env var $CONSUL_URL if not provided, then from consul_url in etc/config.json if not provided, then from hardcoded value of http://consul:8500 - per request from convergence team - needed to avoid the collision between two consuls provided by ONAP/OOM/DCAE and cloudify ver >= 4.x Change-Id: Ic702c872bda3d851842ec41085480a9df200cbde Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-822 --- etc/config.json | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/config.json b/etc/config.json index aa24419..de7f6cc 100644 --- a/etc/config.json +++ b/etc/config.json @@ -1,5 +1,6 @@ { "wservice_port" : 25577, + "consul_url" : "http://consul:8500", "policy_handler" : { "system" : "policy_handler", "tls" : { -- cgit 1.2.3-korg