summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/mapper/installation.rst
diff options
context:
space:
mode:
authorPooja03 <pm00501616@techmahindra.com>2018-11-02 20:20:57 +0530
committerPooja03 <pm00501616@techmahindra.com>2018-11-02 20:20:57 +0530
commit91e472c8640d9d6364c311474b15e9c9a95a0e9f (patch)
tree87be09d0a3a028340e14defb4dbff2984477f28f /docs/sections/services/mapper/installation.rst
parentb54e37f7bb134b46f85fdaf5f7d161b6622ba0f1 (diff)
Adding Documentation of Mapper
Adding documentation of Mapper on readthedocs Change-Id: I80ec21296ec42ef21552a9e93839ca5209a27a58 Issue-ID: DCAEGEN2-936 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
Diffstat (limited to 'docs/sections/services/mapper/installation.rst')
-rw-r--r--docs/sections/services/mapper/installation.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/sections/services/mapper/installation.rst b/docs/sections/services/mapper/installation.rst
new file mode 100644
index 00000000..1d05ebb8
--- /dev/null
+++ b/docs/sections/services/mapper/installation.rst
@@ -0,0 +1,48 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. Copyright 2018 Tech Mahindra Ltd.
+
+
+Installation
+============
+Currently both Universal VES Adapter and SnmpMapper are not integrated with CONFIG_BINDING_SERVICE to get their configuration. All the required configuration needs to be passed as docker environment parameters.
+
+| **Universal Ves Adapter**
+
+ To run Universal Ves Adapter container on standalone mode, following docker environment parameters are required.
+
+
+- DMAAPHOST - Should contain an address to DMaaP, so that event publishing can work
+- MR_PORT - DMaaP Exposed Port
+- URL_JDBC - JDBC URL where postgres db is installed
+- JDBC_USERNAME - Username for postgres DB user
+- JDBC_PASSWORD - Password for postgres DB user
+- CONSUL_HOST - a host address where Consul service lies
+- CONFIG_BINDING_SERVICE - name of CBS as it is registered in Consul
+- HOSTNAME - name of Universal Ves Adapter application as it is registered in CBS catalog
+
+Sample docker run command could be -
+
+ ``docker run -d -p 8085:8085/tcp -e URL_JDBC=jdbc:postgresql://10.53.172.138:5432/postgres -e JDBC_USERNAME=postgres -e JDBC_PASSWORD=root -e DMAAPHOST=10.53.172.156 -e CONSUL_HOST=10.53.172.109 -e HOSTNAME=static-dcaegen2-services-mua -e MR_DEFAULT_PORT_NUMBER=3904 -e CONFIG_BINDING_SERVICE=config_binding_service nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.mapper.vesadapter.universalvesadaptor:latest``
+
+Note: you should have a postgresql and DMaap instance running in your system and provide their credentials and hostname to run in standalone mode.
+
+
+
+
+| **SnmpMapper**
+
+- To run SnmpMapper container on standalone mode, following docker environment parameters are required.
+
+- DMAAPHOST-should contain an address to DMaaP, this will be used in future reference
+- MR_PORT - DMaaP Exposed Port
+- URL_JDBC- JDBC URL where postgres db is installed
+- JDBC_USERNAME- Username for postgres DB user
+- JDBC_PASSWORD-Password for postgres DB user
+- CONSUL_HOST - a host address where Consul service lies
+- CONFIG_BINDING_SERVICE - name of CBS as it is registered in Consul
+- HOSTNAME - name of Universal Ves Adapter application as it is registered in CBS catalog
+
+Sample docker run command could be -
+
+ ``docker run -d -p 8084:8080/tcp -e URL_JDBC=jdbc:postgresql://10.53.172.138:5432/postgres -e JDBC_USERNAME=postgres -e JDBC_PASSWORD=root -e DMAAPHOST=10.53.172.156 -e CONSUL_HOST=10.53.172.109 -e HOSTNAME=static-dcaegen2-services-msnmp -e MR_DEFAULT_PORT_NUMBER=3904 -e CONFIG_BINDING_SERVICE=config_binding_service nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.mapper.snmpmapper:latest``