Changing urls of testapi api and resources 87/35087/2
authorSakala Venkata Krishna Rohit <rohitsakala@gmail.com>
Sat, 20 May 2017 10:55:34 +0000 (16:25 +0530)
committerSakala Venkata Krishna Rohit <rohitsakala@gmail.com>
Sun, 21 May 2017 08:22:13 +0000 (08:22 +0000)
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>
jjb/releng/testapi-docker-deploy.sh
utils/test/testapi/htmlize/htmlize.py

index b4e60b0..02c5e3a 100644 (file)
@@ -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
 
index b8c4fb4..4576d9b 100644 (file)
@@ -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,