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 /dcae-policy/pom.xml | |
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 'dcae-policy/pom.xml')
-rw-r--r-- | dcae-policy/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dcae-policy/pom.xml b/dcae-policy/pom.xml index 90a0e7a..b46e9b8 100644 --- a/dcae-policy/pom.xml +++ b/dcae-policy/pom.xml @@ -28,7 +28,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <groupId>org.onap.dcaegen2.platform.plugins</groupId> <artifactId>dcae-policy</artifactId> <name>dcae-policy-plugin</name> - <version>2.2.0-SNAPSHOT</version> + <version>2.2.1-SNAPSHOT</version> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |