diff options
author | Hansen, Tony (th1395) <th1395@att.com> | 2021-06-22 21:12:32 +0000 |
---|---|---|
committer | Hansen, Tony (th1395) <th1395@att.com> | 2021-07-01 16:42:05 +0000 |
commit | 876d17be6b1916c08fb36edcdf924859cb04e3cc (patch) | |
tree | 0ca229505a333fa20392a3cec411fa34782ffecf /onap-dcae-cbs-docker-client/Changelog.md | |
parent | 1002e423a67cc4c22846ffc333b8027230e55dcb (diff) |
support local config and policy files
* DCAEGEN2-2733/DCAEGEN2-2753 - onap-dcae-cbs-docker-client support local config and policy files
Support $CBS_CLIENT_CONFIG_PATH and $CBS_CLIENT_POLICY_PATH,
Default paths are /app-config/application_config.yaml and /etc/policies/policies.json.
If files are missing or malformed, drop back to the current behavior.
Change-Id: Iba2484f6be7fc54e412f7de302bb79a4d7bfde17
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2733
Issue-ID: DCAEGEN2-2753
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Diffstat (limited to 'onap-dcae-cbs-docker-client/Changelog.md')
-rw-r--r-- | onap-dcae-cbs-docker-client/Changelog.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/onap-dcae-cbs-docker-client/Changelog.md b/onap-dcae-cbs-docker-client/Changelog.md index c16950d..c70aff4 100644 --- a/onap-dcae-cbs-docker-client/Changelog.md +++ b/onap-dcae-cbs-docker-client/Changelog.md @@ -4,16 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [2.1.2] - 05/13/2021 +## [2.2.0] 2021/06/22 +* DCAEGEN2-2733/DCAEGEN2-2753 - onap-dcae-cbs-docker-client support local config and policy files + Support $CBS_CLIENT_CONFIG_PATH and $CBS_CLIENT_POLICY_PATH, + Default paths are /app-config/application_config.yaml and /etc/policies/policies.json. + If files are missing or malformed, drop back to the current behavior. + +## [2.1.2] - 2021/05/13 * Add service for envs present in configuration -## [2.1.1] - 04/27/2020 +## [2.1.1] - 2020/04/27 * Bug fix DCAEGEN2-2213 ConnectionError exception is lost when CBSUnreachable is raised -## [2.1.0] - 6/24/2019 +## [2.1.0] - 2019/6/24 * Add support for connecting to the CBS if it is running as HTTPS instead of HTTP -## [2.0.0] - 6/19/2019 +## [2.0.0] - 2019/6/19 * The env variable CONFIG_BINDING_SERVICE now has a different meaning per DCAEGEN2-1537. Specifically this variable now holds a resolvable hostname for the CBS, rather than a consul lookup key * Since the API was broken anyway, the decision not to throw an exception was revisted and overturned. This was causing problems for some users, who were getting `{}` back in their configuration, but without knowing why; either the config wasn't set up, the config was set but as `{}`, or the CBS being unreachable altogether. This client library now throws native python exceptions, rather than logging and returning `{}`. The application client code can handle the exceptions, and retry if they choose. * Add more tests, move fixtures to conftest |