aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/optf-has/has/setup.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-03-15 15:53:20 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-15 15:53:20 +0000
commit889f3a26a84d0d3f38efddfc71023ec814ef4d1f (patch)
treeef05c97d4ac6b3a4520849fa6acf8b8787ae1276 /test/csit/plans/optf-has/has/setup.sh
parent1e1211339f41e99217592d021fcd4705a53a280c (diff)
parent50ee9d628b2da68cc72933b00a699bf855193eed (diff)
Merge "Integrate optf-has with music - first step"
Diffstat (limited to 'test/csit/plans/optf-has/has/setup.sh')
-rwxr-xr-xtest/csit/plans/optf-has/has/setup.sh29
1 files changed, 12 insertions, 17 deletions
diff --git a/test/csit/plans/optf-has/has/setup.sh b/test/csit/plans/optf-has/has/setup.sh
index 347399bf8..f2ae3c78b 100755
--- a/test/csit/plans/optf-has/has/setup.sh
+++ b/test/csit/plans/optf-has/has/setup.sh
@@ -15,44 +15,39 @@
# limitations under the License.
#
+
+#
+# add here eventual scripts needed for music
+#
+echo "# music scripts calling";
+source ${WORKSPACE}/test/csit/scripts/optf-has/has/music_script.sh
+
+
#
# add here eventual scripts needed for optf/has
#
-echo "##########################################################";
-echo "#";
echo "# optf/has scripts calling";
-echo "#";
-echo "##########################################################";
source ${WORKSPACE}/test/csit/scripts/optf-has/has/has_script.sh
#
# add here below the start of all docker containers needed for optf/has CSIT testing
#
-echo "##########################################################";
-echo "#";
echo "# optf/has scripts docker containers spinoff";
-echo "#";
-echo "##########################################################";
#
# add here all the configuration steps eventually needed to be carried out for optf/has CSIT testing
#
-echo "##########################################################";
-echo "#";
echo "# optf/has configuration step";
-echo "#";
-echo "##########################################################";
#
# add here all ROBOT_VARIABLES settings
#
-echo "##########################################################";
-echo "#";
echo "# optf/has robot variables settings";
-echo "#";
-echo "##########################################################";
-ROBOT_VARIABLES="-v MUSIC_HOSTNAME:http://localhost -v MUSIC_PORT:8080 -v COND_HOSTNAME:http://localhost -v COND_PORT:8091"
+echo "conductor ip = ${COND_IP}"
+echo "music ip = ${TOMCAT_IP}"
+
+ROBOT_VARIABLES="-v MUSIC_HOSTNAME:http://${TOMCAT_IP} -v MUSIC_PORT:8080 -v COND_HOSTNAME:http://${COND_IP} -v COND_PORT:8091"
echo ${ROBOT_VARIABLES}