diff options
author | Tommy Carpenter <tommy@research.att.com> | 2019-04-23 10:24:08 -0400 |
---|---|---|
committer | Tommy Carpenter <tommy@research.att.com> | 2019-04-23 10:43:11 -0400 |
commit | 908088a44ecd1bd364ab73cac073b89c92b187f0 (patch) | |
tree | 13fcf3a533638d9755e62688041cd8ebbe74da2a /onap-dcae-cbs-docker-client/README.md | |
parent | 3774d36e76ec5cca17ae2588e65e2a990a32ad87 (diff) |
Do not hardcode CBS name4.0.0-ONAPdublin
Change-Id: I80dd0d74368528b161a37a597d07c3de242b1e3e
Issue-ID: DCAEGEN2-1450
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'onap-dcae-cbs-docker-client/README.md')
-rw-r--r-- | onap-dcae-cbs-docker-client/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 ``` - |