aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installation.rst
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2019-04-08 14:52:08 +0000
committerefiacor <fiachra.corcoran@est.tech>2019-04-08 14:52:08 +0000
commit0fa019897cb79de1def349b8fd0b660d1951681a (patch)
tree09eed0ee4e1226c63e06bf8c782a4e1627850a64 /docs/installation.rst
parent7704d3079906a4fb51cd58f12d56bd3100fca6b2 (diff)
Adding docs for CADI
Change-Id: If3324973a2e41ca0d98804cb8e6520fc1beccfe9 Issue-ID: DMAAP-1016 Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Diffstat (limited to 'docs/installation.rst')
-rw-r--r--docs/installation.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
new file mode 100644
index 00000000..95cda4e1
--- /dev/null
+++ b/docs/installation.rst
@@ -0,0 +1,51 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+Installation
+=============
+
+**Standalone**
+Pre-requisites:
+
+* docker 18.09.3 or higher.
+* docker-compose 1.17.1 or higher.
+* Ensure port 8080 is not already in use.
+
+1. Clone the DMaaP Data Router project from ONAP gerrit:
+
+.. code-block:: bash
+
+ git clone https://gerrit.onap.org/r/dmaap/datarouter
+
+2. Move/cd to the docker-compose directory and execute the following:
+
+.. code-block:: bash
+
+ cd datarouter/datarouter-docker-compose/src/main/resources/
+
+ docker-compose up -d
+
+
+The following docker containers should be deployed successfully:
+
+.. code-block:: bash
+
+ docker ps --format '{{.Image}}'
+
+ nexus3.onap.org:10001/onap/dmaap/datarouter-node
+ nexus3.onap.org:10001/onap/dmaap/datarouter-prov
+ nexus3.onap.org:10001/onap/dmaap/datarouter-subscriber
+ mariadb:10.2.14
+
+
+To verify that the provisioning API is active, get the IP of the datarouter-prov container:
+
+.. code-block:: bash
+
+ docker inspect --format '{{ .NetworkSettings.Networks.resources_testing_net.IPAddress }}' datarouter-prov
+
+and execute the following CURL command:
+
+.. code-block:: bash
+
+ curl -k https://{DR_PROV_CONTAINER_IP}:8443/internal/prov \ No newline at end of file