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 | 1cf5f3d4b246371b16bd85da7e177026034e1fbf (patch) | |
tree | d95bcd5387c0e69c7bd1fd07bb0b01f880cd5a95 /utils/test/testapi/docker | |
parent | d1db51f2a71f4a66e727fba76a0bb86c2d2c12f4 (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 'utils/test/testapi/docker')
-rwxr-xr-x | utils/test/testapi/docker/prepare-env.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/test/testapi/docker/prepare-env.sh b/utils/test/testapi/docker/prepare-env.sh index 4f1be7d6a..b14bc2448 100755 --- a/utils/test/testapi/docker/prepare-env.sh +++ b/utils/test/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 |