diff options
author | 2019-07-23 13:11:26 +0530 | |
---|---|---|
committer | 2019-07-23 13:12:48 +0530 | |
commit | 683acad1b8f772a548e116771b9ada661cf78509 (patch) | |
tree | 7961856e37382d58fb613554bf620b71e44c7bf1 | |
parent | 1b8946da4b90d1391b7e2900310abc1371361cd8 (diff) |
Changed the ENV var name as per k8's config
Updated the ENV var name
Issue-ID: DCAEGEN2-1483
Change-Id: I5b72daea036f79472d8295fef92f322cf03b26c6
Signed-off-by: jegadeeshbabu1 <jegabab1@in.ibm.com>
-rw-r--r-- | dcae-analytics/dcae-analytics-model/src/main/java/org/onap/dcae/analytics/model/configbindingservice/ConfigBindingServiceConstants.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dcae-analytics/dcae-analytics-model/src/main/java/org/onap/dcae/analytics/model/configbindingservice/ConfigBindingServiceConstants.java b/dcae-analytics/dcae-analytics-model/src/main/java/org/onap/dcae/analytics/model/configbindingservice/ConfigBindingServiceConstants.java index 196b791..786765f 100644 --- a/dcae-analytics/dcae-analytics-model/src/main/java/org/onap/dcae/analytics/model/configbindingservice/ConfigBindingServiceConstants.java +++ b/dcae-analytics/dcae-analytics-model/src/main/java/org/onap/dcae/analytics/model/configbindingservice/ConfigBindingServiceConstants.java @@ -38,7 +38,7 @@ public abstract class ConfigBindingServiceConstants { public static final String CONFIG_BINDING_SERVICE_ENV_VARIABLE_KEY = "CONFIG_BINDING_SERVICE"; public static final String CONFIG_BINDING_SERVICE_ENV_VARIABLE_VALUE = System.getenv(CONFIG_BINDING_SERVICE_ENV_VARIABLE_KEY); - public static final String SERVICE_NAME_ENV_VARIABLE_KEY = "SERVICE_NAME"; + public static final String SERVICE_NAME_ENV_VARIABLE_KEY = "HOSTNAME"; public static final String SERVICE_NAME_ENV_VARIABLE_VALUE = System.getenv(SERVICE_NAME_ENV_VARIABLE_KEY); public static final String CONSUL_QUERY_URL_STRING = String.format("http://%s:8500/v1/catalog/service/%s", CONSUL_HOST_ENV_VARIABLE_VALUE, CONFIG_BINDING_SERVICE_ENV_VARIABLE_VALUE); |