summaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/app.config.js20
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/app.js2
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/main-page.html114
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/mainPageCtrl.js4
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenav.html58
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenavCtrl.js6
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js6
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/config/configuration.js22
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/directives/autofocus/autofocusDirective.js2
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js6
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/locale/locale-en.json311
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js40
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/common/templates/serverError.html18
13 files changed, 304 insertions, 305 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/app.config.js b/vnfmarket/src/main/webapp/vnfmarket/app/app.config.js
index ffe6e110..25c15212 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/app.config.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/app.config.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
@@ -65,16 +65,16 @@
'A200': '#E1E4E5',
'A400': '#858CA8',
'A700': '#FFFFFF'
- });
-
- $mdThemingProvider.theme('default')
- .primaryPalette('amazingPaletteName',{
- 'default' : 'A400',
- 'hue-1' : "A700",
- 'hue-2' : "100",
- 'hue-3' : "A200"
+ });
+
+ $mdThemingProvider.theme('default')
+ .primaryPalette('amazingPaletteName', {
+ 'default': 'A400',
+ 'hue-1': "A700",
+ 'hue-2': "100",
+ 'hue-3': "A200"
}).accentPalette('amazingPaletteName', {
- 'hue-1' : 'A400'
+ 'hue-1': 'A400'
})
$locationProvider.hashPrefix('!');
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/app.js b/vnfmarket/src/main/webapp/vnfmarket/app/app.js
index b582b622..95fa1078 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/app.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/app.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/main-page.html b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/main-page.html
index 57920a10..4821524d 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/main-page.html
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/main-page.html
@@ -13,64 +13,64 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
- <md-toolbar ng-show="!showSearch">
- <div class="md-toolbar-tools">
- <md-button ng-click="layout.toggleSidenav('left')" hide-gt-md aria-label="Menu">
- <ng-md-icon icon="menu"></ng-md-icon>
+<md-toolbar ng-show="!showSearch">
+ <div class="md-toolbar-tools">
+ <md-button ng-click="layout.toggleSidenav('left')" hide-gt-md aria-label="Menu">
+ <ng-md-icon icon="menu"></ng-md-icon>
+ </md-button>
+ <h3>
+ <a href="/">vnfmarket</a>
+ </h3>
+ <span flex></span>
+ <md-button aria-label="Search" ng-click="showSearch = !showSearch">
+ <ng-md-icon icon="search"></ng-md-icon>
+ </md-button>
+ <md-menu>
+ <md-button aria-label="Open Settings" ng-click="layout.openMenu($mdOpenMenu, $event)">
+ <md-icon> more_vert </md-icon>
</md-button>
- <h3>
- <a href="/">vnfmarket</a>
- </h3>
- <span flex></span>
- <md-button aria-label="Search" ng-click="showSearch = !showSearch">
- <ng-md-icon icon="search"></ng-md-icon>
- </md-button>
- <md-menu>
- <md-button aria-label="Open Settings" ng-click="layout.openMenu($mdOpenMenu, $event)">
- <md-icon> more_vert </md-icon>
- </md-button>
- <md-menu-content width="4">
- <md-menu-item>
- <md-button ng-click="layout.changeProfile($event)">
- <md-icon>face</md-icon>
- Profile
- </md-button>
- </md-menu-item>
- <md-menu-item>
- <md-button ng-click="layout.changePassword()">
- <md-icon>lock</md-icon>
- Password
- </md-button>
- </md-menu-item>
- <md-menu-divider></md-menu-divider>
- <md-menu-item>
- <md-button ng-click="layout.logOut()">
- <md-icon>power_settings_new</md-icon>
- Logout
- </md-button>
- </md-menu-item>
- </md-menu-content>
- </md-menu>
- </div>
- </md-toolbar>
- <md-toolbar class="md-hue-1" ng-show="showSearch">
- <div class="md-toolbar-tools">
- <md-button ng-click="showSearch = !showSearch" aria-label="Back">
- <ng-md-icon icon="arrow_back"></ng-md-icon>
- </md-button>
- <h3 flex="10">
- Back
- </h3>
- <md-input-container md-theme="input" flex>
- <label>&nbsp;</label>
- <input ng-model="search.who" placeholder="Search ...">
- </md-input-container>
+ <md-menu-content width="4">
+ <md-menu-item>
+ <md-button ng-click="layout.changeProfile($event)">
+ <md-icon>face</md-icon>
+ Profile
+ </md-button>
+ </md-menu-item>
+ <md-menu-item>
+ <md-button ng-click="layout.changePassword()">
+ <md-icon>lock</md-icon>
+ Password
+ </md-button>
+ </md-menu-item>
+ <md-menu-divider></md-menu-divider>
+ <md-menu-item>
+ <md-button ng-click="layout.logOut()">
+ <md-icon>power_settings_new</md-icon>
+ Logout
+ </md-button>
+ </md-menu-item>
+ </md-menu-content>
+ </md-menu>
+ </div>
+</md-toolbar>
+<md-toolbar class="md-hue-1" ng-show="showSearch">
+ <div class="md-toolbar-tools">
+ <md-button ng-click="showSearch = !showSearch" aria-label="Back">
+ <ng-md-icon icon="arrow_back"></ng-md-icon>
+ </md-button>
+ <h3 flex="10">
+ Back
+ </h3>
+ <md-input-container md-theme="input" flex>
+ <label>&nbsp;</label>
+ <input ng-model="search.who" placeholder="Search ...">
+ </md-input-container>
- </div>
- </md-toolbar>
- <md-content class="md-blue-grey-theme" flex md-scroll-y>
- <ui-view layout="column" layout-fill layout-padding>
+ </div>
+</md-toolbar>
+<md-content class="md-blue-grey-theme" flex md-scroll-y>
+ <ui-view layout="column" layout-fill layout-padding>
- </ui-view>
- </md-content>
+ </ui-view>
+</md-content> \ No newline at end of file
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/mainPageCtrl.js b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/mainPageCtrl.js
index c1430ffb..d82ce460 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/mainPageCtrl.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/main-page/mainPageCtrl.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
- (function () {
+(function () {
'use strict';
/**
@@ -36,7 +36,7 @@
* and bindable members up top.
*/
- function Layout($mdSidenav, $cookies, $state, $mdToast, $mdDialog ) {
+ function Layout($mdSidenav, $cookies, $state, $mdToast, $mdDialog) {
/*jshint validthis: true */
var vm = this;
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenav.html b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenav.html
index 36aebb6e..99c3032c 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenav.html
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenav.html
@@ -13,34 +13,32 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
- <md-toolbar class="md-tall md-hue-2">
- <div layout="column" class="md-toolbar-tools-bottom inset">
- <div layout="row">
- <div flex="20">
- <img style="width: 36px; height: 36px; border-radius: 50%"
- actual-src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUDBAsMBgkICQcJCQgGCQcGBgYFBgcHBQkGBgUHCQcGBgcHChwXBwgaCQcHGCEMGhERHxMfBxciGCIeGBAeHxIBBQUFBwcFDAgIBxIIBQgSHhISEhISHhISEhISHh4SEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEv/AABEIAGAAYAMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAAHCAMFBgQCAQD/xAA6EAABAgQDBQYFAQgDAQAAAAACAQMABBESBQYiByExMkETQlFSYWIIcXKBoSMzgpGSorLR8BQk4RX/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAWEQEBAQAAAAAAAAAAAAAAAAAAARH/2gAMAwEAAhEDEQA/AG0WPx9I+RDOPIIqS+F0BVZyx5uUknZpw0RGBU9XTTCJbRs6zGI4icw66pNiRCwBUsFoVXSm7wpBF+JraOr75yDRr2LSkLpCVBMx7q06ekAFmbVCUV7yRETg4pP7y3B+YmfcRw7b6J3fNp7sRYPhrkxMCy2JEpeX/wAg97NdkjQEL02KHuG0D6FAAl3CnFqQtOKgr3RVRX3cIv8AD2Udl1lyAxcG20iFUG4e7SGvYy/Ltgggw2iD3bEivm8uS6uoX/GBFrdcI01faGGFJk5pyVnbhJW3GjuElGhad/VIcfYRtHHEJImjokzLgHaj5htp2iRgtoORWJlg9CA4IkQmA6rresCfY9i7mHZqbaKqC6RSrgFzEJlQa19YqnmU/GPKxzST1wpTjQf7Y6C9YCzJeMYra1mQJbCXSUqOECi343EOn7RsDPSvyhZfivxYhsADWggREIlu1ad6QC05mxHtZpwlJVUjMi+ojVbv49Ipe0W/0H+7uxYtYM8Uq5OtgJtMLa5aVXUu3dpZ4V6xYbOsrnPT7cu3dqISdMR5Wh5oygnfDlhaFMG6o8qW3W8ChjmJe2lOb3cvhGX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KyW8pMrCIeoENwF86UglkaQuXwszSoUySVVugCJeJcF+0MK06hcOEVosnxOOqxihWFaM02gueojTTC9Tn7UqcCXTBo+JTGgfxFRQhPsG7bhKooRU4QF3G06kteYYlSvDqcBi0ydPk3ODQqXrq+mKevjXT4xNhy/9gfaoxEHbCMwUESQ046vWB/tEzI4/iPZNkqgCCIjdpQuscU2+4GneiElzZf4jKuvEjpFdRdRe6Au3cKdLTeirTmujyOX6ftHwH96Kg8UctQUdX/fGIXZkl5iUl90BMqiD9wlWxeaPMsqk7duVSLVd5iWORVrx/ej2waoS0410l4QDX/D480MujQigqQCJW0/aiWr8QYmpi3h4wpuw/GibnGxUuYv4kWlfxDQsPIo7+9qt8NMVSLYtMKRKJEpGXMRFUlisdqhJHTxNYgfSkBG+VY7cCbq+g9SSK5FjswmYQHQNa0FRut8sRBZl8IF2SQTAtCaTQe9GOxrKhXKo/1cywfNm5y78gBt0PSIkBeYh61SJsx4G0WgmkAi73h8oBYHsuOjxIaU/eirfbUVtXu96C/mvBVC4LPpXxGBfjrFrtsBV1j2A6V90fEj2qwF5lDGFYmAO7cC3W/T4QwmW9q0sQiJnYVBu7XoXpCwSyav93RMZrdcm5fNAf/Z"
- showloader="" loader-class="preload" loader-src="app/assets/images/loader.gif"
- src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUDBAsMBgkICQcJCQgGCQcGBgYFBgcHBQkGBgUHCQcGBgcHChwXBwgaCQcHGCEMGhERHxMfBxciGCIeGBAeHxIBBQUFBwcFDAgIBxIIBQgSHhISEhISHhISEhISHh4SEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEv/AABEIAGAAYAMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAAHCAMFBgQCAQD/xAA6EAABAgQDBQYFAQgDAQAAAAACAQMABBESBQYiByExMkETQlFSYWIIcXKBoSMzgpGSorLR8BQk4RX/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAW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a0FRut8sRBZl8IF2SQTAtCaTQe9GOxrKhXKo/1cywfNm5y78gBt0PSIkBeYh61SJsx4G0WgmkAi73h8oBYHsuOjxIaU/eirfbUVtXu96C/mvBVC4LPpXxGBfjrFrtsBV1j2A6V90fEj2qwF5lDGFYmAO7cC3W/T4QwmW9q0sQiJnYVBu7XoXpCwSyav93RMZrdcm5fNAf/Z">
- </div>
- <div flex="80" style="margin-top: 10px;font-size: 1em;">
- <div></div>
- </div>
- </div>
+<md-toolbar class="md-tall md-hue-2">
+ <div layout="column" class="md-toolbar-tools-bottom inset">
+ <div layout="row">
+ <div flex="20">
+ <img style="width: 36px; height: 36px; border-radius: 50%" actual-src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUDBAsMBgkICQcJCQgGCQcGBgYFBgcHBQkGBgUHCQcGBgcHChwXBwgaCQcHGCEMGhERHxMfBxciGCIeGBAeHxIBBQUFBwcFDAgIBxIIBQgSHhISEhISHhISEhISHh4SEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEv/AABEIAGAAYAMBIgACEQEDEQH/xAAcAAACAwEBAQEAAAAAAAAAAAAHCAMFBgQCAQD/xAA6EAABAgQDBQYFAQgDAQAAAAACAQMABBESBQYiByExMkETQlFSYWIIcXKBoSMzgpGSorLR8BQk4RX/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAQL/xAAWEQEBAQAAAAAAAAAAAAAAAAAAARH/2gAMAwEAAhEDEQA/AG0WPx9I+RDOPIIqS+F0BVZyx5uUknZpw0RGBU9XTTCJbRs6zGI4icw66pNiRCwBUsFoVXSm7wpBF+JraOr75yDRr2LSkLpCVBMx7q06ekAFmbVCUV7yRETg4pP7y3B+YmfcRw7b6J3fNp7sRYPhrkxMCy2JEpeX/wAg97NdkjQEL02KHuG0D6FAAl3CnFqQtOKgr3RVRX3cIv8AD2Udl1lyAxcG20iFUG4e7SGvYy/Ltgggw2iD3bEivm8uS6uoX/GBFrdcI01faGGFJk5py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rIbkVLi1D1tKJUqyyDmY5KcR8BQ0pY60Y1EvLT1rDIbN8xI+0L279XVaPdK7lhTz3cPqgqbHMdtBWriuArvndEDRMTKrQkJNSR01HmXup1jL5exds2EqSItLSr0KPmP460AWm+gXppJev5jSu6YxVFNRbbv1W3CXDV0+0RYmikwfRaEP+pAj2g577AbZGZGpJc4Vur6fSKpdtF0kouCqviNpEnKXS6njAELD3hW8TFO0aXmLzf4gRbV8YQceYBa2sANxeBOrzfyxHge0G6a/UFRR1dX1d2MjnvEhexYzTeg2BcXtTV+YjJwdguPo9IKyW8pMrCIeoENwF86UglkaQuXwszSoUySVVugCJeJcF+0MK06hcOEVosnxOOqxihWFaM02gueojTTC9Tn7UqcCXTBo+JTGgfxFRQhPsG7bhKooRU4QF3G06kteYYlSvDqcBi0ydPk3ODQqXrq+mKevjXT4xNhy/9gfaoxEHbCMwUESQ046vWB/tEzI4/iPZNkqgCCIjdpQuscU2+4GneiElzZf4jKuvEjpFdRdRe6Au3cKdLTeirTmujyOX6ftHwH96Kg8UctQUdX/fGIXZkl5iUl90BMqiD9wlWxeaPMsqk7duVSLVd5iWORVrx/ej2waoS0410l4QDX/D480MujQigqQCJW0/aiWr8QYmpi3h4wpuw/GibnGxUuYv4kWlfxDQsPIo7+9qt8NMVSLYtMKRKJEpGXMRFUlisdqhJHTxNYgfSkBG+VY7cCbq+g9SSK5FjswmYQHQNa0FRut8sRBZl8IF2SQTAtCaTQe9GOxrKhXKo/1cywfNm5y78gBt0PSIkBeYh61SJsx4G0WgmkAi73h8oBYHsuOjxIaU/eirfbUVtXu96C/mvBVC4LPpXxGBfjrFrtsBV1j2A6V90fEj2qwF5lDGFYmAO7cC3W/T4QwmW9q0sQiJnYVBu7XoXpCwSyav93RMZrdcm5fNAf/Z"
+ showloader="" loader-class="preload" loader-src="app/assets/images/loader.gif" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUDBAsMBgkICQcJCQgGCQcGBgYFBgcHBQk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mKevjXT4xNhy/9gfaoxEHbCMwUESQ046vWB/tEzI4/iPZNkqgCCIjdpQuscU2+4GneiElzZf4jKuvEjpFdRdRe6Au3cKdLTeirTmujyOX6ftHwH96Kg8UctQUdX/fGIXZkl5iUl90BMqiD9wlWxeaPMsqk7duVSLVd5iWORVrx/ej2waoS0410l4QDX/D480MujQigqQCJW0/aiWr8QYmpi3h4wpuw/GibnGxUuYv4kWlfxDQsPIo7+9qt8NMVSLYtMKRKJEpGXMRFUlisdqhJHTxNYgfSkBG+VY7cCbq+g9SSK5FjswmYQHQNa0FRut8sRBZl8IF2SQTAtCaTQe9GOxrKhXKo/1cywfNm5y78gBt0PSIkBeYh61SJsx4G0WgmkAi73h8oBYHsuOjxIaU/eirfbUVtXu96C/mvBVC4LPpXxGBfjrFrtsBV1j2A6V90fEj2qwF5lDGFYmAO7cC3W/T4QwmW9q0sQiJnYVBu7XoXpCwSyav93RMZrdcm5fNAf/Z">
</div>
- </md-toolbar>
- <md-list>
- <md-list-item ng-repeat="item in vm.menu" ng-click="vm.navigateTo(item.link)" >
- <div class="inset" ng-show="item.icon">
- <ng-md-icon icon="{{item.icon}}"></ng-md-icon>
- </div>
- <p> {{ item.name }}</p>
- </md-list-item>
- <md-divider></md-divider>
- <md-subheader></md-subheader>
- <md-list-item ng-repeat="item in vm.admin" ng-click="vm.showSettingsBottom($event)" >
- <div class="inset">
- <ng-md-icon icon="{{item.icon}}"></ng-md-icon>
- </div>
- <p> {{ item.title }}</p>
- </md-list-item>
- </md-list>
+ <div flex="80" style="margin-top: 10px;font-size: 1em;">
+ <div></div>
+ </div>
+ </div>
+ </div>
+</md-toolbar>
+<md-list>
+ <md-list-item ng-repeat="item in vm.menu" ng-click="vm.navigateTo(item.link)">
+ <div class="inset" ng-show="item.icon">
+ <ng-md-icon icon="{{item.icon}}"></ng-md-icon>
+ </div>
+ <p> {{ item.name }}</p>
+ </md-list-item>
+ <md-divider></md-divider>
+ <md-subheader></md-subheader>
+ <md-list-item ng-repeat="item in vm.admin" ng-click="vm.showSettingsBottom($event)">
+ <div class="inset">
+ <ng-md-icon icon="{{item.icon}}"></ng-md-icon>
+ </div>
+ <p> {{ item.title }}</p>
+ </md-list-item>
+</md-list> \ No newline at end of file
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenavCtrl.js b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenavCtrl.js
index 59bd9fae..5e17b5af 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenavCtrl.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/layouts/side-nav/sidenavCtrl.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
- (function () {
+(function () {
'use strict';
/**
@@ -26,7 +26,7 @@
angular
.module('vnfmarket')
.controller('SidenavCtrl', SidenavCtrl)
- // .controller('SettingsCtrl', SettingsCtrl);
+ // .controller('SettingsCtrl', SettingsCtrl);
// Injecting Denpendencies
@@ -47,7 +47,7 @@
$mdSidenav(menuId).toggle();
};
- vm.closeSidenav = function() {
+ vm.closeSidenav = function () {
$mdSidenav('left').close();
};
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js b/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js
index 72b9f5a9..4b14d978 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
@@ -28,8 +28,8 @@
.module('vnfmarket')
.constant("baseUrlConfig", {
"common": {
- "ip" : "", //ses
- "port" : "" //ses
+ "ip": "", //ses
+ "port": "" //ses
}
})
})(); \ No newline at end of file
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/config/configuration.js b/vnfmarket/src/main/webapp/vnfmarket/common/config/configuration.js
index 33faa97f..2adcc020 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/config/configuration.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/config/configuration.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
@@ -33,7 +33,7 @@
"url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars",
"method": "POST"
},
- "repostServiceUpload": {
+ "repostServiceUpload": {
"url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId/reupload",
"method": "POST"
},
@@ -53,15 +53,15 @@
"url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId",
"method": "GET"
},
- "getFunctionTestDetails" : {
- "url" : "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId/operresult?operTypeId=functiontest",
- "method" : "GET"
- },
- "updateDownloadCount" :{
- "url" : "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId/downloaded",
- "method" : "GET"
- },
- "getOnBoardingSteps": {
+ "getFunctionTestDetails": {
+ "url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId/operresult?operTypeId=functiontest",
+ "method": "GET"
+ },
+ "updateDownloadCount": {
+ "url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/:csarId/downloaded",
+ "method": "GET"
+ },
+ "getOnBoardingSteps": {
"url": "/onapapi/vnfsdk-marketplace/v1/PackageResource/csars/onboardsteps",
"method": "GET"
},
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/directives/autofocus/autofocusDirective.js b/vnfmarket/src/main/webapp/vnfmarket/common/directives/autofocus/autofocusDirective.js
index 50b63dc7..9eeae641 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/directives/autofocus/autofocusDirective.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/directives/autofocus/autofocusDirective.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js b/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js
index 2a1748e5..3f64841d 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/directives/fileupload/fileuploadDirective.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
@@ -41,8 +41,8 @@
return directive;
function link(scope, element, attrs) {
- element.bind("change", function(changeEvent) {
- scope.$apply(function() {
+ element.bind("change", function (changeEvent) {
+ scope.$apply(function () {
scope.fileUpload = changeEvent.target.files[0];
});
});
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/locale/locale-en.json b/vnfmarket/src/main/webapp/vnfmarket/common/locale/locale-en.json
index d4be95e9..d086b9ac 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/locale/locale-en.json
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/locale/locale-en.json
@@ -1,193 +1,188 @@
- {
- "common" : {
- "actions" : {
- "save" : "Save",
- "upload":"Upload",
- "delete" : "Delete",
- "close" : "Close",
- "search" : "Search",
- "download" :"Download",
- "yes" : "Yes",
- "no" : "No",
- "update" :"Re Upload",
- "clickHere" : "Click Here",
- "getApp" : "get_app",
- "fileUpload" : "file_upload",
- "ok" : "Ok",
- "return" : "Return",
- "detail" : "See Details",
- "backToList" : "Back to List",
- "add" : "Add file"
+{
+ "common": {
+ "actions": {
+ "save": "Save",
+ "upload": "Upload",
+ "delete": "Delete",
+ "close": "Close",
+ "search": "Search",
+ "download": "Download",
+ "yes": "Yes",
+ "no": "No",
+ "update": "Re Upload",
+ "clickHere": "Click Here",
+ "getApp": "get_app",
+ "fileUpload": "file_upload",
+ "ok": "Ok",
+ "return": "Return",
+ "detail": "See Details",
+ "backToList": "Back to List",
+ "add": "Add file"
},
- "message" : {
- "statusTitle" : "Status : ",
- "statusText" : "Status text : ",
- "viewDetails" : "Click here to view details"
+ "message": {
+ "statusTitle": "Status : ",
+ "statusText": "Status text : ",
+ "viewDetails": "Click here to view details"
},
- "tabs" : {
- "validation" :{
- "title" : "Validation",
- "stepTHead" : "Step",
- "ParamTHead" : "Parameter",
- "ResultTHead" : "Result"
- },
- "lifeCycle" : {
- "title" : "Lifecycle Test",
- "stepTHead" : "Step",
- "ParamTHead" : "Parameter",
- "ResultTHead" : "Result"
- },
- "functionTest": {
- "title" : "Functional Test",
- "testTHead" : "Test case",
- "descTHead" : "Description",
- "resultTHead" : "Test Result"
- }
- }
+ "tabs": {
+ "validation": {
+ "title": "Validation",
+ "stepTHead": "Step",
+ "ParamTHead": "Parameter",
+ "ResultTHead": "Result"
+ },
+ "lifeCycle": {
+ "title": "Lifecycle Test",
+ "stepTHead": "Step",
+ "ParamTHead": "Parameter",
+ "ResultTHead": "Result"
+ },
+ "functionTest": {
+ "title": "Functional Test",
+ "testTHead": "Test case",
+ "descTHead": "Description",
+ "resultTHead": "Test Result"
+ }
+ }
},
- "module" : {
- "marketplace" : {
- "serviceDelete" : {
- "title" : "Delete Service",
- "confirmationMesaage" : "Are you sure that you want to delete "
-
+ "module": {
+ "marketplace": {
+ "serviceDelete": {
+ "title": "Delete Service",
+ "confirmationMesaage": "Are you sure that you want to delete "
},
- "serviceUpload" : {
- "title" : "Upload Service",
- "updateTitle" : "Re Upload",
- "fields" : {
- "fileUpload" : {
- "label" : "Select File",
- "noFileSelected" : "No file selected"
+ "serviceUpload": {
+ "title": "Upload Service",
+ "updateTitle": "Re Upload",
+ "fields": {
+ "fileUpload": {
+ "label": "Select File",
+ "noFileSelected": "No file selected"
},
- "shortDescription" : {
- "placeholder" : "Short Description"
+ "shortDescription": {
+ "placeholder": "Short Description"
},
- "details" : {
- "placeholder" : "Details"
+ "details": {
+ "placeholder": "Details"
},
- "remarks" : {
- "placeholder" : "Remarks"
+ "remarks": {
+ "placeholder": "Remarks"
},
- "funcTestReport" : {
- "label":"Function Test Report: "
+ "funcTestReport": {
+ "label": "Function Test Report: "
}
},
- "messages" : {
- "onUploading" : "Please wait, Upload is in progress",
- "onSuccessful" : "Service upload successful"
+ "messages": {
+ "onUploading": "Please wait, Upload is in progress",
+ "onSuccessful": "Service upload successful"
},
- "onBoarding" : {
- "onBoardProcessTitle" : "Onboarding Process"
- },
- "onBoardingSuccess" : {
- "successTitle" : "Onboarding is successful"
- }
-
+ "onBoarding": {
+ "onBoardProcessTitle": "Onboarding Process"
+ },
+ "onBoardingSuccess": {
+ "successTitle": "Onboarding is successful"
+ }
},
- "serviceDetails" : {
- "title" : "Service Name : ",
- "info" : {
- "details" : "Details",
- "remarks" : "Remarks",
- "provider" : "Provider",
- "serviceType" : "Service Type",
- "csarId" : "CSAR Id",
- "fileSize" : "File Size",
- "funcTestReport" :"Function Test Report",
- "reportTitle" : "Onboarding Report",
- "typeLbl" : "Type",
- "createLbl" : "Created At",
- "modLbl" : "Last Modfied at"
-
+ "serviceDetails": {
+ "title": "Service Name : ",
+ "info": {
+ "details": "Details",
+ "remarks": "Remarks",
+ "provider": "Provider",
+ "serviceType": "Service Type",
+ "csarId": "CSAR Id",
+ "fileSize": "File Size",
+ "funcTestReport": "Function Test Report",
+ "reportTitle": "Onboarding Report",
+ "typeLbl": "Type",
+ "createLbl": "Created At",
+ "modLbl": "Last Modfied at"
},
- "tabs" : {
- "validationTabTitle" : "Validation",
- "lifecycleTabTitle" : "Lifecycle Test",
- "functionalTabTitle" : "Function Test"
- }
-
-
+ "tabs": {
+ "validationTabTitle": "Validation",
+ "lifecycleTabTitle": "Lifecycle Test",
+ "functionalTabTitle": "Function Test"
+ }
},
- "sideNav" : {
- "title" : "VNF Repository",
- "marketplaceNav" : "VNF Repository"
+ "sideNav": {
+ "title": "VNF Repository",
+ "marketplaceNav": "VNF Repository"
},
- "main" : {
- "headerTitle" : "Welcome to VNF Repository",
- "description" : "Market place for VNF-SDK does the following task:",
- "pointOne" : "Upload and download of VNF products and offerings",
- "pointTwo" : "Show the interface about other component in VNF-SDK",
- "sortBy" : {
- "title" : "Please select",
- "label" : "Sort by ",
- "options" : {
- "name" : {
- "key" :"Name",
- "value" :"name"
+ "main": {
+ "headerTitle": "Welcome to VNF Repository",
+ "description": "Market place for VNF-SDK does the following task:",
+ "pointOne": "Upload and download of VNF products and offerings",
+ "pointTwo": "Show the interface about other component in VNF-SDK",
+ "sortBy": {
+ "title": "Please select",
+ "label": "Sort by ",
+ "options": {
+ "name": {
+ "key": "Name",
+ "value": "name"
},
- "dateModified" : {
- "key" :"Data Modified",
- "value" : "date"
+ "dateModified": {
+ "key": "Data Modified",
+ "value": "date"
},
- "downloads" : {
- "key":"Downloads",
- "value" : "downloads"
+ "downloads": {
+ "key": "Downloads",
+ "value": "downloads"
}
}
},
- "search" :{
- "label" : "Search",
- "placeholder" : "Search keyword",
- "close" : "Close"
+ "search": {
+ "label": "Search",
+ "placeholder": "Search keyword",
+ "close": "Close"
},
- "upload" : {
- "label" : "Upload"
+ "upload": {
+ "label": "Upload"
},
- "gridView" : {
- "label" : "Grid View",
- "serviceType" : {
- "label" : "Type",
+ "gridView": {
+ "label": "Grid View",
+ "serviceType": {
+ "label": "Type",
"value": "description"
},
- "downloads" : {
- "label" : "Downloads",
- "value":"get_app",
- "tooltip" : "Download history",
- "buttonLabel" :"Downloads"
+ "downloads": {
+ "label": "Downloads",
+ "value": "get_app",
+ "tooltip": "Download history",
+ "buttonLabel": "Downloads"
},
- "upload" : {
- "tooltip" : "Uploads history",
- "buttonLabel" : "Uploads"
+ "upload": {
+ "tooltip": "Uploads history",
+ "buttonLabel": "Uploads"
},
- "moreDetails" : {
- "label" : "More details"
+ "moreDetails": {
+ "label": "More details"
},
- "title" : {
- "label" : "Title"
+ "title": {
+ "label": "Title"
}
},
- "listView" : {
- "label" : "List View",
- "headers" : {
- "name" : "Name",
- "provider" : "Provider",
- "description" : "Description",
- "type" : "Type",
- "size" : "Size",
- "createdAt" : "Created at",
- "lastModified" : "Last Modified at",
- "donwloads" : "Downloads",
- "actions" : "Actions"
+ "listView": {
+ "label": "List View",
+ "headers": {
+ "name": "Name",
+ "provider": "Provider",
+ "description": "Description",
+ "type": "Type",
+ "size": "Size",
+ "createdAt": "Created at",
+ "lastModified": "Last Modified at",
+ "donwloads": "Downloads",
+ "actions": "Actions"
}
},
- "refresh" : {
- "label" : "Refresh"
+ "refresh": {
+ "label": "Refresh"
},
- "emptyList" : {
- "label" : "Service list is empty. Would you like to upload one? If yes,",
- "anchor" : "Click here",
- "labelContinued" : "to upload a new service"
+ "emptyList": {
+ "label": "Service list is empty. Would you like to upload one? If yes,",
+ "anchor": "Click here",
+ "labelContinued": "to upload a new service"
}
}
}
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js b/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js
index bc077a10..dd9dda64 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-(function() {
+(function () {
'use strict';
/**
@@ -39,8 +39,8 @@
var defer = $q.defer()
$http({
method: method,
- //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url,
- url:url,
+ //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url,
+ url: url,
data: data,
headers: headers
}).then(function successCallback(response) {
@@ -50,15 +50,15 @@
}, function errorCallback(error) {
var parentEl = angular.element(document.body);
$mdDialog.show({
- parent:parentEl,
- templateUrl:'/onapui/vnfmarket/common/templates/serverError.html',
- locals:{
- error:error
+ parent: parentEl,
+ templateUrl: '/onapui/vnfmarket/common/templates/serverError.html',
+ locals: {
+ error: error
},
- skipHide:true,
- controller:function($scope, $mdDialog, error){
+ skipHide: true,
+ controller: function ($scope, $mdDialog, error) {
$scope.error = error;
- $scope.closeDialog= function(){
+ $scope.closeDialog = function () {
$mdDialog.hide();
}
}
@@ -74,13 +74,13 @@
var defer = $q.defer()
$http({
method: method,
- //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url,
- url:url,
+ //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url,
+ url: url,
data: data,
headers: headers,
transformRequest: angular.identity,
uploadEventHandlers: {
- progress: function(e) {
+ progress: function (e) {
if (e.lengthComputable) {
$rootScope.progressBar = (e.loaded / e.total) * 100;
}
@@ -93,15 +93,15 @@
}, function errorCallback(error) {
var parentEl = angular.element(document.body);
$mdDialog.show({
- parent:parentEl,
- templateUrl:'/onapui/vnfmarket/common/templates/serverError.html',
- locals:{
- error:error
+ parent: parentEl,
+ templateUrl: '/onapui/vnfmarket/common/templates/serverError.html',
+ locals: {
+ error: error
},
- skipHide:true,
- controller:function($scope, $mdDialog, error){
+ skipHide: true,
+ controller: function ($scope, $mdDialog, error) {
$scope.error = error;
- $scope.closeDialog= function(){
+ $scope.closeDialog = function () {
$mdDialog.hide();
}
}
diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/templates/serverError.html b/vnfmarket/src/main/webapp/vnfmarket/common/templates/serverError.html
index 6d402765..9b8a540a 100644
--- a/vnfmarket/src/main/webapp/vnfmarket/common/templates/serverError.html
+++ b/vnfmarket/src/main/webapp/vnfmarket/common/templates/serverError.html
@@ -27,15 +27,21 @@
<md-dialog-content>
<div class="md-dialog-content">
- <div class="fullWidth center">
- <div class="row">
- <div class="col-xs-2 col-sm-2 col-md-1 col-lg-1 icon glyphicon glyphicon-exclamation-sign icon_error deleteIconSize"></div>
- <div class="msg col-xs-10 col-sm-10 col-md-11 col-lg-11" style="text-align:left;vertical-align: middle;">
- <div> <span>{{'common.message.statusTitle' | translate }} </span> <span>{{error.status}}</span> </div>
- <div> <span>{{'common.message.statusText' | translate }} </span> <span>{{error.statusText}}</span></div>
+ <div class="fullWidth center">
+ <div class="row">
+ <div class="col-xs-2 col-sm-2 col-md-1 col-lg-1 icon glyphicon glyphicon-exclamation-sign icon_error deleteIconSize"></div>
+ <div class="msg col-xs-10 col-sm-10 col-md-11 col-lg-11" style="text-align:left;vertical-align: middle;">
+ <div>
+ <span>{{'common.message.statusTitle' | translate }} </span>
+ <span>{{error.status}}</span>
+ </div>
+ <div>
+ <span>{{'common.message.statusText' | translate }} </span>
+ <span>{{error.statusText}}</span>
</div>
</div>
</div>
+ </div>
</md-dialog-content>
<md-dialog-actions layout="row" class="row deleteAction">