summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/3rd_party/static/testapi-ui/app.js
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-05-18 01:00:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-18 01:00:40 +0000
commit26215c783dd2eb900eb0e987bd9b3b850c05e3fe (patch)
tree6184aadeb8753fec3213fef3a529726a1cd3dc45 /utils/test/testapi/3rd_party/static/testapi-ui/app.js
parent8952b1d73c5ac50f7267c89a19ab83b6664fade5 (diff)
parenta1a745b4820ec46a2e707d77f6178cf9e97654f6 (diff)
Merge "refactor static_path to accomodate web portal"
Diffstat (limited to 'utils/test/testapi/3rd_party/static/testapi-ui/app.js')
-rw-r--r--utils/test/testapi/3rd_party/static/testapi-ui/app.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/utils/test/testapi/3rd_party/static/testapi-ui/app.js b/utils/test/testapi/3rd_party/static/testapi-ui/app.js
index 91e53f49a..4a2f23af9 100644
--- a/utils/test/testapi/3rd_party/static/testapi-ui/app.js
+++ b/utils/test/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({});