summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-09-10 18:15:49 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-09-10 18:15:49 +0800
commitaddd081a91a85d038c042f91bcf0f56a838a9c68 (patch)
tree989c6f29f645c810af36fb72e704098bd3ec9e1b /rulemgt-standalone/src
parentfe82105b379a26dae3d552b483965833f10fe4b9 (diff)
Added health check url to MSB registration
Change-Id: I2ccd68ca20b88be3179058cd0f29055cdf442946 Issue-ID: HOLMES-130 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/initDB.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh
index 82fbea6..46fb1e6 100644
--- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh
@@ -22,7 +22,7 @@ password=$2
dbname=$3
port=$4
host=$5
-echo "start init holmes rulemgt db"
+echo "Initializing the holmes rule management database..."
main_path=$HOME/..
sed -i "s|DBNAME|$dbname|g" "$main_path/dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql"
@@ -42,8 +42,8 @@ sql_result=$?
unset PGPASSWORD
echo "sql_result=$sql_result"
if [ $sql_result != 0 ] ; then
- echo "failed to init rulemgt database!"
+ echo "Failed to initialize the database!"
exit 1
fi
-echo "init rulemgt success!"
+echo "The database is initialized successfully!"
exit 0