summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSakala Venkata Krishna Rohit <rohitsakala@gmail.com>2017-05-20 16:25:34 +0530
committerSakala Venkata Krishna Rohit <rohitsakala@gmail.com>2017-05-21 08:22:13 +0000
commitde3bbc1853e74fca36eca61e1b19737d9fe3bd46 (patch)
tree607e69899a09517686989993474ecac3d098bc74
parent9917b3562150a25a8fa307d634d4c721bd4d3f1e (diff)
Changing urls of testapi api and resources
Change is done in reference to https://gerrit.opnfv.org/gerrit/#/c/34527/ This change will also fix the jenkins job testapi auto deploy which is failing. Change-Id: I5011718aa2bdf7e2aab0a12d406c4d0eece86972 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
-rw-r--r--jjb/releng/testapi-docker-deploy.sh2
-rw-r--r--utils/test/testapi/htmlize/htmlize.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/jjb/releng/testapi-docker-deploy.sh b/jjb/releng/testapi-docker-deploy.sh
index b4e60b09a..02c5e3a27 100644
--- a/jjb/releng/testapi-docker-deploy.sh
+++ b/jjb/releng/testapi-docker-deploy.sh
@@ -4,7 +4,7 @@ function check() {
# Verify hosted
sleep 5
- cmd=`curl -s --head --request GET http://testresults.opnfv.org/test/swagger/spec | grep '200 OK' > /dev/null`
+ cmd=`curl -s --head --request GET http://testresults.opnfv.org/test/swagger/APIs | grep '200 OK' > /dev/null`
rc=$?
echo $rc
diff --git a/utils/test/testapi/htmlize/htmlize.py b/utils/test/testapi/htmlize/htmlize.py
index b8c4fb43f..4576d9bb0 100644
--- a/utils/test/testapi/htmlize/htmlize.py
+++ b/utils/test/testapi/htmlize/htmlize.py
@@ -40,13 +40,13 @@ if __name__ == '__main__':
type=str,
required=False,
default=('http://testresults.opnfv.org'
- '/test/swagger/spec.json'),
+ '/test/swagger/resources.json'),
help='Resource Listing Spec File')
parser.add_argument('-au', '--api-declaration-url',
type=str,
required=False,
default=('http://testresults.opnfv.org'
- '/test/swagger/spec'),
+ '/test/swagger/APIs'),
help='API Declaration Spec File')
parser.add_argument('-o', '--output-directory',
required=True,