From 35b3b01521cef7c4f89931e8e89841196f82e1ad Mon Sep 17 00:00:00 2001 From: "Hansen, Tony (th1395)" Date: Tue, 23 May 2023 21:27:17 +0000 Subject: clean up some sphinx warnings Change-Id: I8c2d925e8b27b4740227af0be3ab5d6f7153ec38 Signed-off-by: Hansen, Tony (th1395) Issue-ID: DCAEGEN2-3399 Signed-off-by: Hansen, Tony (th1395) Signed-off-by: Vijay Venkatesh Kumar Signed-off-by: Hansen, Tony (th1395) (cherry picked from commit 663df2c1b8d9176094a62b00b7e80de096180621) Signed-off-by: Vijay Venkatesh Kumar --- .../sections/services/heartbeat-ms/build_setup.rst | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'docs/sections/services/heartbeat-ms/build_setup.rst') diff --git a/docs/sections/services/heartbeat-ms/build_setup.rst b/docs/sections/services/heartbeat-ms/build_setup.rst index 5df47234..e1465dcd 100644 --- a/docs/sections/services/heartbeat-ms/build_setup.rst +++ b/docs/sections/services/heartbeat-ms/build_setup.rst @@ -25,7 +25,7 @@ Docker build procedure Clone the code using below command :: - git clone --depth 1 https://gerrit.onap.org/r/dcaegen2/services/heartbeat + git clone --depth 1 https://gerrit.onap.org/r/dcaegen2/services/heartbeat give executable permission to mvn-phase-script.sh if not there already @@ -54,10 +54,10 @@ CBS polling. The following environment variables are to be set.** consumerID=1 If the postgres parameters are not there in environment setting file, - then it takes the values from miss_htbt_service/config/hbproperties.yaml - file. Make sure that postgres running in the machine where pg_ipAddress - parameter is mentioned. - + then it takes the values from miss_htbt_service/config/hbproperties.yaml + file. Make sure that postgres running in the machine where pg_ipAddress + parameter is mentioned. + Run below netstat command to check postgres port number and IP address are fine. :: @@ -75,7 +75,7 @@ CBS polling. The following environment variables are to be set.** are as follows :: - + pg_ipAddress: 10.0.4.1 pg_portNum: 5432 pg_userName: postgres @@ -89,25 +89,25 @@ CBS polling. The following environment variables are to be set.** correctly. Usually groupID remains the same for all instance of HB where as consumerID would be changed for each instance of HB Micro service. If groupID and consumerID is not provided, then it takes - “DefaultGroup” and “1” respectively. + "DefaultGroup" and "1" respectively. **Setting CBS configuration parameters using the consule KV URL.** The sample consul KV is as below. :: - + http://10.12.6.50:8500/ui/#/dc1/kv/mvp-dcaegen2-heartbeat-static Go to the above link and click on KEY/VALUE tab Click on mvp-dcaegen2-heartbeat-static - Copy the configuration in the box provided and click on update. - + Copy the configuration in the box provided and click on update. + The sample configuration is as below - + .. code-block:: json - + { "heartbeat_config": { "vnfs": [{ @@ -177,7 +177,7 @@ mentioned in the above section.** heartbeat.test1:latest To check the logs, run below command - + :: sudo Docker logs -f hb1 @@ -191,17 +191,17 @@ mentioned in the above section.** sudo Docker ps -a \| grep heartbeat.test1 Run below commands to stop the Docker run - + :: - + sudo Docker stop