diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-06-10 07:36:43 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-06-10 08:03:58 +0000 |
commit | 70e243d1c48f9554bd4e28e80f7ff766db6fe857 (patch) | |
tree | 6c2f91854470d0e61f267ee05ea3067b34e05629 /vbd/gui/module/src/main/resources/vpp/services/vpp.services.js | |
parent | 973d8c2ecbb02cf6e4971060b6edec3617bce96f (diff) |
HONEYCOMB-7: Remove VBD form HC
VBD is now subproject of ODL:
https://git.opendaylight.org/gerrit/#/admin/projects/honeycomb/vbd
Change-Id: I1bf01a01cca50fe5e3f4f82a53c6b15ec5c7091d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/services/vpp.services.js')
-rw-r--r-- | vbd/gui/module/src/main/resources/vpp/services/vpp.services.js | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/services/vpp.services.js b/vbd/gui/module/src/main/resources/vpp/services/vpp.services.js deleted file mode 100644 index 19cee135b..000000000 --- a/vbd/gui/module/src/main/resources/vpp/services/vpp.services.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -define(['app/vpp/vpp.module', 'next'], function(vpp) { - - vpp.register.factory('VPPRestangular', function(Restangular, ENV) { - return Restangular.withConfig(function(RestangularConfig) { - RestangularConfig.setBaseUrl(ENV.getBaseURL("MD_SAL")); - }); - }); - - vpp.register.factory('VPPRestangularXml', function(Restangular, ENV) { - return Restangular.withConfig(function(RestangularConfig) { - RestangularConfig.setBaseUrl(ENV.getBaseURL("MD_SAL")); - RestangularConfig.setDefaultHeaders({ "Content-Type": "application/xml" }, { "Accept": "application/xml" }); - }); - }); - - vpp.register.service('toastService', function($mdToast) { - this.showToast = function(content) { - var toast = $mdToast.simple() - .content(content) - .action('OK') - .position('bottom right'); - $mdToast.show(toast); - } - }); - - vpp.register.service('dataService', ['$timeout', 'bdmTunnelService',function($timeout, bdmTunnelService) { - - var self = this; - - this.vpps = []; - this.interfaces = []; - this.selectedBd = { - name: '' - }; - - - }]); - - - -});
\ No newline at end of file |