summaryrefslogtreecommitdiffstats
path: root/testapi/3rd_party
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-12 18:33:00 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-17 16:43:12 +0800
commit74a3b45c290d1b6e289ac1c3b9425e804e2f0ab7 (patch)
tree905343c0fbd8114b1619641dcf359e2cd3fc1928 /testapi/3rd_party
parentde3ac5fcdb1259df876df53d93b4166011fae79b (diff)
refactor static_path to accomodate web portal
move tornado_swagger/static to opnfv_testapi/static move swagger related 3rd libs to 3rd_party/swagger Change-Id: I32bba10584c99d13687b93f32577e37581db0c63 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/3rd_party')
-rw-r--r--testapi/3rd_party/static/.gitignore1
-rw-r--r--testapi/3rd_party/static/swagger/css/highlight.default.css (renamed from testapi/3rd_party/static/css/highlight.default.css)0
-rw-r--r--testapi/3rd_party/static/swagger/css/hightlight.default.css (renamed from testapi/3rd_party/static/css/hightlight.default.css)0
-rw-r--r--testapi/3rd_party/static/swagger/css/screen.css (renamed from testapi/3rd_party/static/css/screen.css)0
-rw-r--r--testapi/3rd_party/static/swagger/endpoint.html (renamed from testapi/3rd_party/static/endpoint.html)0
-rw-r--r--testapi/3rd_party/static/swagger/images/explorer_icons.png (renamed from testapi/3rd_party/static/images/explorer_icons.png)bin5763 -> 5763 bytes
-rw-r--r--testapi/3rd_party/static/swagger/images/logo_small.png (renamed from testapi/3rd_party/static/images/logo_small.png)bin770 -> 770 bytes
-rw-r--r--testapi/3rd_party/static/swagger/images/pet_store_api.png (renamed from testapi/3rd_party/static/images/pet_store_api.png)bin824 -> 824 bytes
-rw-r--r--testapi/3rd_party/static/swagger/images/throbber.gif (renamed from testapi/3rd_party/static/images/throbber.gif)bin9257 -> 9257 bytes
-rw-r--r--testapi/3rd_party/static/swagger/images/wordnik_api.png (renamed from testapi/3rd_party/static/images/wordnik_api.png)bin980 -> 980 bytes
-rw-r--r--testapi/3rd_party/static/swagger/index.html (renamed from testapi/3rd_party/static/index.html)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/backbone-min.js (renamed from testapi/3rd_party/static/lib/backbone-min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/handlebars-1.0.0.js (renamed from testapi/3rd_party/static/lib/handlebars-1.0.0.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/highlight.7.3.pack.js (renamed from testapi/3rd_party/static/lib/highlight.7.3.pack.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/jquery-1.8.0.min.js (renamed from testapi/3rd_party/static/lib/jquery-1.8.0.min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/jquery.ba-bbq.min.js (renamed from testapi/3rd_party/static/lib/jquery.ba-bbq.min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js (renamed from testapi/3rd_party/static/lib/jquery.slideto.min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/jquery.wiggle.min.js (renamed from testapi/3rd_party/static/lib/jquery.wiggle.min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/shred.bundle.js (renamed from testapi/3rd_party/static/lib/shred.bundle.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/shred/content.js (renamed from testapi/3rd_party/static/lib/shred/content.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/swagger-oauth.js (renamed from testapi/3rd_party/static/lib/swagger-oauth.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/swagger.js (renamed from testapi/3rd_party/static/lib/swagger.js)0
-rw-r--r--testapi/3rd_party/static/swagger/lib/underscore-min.js (renamed from testapi/3rd_party/static/lib/underscore-min.js)0
-rw-r--r--testapi/3rd_party/static/swagger/o2c.html (renamed from testapi/3rd_party/static/o2c.html)0
-rw-r--r--testapi/3rd_party/static/swagger/swagger-ui.js (renamed from testapi/3rd_party/static/swagger-ui.js)0
-rw-r--r--testapi/3rd_party/static/swagger/swagger-ui.min.js (renamed from testapi/3rd_party/static/swagger-ui.min.js)0
-rw-r--r--testapi/3rd_party/static/testapi-ui/app.js32
-rw-r--r--testapi/3rd_party/static/testapi-ui/index.html46
28 files changed, 39 insertions, 40 deletions
diff --git a/testapi/3rd_party/static/.gitignore b/testapi/3rd_party/static/.gitignore
deleted file mode 100644
index ebf4281..0000000
--- a/testapi/3rd_party/static/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-!lib
diff --git a/testapi/3rd_party/static/css/highlight.default.css b/testapi/3rd_party/static/swagger/css/highlight.default.css
index e417fc1..e417fc1 100644
--- a/testapi/3rd_party/static/css/highlight.default.css
+++ b/testapi/3rd_party/static/swagger/css/highlight.default.css
diff --git a/testapi/3rd_party/static/css/hightlight.default.css b/testapi/3rd_party/static/swagger/css/hightlight.default.css
index e417fc1..e417fc1 100644
--- a/testapi/3rd_party/static/css/hightlight.default.css
+++ b/testapi/3rd_party/static/swagger/css/hightlight.default.css
diff --git a/testapi/3rd_party/static/css/screen.css b/testapi/3rd_party/static/swagger/css/screen.css
index 2882b8d..2882b8d 100644
--- a/testapi/3rd_party/static/css/screen.css
+++ b/testapi/3rd_party/static/swagger/css/screen.css
diff --git a/testapi/3rd_party/static/endpoint.html b/testapi/3rd_party/static/swagger/endpoint.html
index 4ae3bde..4ae3bde 100644
--- a/testapi/3rd_party/static/endpoint.html
+++ b/testapi/3rd_party/static/swagger/endpoint.html
diff --git a/testapi/3rd_party/static/images/explorer_icons.png b/testapi/3rd_party/static/swagger/images/explorer_icons.png
index ed9d2ff..ed9d2ff 100644
--- a/testapi/3rd_party/static/images/explorer_icons.png
+++ b/testapi/3rd_party/static/swagger/images/explorer_icons.png
Binary files differ
diff --git a/testapi/3rd_party/static/images/logo_small.png b/testapi/3rd_party/static/swagger/images/logo_small.png
index 5496a65..5496a65 100644
--- a/testapi/3rd_party/static/images/logo_small.png
+++ b/testapi/3rd_party/static/swagger/images/logo_small.png
Binary files differ
diff --git a/testapi/3rd_party/static/images/pet_store_api.png b/testapi/3rd_party/static/swagger/images/pet_store_api.png
index f9f9cd4..f9f9cd4 100644
--- a/testapi/3rd_party/static/images/pet_store_api.png
+++ b/testapi/3rd_party/static/swagger/images/pet_store_api.png
Binary files differ
diff --git a/testapi/3rd_party/static/images/throbber.gif b/testapi/3rd_party/static/swagger/images/throbber.gif
index 0639388..0639388 100644
--- a/testapi/3rd_party/static/images/throbber.gif
+++ b/testapi/3rd_party/static/swagger/images/throbber.gif
Binary files differ
diff --git a/testapi/3rd_party/static/images/wordnik_api.png b/testapi/3rd_party/static/swagger/images/wordnik_api.png
index dca4f14..dca4f14 100644
--- a/testapi/3rd_party/static/images/wordnik_api.png
+++ b/testapi/3rd_party/static/swagger/images/wordnik_api.png
Binary files differ
diff --git a/testapi/3rd_party/static/index.html b/testapi/3rd_party/static/swagger/index.html
index db209f4..db209f4 100644
--- a/testapi/3rd_party/static/index.html
+++ b/testapi/3rd_party/static/swagger/index.html
diff --git a/testapi/3rd_party/static/lib/backbone-min.js b/testapi/3rd_party/static/swagger/lib/backbone-min.js
index c1c0d4f..c1c0d4f 100644
--- a/testapi/3rd_party/static/lib/backbone-min.js
+++ b/testapi/3rd_party/static/swagger/lib/backbone-min.js
diff --git a/testapi/3rd_party/static/lib/handlebars-1.0.0.js b/testapi/3rd_party/static/swagger/lib/handlebars-1.0.0.js
index c70f09d..c70f09d 100644
--- a/testapi/3rd_party/static/lib/handlebars-1.0.0.js
+++ b/testapi/3rd_party/static/swagger/lib/handlebars-1.0.0.js
diff --git a/testapi/3rd_party/static/lib/highlight.7.3.pack.js b/testapi/3rd_party/static/swagger/lib/highlight.7.3.pack.js
index 9a95a75..9a95a75 100644
--- a/testapi/3rd_party/static/lib/highlight.7.3.pack.js
+++ b/testapi/3rd_party/static/swagger/lib/highlight.7.3.pack.js
diff --git a/testapi/3rd_party/static/lib/jquery-1.8.0.min.js b/testapi/3rd_party/static/swagger/lib/jquery-1.8.0.min.js
index 066d72c..066d72c 100644
--- a/testapi/3rd_party/static/lib/jquery-1.8.0.min.js
+++ b/testapi/3rd_party/static/swagger/lib/jquery-1.8.0.min.js
diff --git a/testapi/3rd_party/static/lib/jquery.ba-bbq.min.js b/testapi/3rd_party/static/swagger/lib/jquery.ba-bbq.min.js
index bcbf248..bcbf248 100644
--- a/testapi/3rd_party/static/lib/jquery.ba-bbq.min.js
+++ b/testapi/3rd_party/static/swagger/lib/jquery.ba-bbq.min.js
diff --git a/testapi/3rd_party/static/lib/jquery.slideto.min.js b/testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js
index ba32cff..ba32cff 100644
--- a/testapi/3rd_party/static/lib/jquery.slideto.min.js
+++ b/testapi/3rd_party/static/swagger/lib/jquery.slideto.min.js
diff --git a/testapi/3rd_party/static/lib/jquery.wiggle.min.js b/testapi/3rd_party/static/swagger/lib/jquery.wiggle.min.js
index 2adb0d6..2adb0d6 100644
--- a/testapi/3rd_party/static/lib/jquery.wiggle.min.js
+++ b/testapi/3rd_party/static/swagger/lib/jquery.wiggle.min.js
diff --git a/testapi/3rd_party/static/lib/shred.bundle.js b/testapi/3rd_party/static/swagger/lib/shred.bundle.js
index 74d0816..74d0816 100644
--- a/testapi/3rd_party/static/lib/shred.bundle.js
+++ b/testapi/3rd_party/static/swagger/lib/shred.bundle.js
diff --git a/testapi/3rd_party/static/lib/shred/content.js b/testapi/3rd_party/static/swagger/lib/shred/content.js
index b8051fe..b8051fe 100644
--- a/testapi/3rd_party/static/lib/shred/content.js
+++ b/testapi/3rd_party/static/swagger/lib/shred/content.js
diff --git a/testapi/3rd_party/static/lib/swagger-oauth.js b/testapi/3rd_party/static/swagger/lib/swagger-oauth.js
index 7c8839a..7c8839a 100644
--- a/testapi/3rd_party/static/lib/swagger-oauth.js
+++ b/testapi/3rd_party/static/swagger/lib/swagger-oauth.js
diff --git a/testapi/3rd_party/static/lib/swagger.js b/testapi/3rd_party/static/swagger/lib/swagger.js
index 78e8b29..78e8b29 100644
--- a/testapi/3rd_party/static/lib/swagger.js
+++ b/testapi/3rd_party/static/swagger/lib/swagger.js
diff --git a/testapi/3rd_party/static/lib/underscore-min.js b/testapi/3rd_party/static/swagger/lib/underscore-min.js
index 5a0cb3b..5a0cb3b 100644
--- a/testapi/3rd_party/static/lib/underscore-min.js
+++ b/testapi/3rd_party/static/swagger/lib/underscore-min.js
diff --git a/testapi/3rd_party/static/o2c.html b/testapi/3rd_party/static/swagger/o2c.html
index d32d130..d32d130 100644
--- a/testapi/3rd_party/static/o2c.html
+++ b/testapi/3rd_party/static/swagger/o2c.html
diff --git a/testapi/3rd_party/static/swagger-ui.js b/testapi/3rd_party/static/swagger/swagger-ui.js
index 4c99226..4c99226 100644
--- a/testapi/3rd_party/static/swagger-ui.js
+++ b/testapi/3rd_party/static/swagger/swagger-ui.js
diff --git a/testapi/3rd_party/static/swagger-ui.min.js b/testapi/3rd_party/static/swagger/swagger-ui.min.js
index 28cb9e6..28cb9e6 100644
--- a/testapi/3rd_party/static/swagger-ui.min.js
+++ b/testapi/3rd_party/static/swagger/swagger-ui.min.js
diff --git a/testapi/3rd_party/static/testapi-ui/app.js b/testapi/3rd_party/static/testapi-ui/app.js
index 91e53f4..4a2f23a 100644
--- a/testapi/3rd_party/static/testapi-ui/app.js
+++ b/testapi/3rd_party/static/testapi-ui/app.js
@@ -37,56 +37,56 @@
$stateProvider.
state('home', {
url: '/',
- templateUrl: '/swagger/testapi-ui/components/home/home.html'
+ templateUrl: '/testapi-ui/components/home/home.html'
}).
state('about', {
url: '/about',
- templateUrl: '/swagger/testapi-ui/components/about/about.html'
+ templateUrl: '/testapi-ui/components/about/about.html'
}).
state('guidelines', {
url: '/guidelines',
- templateUrl: '/swagger/testapi-ui/components/guidelines/guidelines.html',
+ templateUrl: '/testapi-ui/components/guidelines/guidelines.html',
controller: 'GuidelinesController as ctrl'
}).
state('communityResults', {
url: '/community_results',
- templateUrl: '/swagger/testapi-ui/components/results/results.html',
+ templateUrl: '/testapi-ui/components/results/results.html',
controller: 'ResultsController as ctrl'
}).
state('userResults', {
url: '/user_results',
- templateUrl: '/swagger/testapi-ui/components/results/results.html',
+ templateUrl: '/testapi-ui/components/results/results.html',
controller: 'ResultsController as ctrl'
}).
state('resultsDetail', {
url: '/results/:testID',
- templateUrl: '/swagger/testapi-ui/components/results-report' +
+ templateUrl: '/testapi-ui/components/results-report' +
'/resultsReport.html',
controller: 'ResultsReportController as ctrl'
}).
state('profile', {
url: '/profile',
- templateUrl: '/swagger/testapi-ui/components/profile/profile.html',
+ templateUrl: '/testapi-ui/components/profile/profile.html',
controller: 'ProfileController as ctrl'
}).
state('authFailure', {
url: '/auth_failure',
- templateUrl: '/swagger/testapi-ui/components/home/home.html',
+ templateUrl: '/testapi-ui/components/home/home.html',
controller: 'AuthFailureController as ctrl'
}).
state('logout', {
url: '/logout',
- templateUrl: '/swagger/testapi-ui/components/logout/logout.html',
+ templateUrl: '/testapi-ui/components/logout/logout.html',
controller: 'LogoutController as ctrl'
}).
state('userVendors', {
url: '/user_vendors',
- templateUrl: '/swagger/testapi-ui/components/vendors/vendors.html',
+ templateUrl: '/testapi-ui/components/vendors/vendors.html',
controller: 'VendorsController as ctrl'
}).
state('publicVendors', {
url: '/public_vendors',
- templateUrl: '/swagger/testapi-ui/components/vendors/vendors.html',
+ templateUrl: '/testapi-ui/components/vendors/vendors.html',
controller: 'VendorsController as ctrl'
}).
state('vendor', {
@@ -96,22 +96,22 @@
}).
state('userProducts', {
url: '/user_products',
- templateUrl: '/swagger/testapi-ui/components/products/products.html',
+ templateUrl: '/testapi-ui/components/products/products.html',
controller: 'ProductsController as ctrl'
}).
state('publicProducts', {
url: '/public_products',
- templateUrl: '/swagger/testapi-ui/components/products/products.html',
+ templateUrl: '/testapi-ui/components/products/products.html',
controller: 'ProductsController as ctrl'
}).
state('cloud', {
url: '/cloud/:id',
- templateUrl: '/swagger/testapi-ui/components/products/cloud.html',
+ templateUrl: '/testapi-ui/components/products/cloud.html',
controller: 'ProductController as ctrl'
}).
state('distro', {
url: '/distro/:id',
- templateUrl: '/swagger/testapi-ui/components/products/distro.html',
+ templateUrl: '/testapi-ui/components/products/distro.html',
controller: 'ProductController as ctrl'
});
}
@@ -211,7 +211,7 @@
angular.bootstrap(document, ['testapiApp']);
}
- $http.get('swagger/testapi-ui/config.json').success(function (data) {
+ $http.get('testapi-ui/config.json').success(function (data) {
startApp(data);
}).error(function () {
startApp({});
diff --git a/testapi/3rd_party/static/testapi-ui/index.html b/testapi/3rd_party/static/testapi-ui/index.html
index 4bf3c0d..46ccc61 100644
--- a/testapi/3rd_party/static/testapi-ui/index.html
+++ b/testapi/3rd_party/static/testapi-ui/index.html
@@ -21,39 +21,39 @@
<meta name="viewport" content="width=device-width">
<title>TestAPI</title>
- <link rel="icon" type="image/png" href="swagger/testapi-ui/favicon-16x16.png" sizes="16x16" />
- <link rel="icon" type="image/png" href="swagger/testapi-ui/favicon-32x32.png" sizes="32x32" />
+ <link rel="icon" type="image/png" href="testapi-ui/favicon-16x16.png" sizes="16x16" />
+ <link rel="icon" type="image/png" href="testapi-ui/favicon-32x32.png" sizes="32x32" />
- <link rel="stylesheet" href="swagger/testapi-ui/assets/lib/bootstrap/dist/css/bootstrap.min.css">
- <link rel="stylesheet" href="swagger/testapi-ui/assets/lib/angular-busy/dist/angular-busy.min.css">
- <link rel="stylesheet" href="swagger/testapi-ui/assets/css/style.css">
+ <link rel="stylesheet" href="testapi-ui/assets/lib/bootstrap/dist/css/bootstrap.min.css">
+ <link rel="stylesheet" href="testapi-ui/assets/lib/angular-busy/dist/angular-busy.min.css">
+ <link rel="stylesheet" href="testapi-ui/assets/css/style.css">
- <script src="swagger/testapi-ui/assets/lib/angular/angular.min.js"></script>
- <script src="swagger/testapi-ui/assets/lib/angular-ui-router/release/angular-ui-router.min.js"></script>
- <script src="swagger/testapi-ui/assets/lib/angular-resource/angular-resource.min.js"></script>
- <script src="swagger/testapi-ui/assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
- <script src="swagger/testapi-ui/assets/lib/angular-busy/dist/angular-busy.min.js"></script>
- <script src="swagger/testapi-ui/assets/lib/angular-confirm-modal/angular-confirm.js"></script>
- <script src="swagger/testapi-ui/app.js"></script>
+ <script src="testapi-ui/assets/lib/angular/angular.min.js"></script>
+ <script src="testapi-ui/assets/lib/angular-ui-router/release/angular-ui-router.min.js"></script>
+ <script src="testapi-ui/assets/lib/angular-resource/angular-resource.min.js"></script>
+ <script src="testapi-ui/assets/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
+ <script src="testapi-ui/assets/lib/angular-busy/dist/angular-busy.min.js"></script>
+ <script src="testapi-ui/assets/lib/angular-confirm-modal/angular-confirm.js"></script>
+ <script src="testapi-ui/app.js"></script>
<!-- Controllers -->
- <script src="swagger/testapi-ui/shared/header/headerController.js"></script>
- <script src="swagger/testapi-ui/shared/alerts/alertModalFactory.js"></script>
- <script src="swagger/testapi-ui/shared/alerts/confirmModalFactory.js"></script>
- <script src="swagger/testapi-ui/components/guidelines/guidelinesController.js"></script>
- <script src="swagger/testapi-ui/components/results/resultsController.js"></script>
- <script src="swagger/testapi-ui/components/results-report/resultsReportController.js"></script>
- <script src="swagger/testapi-ui/components/profile/profileController.js"></script>
- <script src="swagger/testapi-ui/components/auth-failure/authFailureController.js"></script>
- <script src="swagger/testapi-ui/components/logout/logoutController.js"></script>
+ <script src="testapi-ui/shared/header/headerController.js"></script>
+ <script src="testapi-ui/shared/alerts/alertModalFactory.js"></script>
+ <script src="testapi-ui/shared/alerts/confirmModalFactory.js"></script>
+ <script src="testapi-ui/components/guidelines/guidelinesController.js"></script>
+ <script src="testapi-ui/components/results/resultsController.js"></script>
+ <script src="testapi-ui/components/results-report/resultsReportController.js"></script>
+ <script src="testapi-ui/components/profile/profileController.js"></script>
+ <script src="testapi-ui/components/auth-failure/authFailureController.js"></script>
+ <script src="testapi-ui/components/logout/logoutController.js"></script>
<!-- Filters -->
- <script src="swagger/testapi-ui/shared/filters.js"></script>
+ <script src="testapi-ui/shared/filters.js"></script>
</head>
<body class="container">
- <header ng-include src="'swagger/testapi-ui/shared/header/header.html'"></header>
+ <header ng-include src="'testapi-ui/shared/header/header.html'"></header>
<div ui-view></div>
</body>