diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-07-26 14:40:56 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-07-26 14:47:38 +0800 |
commit | 19ee4c92981562586518310360a8d190877e73fb (patch) | |
tree | c89a2b05d7545b514c0fe2aad354d264bb09f91a /testapi/docker | |
parent | 6fbf0fb55e94c7e940dbd2a77c85a149b31a867e (diff) |
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 <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/docker')
-rwxr-xr-x | testapi/docker/prepare-env.sh | 1 |
1 files changed, 0 insertions, 1 deletions
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 |