From 908088a44ecd1bd364ab73cac073b89c92b187f0 Mon Sep 17 00:00:00 2001 From: Tommy Carpenter Date: Tue, 23 Apr 2019 10:24:08 -0400 Subject: Do not hardcode CBS name Change-Id: I80dd0d74368528b161a37a597d07c3de242b1e3e Issue-ID: DCAEGEN2-1450 Signed-off-by: Tommy Carpenter --- onap-dcae-cbs-docker-client/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'onap-dcae-cbs-docker-client/README.md') diff --git a/onap-dcae-cbs-docker-client/README.md b/onap-dcae-cbs-docker-client/README.md index 47ec9e4..8466e50 100644 --- a/onap-dcae-cbs-docker-client/README.md +++ b/onap-dcae-cbs-docker-client/README.md @@ -1,13 +1,14 @@ # Python CBS Docker Client -Used for DCAE Dockerized microservices written in Python. Pulls your configuration from the config_binding_service. Expects that CONSUL_HOST and HOSTNAME are set as env variables, which is true in DCAE. +Used for DCAE Dockerized microservices written in Python. Pulls your configuration from the config_binding_service. Expects that CONSUL_HOST, HOSTNAME, CONFIG_BINDING_SERVICE are set as env variables, which is true in DCAE. # Client Usage ## Development outside of Docker To test your raw code without Docker, you will need to set the env variables CONSUL_HOST and HOSTNAME (name of your key to pull from) that are set in DCAEs Docker environment. 1. `CONSUL_HOST` is the hostname only of the Consul instance you are talking to -2. HOSTNAME is the name of your component in Consul +2. `HOSTNAME` is the name of your component in Consul +3. `CONFIG_BINDING_SERVICE` is the name under which the CBS is registered in Consul ## Usage in your code ``` @@ -27,4 +28,3 @@ pip install onap-dcae-cbs-docker-client ``` tox ``` - -- cgit 1.2.3-korg