From e21c848562599340a99fc216bdaae97686d92a72 Mon Sep 17 00:00:00 2001 From: VENKATESH KUMAR Date: Thu, 12 Nov 2020 15:00:02 -0500 Subject: DCAE doc cleanup warnings Change-Id: I39daca57d4754abe0db56a7f85e7274a5f45ad74 Signed-off-by: VENKATESH KUMAR Issue-ID: DCAEGEN2-2141 Signed-off-by: VENKATESH KUMAR --- docs/sections/services/heartbeat-ms/build_setup.rst | 7 ++++++- docs/sections/services/heartbeat-ms/testprocedure.rst | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'docs/sections/services/heartbeat-ms') diff --git a/docs/sections/services/heartbeat-ms/build_setup.rst b/docs/sections/services/heartbeat-ms/build_setup.rst index 6033affc..5df47234 100644 --- a/docs/sections/services/heartbeat-ms/build_setup.rst +++ b/docs/sections/services/heartbeat-ms/build_setup.rst @@ -95,7 +95,8 @@ CBS polling. The following environment variables are to be set.** The sample consul KV is as below. :: - http://10.12.6.50:8500/ui/#/dc1/kv/mvp-dcaegen2-heartbeat-static + + http://10.12.6.50:8500/ui/#/dc1/kv/mvp-dcaegen2-heartbeat-static Go to the above link and click on KEY/VALUE tab @@ -164,18 +165,21 @@ CBS polling. The following environment variables are to be set.** To check whether image is built or not, run below command :: + sudo Docker images |grep heartbeat.test1 **Run the Docker using below command which uses the environment file mentioned in the above section.** :: + sudo Docker run -d --name hb1 --env-file env.list heartbeat.test1:latest To check the logs, run below command :: + sudo Docker logs -f hb1 **To stop the Docker run** @@ -198,6 +202,7 @@ mentioned in the above section.** To run the maven build, execute any one of them. :: + sudo mvn -s settings.xml deploy OR sudo mvn -s settings.xml -X deploy diff --git a/docs/sections/services/heartbeat-ms/testprocedure.rst b/docs/sections/services/heartbeat-ms/testprocedure.rst index a7c6f799..c312ee51 100644 --- a/docs/sections/services/heartbeat-ms/testprocedure.rst +++ b/docs/sections/services/heartbeat-ms/testprocedure.rst @@ -12,6 +12,7 @@ Login into postgres DB Run below commands to login into postgres DB and connect to HB Micro service DB. :: + sudo su postgres psql \l hb_vnf @@ -19,6 +20,7 @@ Run below commands to login into postgres DB and connect to HB Micro service DB. Sample output is as below :: + ubuntu@r3-dcae:~$ sudo su postgres postgres@r3-dcae:/home/ubuntu$ psql psql (9.5.14) -- cgit 1.2.3-korg