From 19ee4c92981562586518310360a8d190877e73fb Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 26 Jul 2017 14:40:56 +0800 Subject: merge swagger_base_url with ui_url TestAPI used to have only one webpage, which is swagger_ui, now a new one webportal is added, and the base url is the same (http://testresults.opnfv.org/test)for them both. This patch aim to unify the urls. Change-Id: I15295975fb05f7e8c8d413e12b2b5c0784f0799a Signed-off-by: SerenaFeng --- testapi/docker/prepare-env.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'testapi/docker/prepare-env.sh') diff --git a/testapi/docker/prepare-env.sh b/testapi/docker/prepare-env.sh index 4f1be7d..b14bc24 100755 --- a/testapi/docker/prepare-env.sh +++ b/testapi/docker/prepare-env.sh @@ -8,7 +8,6 @@ fi if [ "$base_url" != "" ]; then sudo crudini --set --existing $FILE api url $base_url/api/v1 - sudo crudini --set --existing $FILE swagger base_url $base_url sudo crudini --set --existing $FILE ui url $base_url sudo echo "{\"testapiApiUrl\": \"$base_url/api/v1\"}" > \ /usr/local/lib/python2.7/dist-packages/opnfv_testapi/static/testapi-ui/config.json -- cgit 1.2.3-korg