The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [2.11.1]
+
+* Change to policy reconfiguration functions to pass consul_host as a parameter
+
## [2.11.0]
* Add Policy Configuration Support.
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# -*- coding: utf-8 -*-
-__version__ = "2.11.0"
+__version__ = "2.11.1"
click.echo("")
return
- kvUpdated = dis.policy_update(policy_change_file)
+ kvUpdated = dis.policy_update(policy_change_file, dis.default_consul_host())
if kvUpdated:
active_profile = profiles.get_profile()
docker_logins = dis.get_docker_logins()
- command = dis.build_policy_command(policy_reconfig_path, policy_change_file)
+ command = dis.build_policy_command(policy_reconfig_path, policy_change_file, dis.default_consul_host())
# Run the Policy Reconfig script
client = du.get_docker_client(active_profile, docker_logins)
remove_config(conf_key, host)
-def policy_update(policy_change_file):
+def policy_update(policy_change_file, consul_host):
# Determine if it is an 'updated_policies' or 'removed_policies' change, or if user included ALL policies
policies = True if "policies" in policy_change_file.keys() else False
return
-def build_policy_command(policy_reconfig_path, policy_change_file):
+def build_policy_command(policy_reconfig_path, policy_change_file, consul_host):
""" Build command to execute the Policy Reconfig script in the Docker container """
# Determine if it is an 'updated_policies' and/or 'removed_policies' change, or if user included ALL policies
<groupId>org.onap.dcaegen2.platform.cli</groupId>
<artifactId>dcae-cli</artifactId>
<name>dcaegen2-platform-cli-dcae-cli</name>
- <version>2.11.0</version>
+ <version>2.11.1</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>