diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2019-04-10 14:28:53 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2019-04-10 18:01:28 +0530 |
commit | 2896a24832902865313cd16081bba8b2d079748f (patch) | |
tree | feb17dfb42f15d1f33dc76363aa5ce5835ded445 /README.md | |
parent | 80b0c61808d0958ef7d38a772a206f2c17dfd2a5 (diff) |
Fix bugs and formatting issues
Added minor functionality changes
License formatting fixed
Change-Id: Ieed4aab7562256eaf15627de0cee53cfe1cc8956
Issue-ID: DCAEGEN2-1111
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..65e28af --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +SONHMS + +### Build Instructions + +This project is organized as a mvn project and has "org.onap.dcaegen2" as parent project. The build generate a jar and package into docker container. + +``` +git clone https://gerrit.onap.org/r/dcaegen2/services/son-handler +mvn clean install +``` + + +### Environment variables in Docker Container + + +Variables coming from deployment system: + +- APP_NAME - son-handler application name that will be registered with consul +- CONSUL_PROTOCOL - Consul protocol by default set to **http**, if it is need to change it then that can be set to different value +- CONSUL_HOST - used with conjunction with CBSPOLLTIMER, should be a host address (without port! e.g my-ip-or-host) where Consul service lies +- CBS_PROTOCOL - Config Binding Service protocol by default set to **http**, if it is need to change it then that can be set to different value +- CONFIG_BINDING_SERVICE - used with conjunction with CBSPOLLTIMER, should be a name of CBS as it is registered in Consul +- HOSTNAME - used with conjunction with CBSPOLLTIMER, should be a name of sonhms application as it is registered in CBS catalog + +### Release images +For R1 - image/version pushed to nexus3 +``` +nexus3.onap.org:10001/snapshots/onap/org.onap.dcaegen2.services.son-handler 1.0.0 +``` + +### Deployment +son handler can be manually deployed in dcae environment using cloudify blueprint. + +login to bootstrap container in dcae deployment + +To install : + cfy install -b sonhms -d sonhms -i <inputs filepath> <blueprint filepath> + +To uninstall: + cfy uninstall sonhms + cfy blueprints delete sonhms + + |