From 70e243d1c48f9554bd4e28e80f7ff766db6fe857 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 10 Jun 2016 07:36:43 +0200 Subject: 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 --- .../main/resources/vpp/services/vpp.services.js | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 vbd/gui/module/src/main/resources/vpp/services/vpp.services.js (limited to 'vbd/gui/module/src/main/resources/vpp/services/vpp.services.js') 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 -- cgit 1.2.3-korg