Add yaml load and key delete to consul-loader-container 57/117557/3
authorJack Lucas <jflos@sonoris.net>
Fri, 5 Feb 2021 17:10:28 +0000 (12:10 -0500)
committerJack Lucas <jflos@sonoris.net>
Fri, 5 Feb 2021 17:17:08 +0000 (12:17 -0500)
commitb65d4c1fc374af0f4b3bb5ea55641efd88f65ab3
tree12870005f11e84889427732d3e2e36d282326c37
parent7b6c642e4c7bb77d6029a2c06ef3e66e0e19c7e1
Add yaml load and key delete to consul-loader-container

Enhance Consul loader to:
   -- Convert YAML configuration files to JSON before storing the configuration into Consul
   -- Provide an option to delete a Consul key so that a component's configuration can be
      removed from Consul when the component is undeployed.
Use the ONAP integration team's Python image (integration-python:8.0.0) as base image.

Issue-ID: DCAEGEN2-2616
Issue-ID: DCAEGEN2-2488
Signed-off-by: Jack Lucas <jflos@sonoris.net>
Change-Id: Iaa45a03e805f64e12881f142de2fa206fb816175
consul-loader-container/Changelog.md [new file with mode: 0644]
consul-loader-container/Dockerfile
consul-loader-container/consul_store.sh
consul-loader-container/pom.xml
consul-loader-container/yaml2json.py [new file with mode: 0755]