diff options
author | Alex Shatov <alexs@att.com> | 2018-03-27 17:12:31 -0400 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2018-03-27 17:12:31 -0400 |
commit | 768c68b6fa25ab2faa9f7dbffdae2cbb2bd6e218 (patch) | |
tree | cef25ca671633f9e4e2d6b784cd5ad8b1970d0dd /k8s/k8splugin | |
parent | 342c2890e9b46b483244773b2337c8f56ae9bd0d (diff) |
2.2.1 dcaepolicyplugin and data types
- trying to avoid changing code for k8s deployment of
policy-handler with unknown url to MSB or policy-handler
at the moment
- expecting optional manual population of the consul-kv
with config data for dcaepolicyplugin
- when not found service for policy-handler in consul
-- try finding config for "dcaepolicyplugin" in consul-kv
-- the config structure is expected to contain
url to policy_handler
- example of config value for key=dcaepolicyplugin:
{
"dcaepolicyplugin" : {
"policy_handler" : {
"url" : "http://policy-handler:25577"
}
}
}
- still drop down to hardcoded default when this config
not found in consul-kv
- added and refactored unit tests for discovery -- coverage 78%
- making code more PEP8 compliant
Change-Id: Ia176b54ed62631baa30d614785d1937023408ddf
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-419
Diffstat (limited to 'k8s/k8splugin')
0 files changed, 0 insertions, 0 deletions