From d50c76909b699aa5cdd2f5b48de3ebf4003eb9b0 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Fri, 16 Mar 2018 13:55:45 -0500 Subject: Remove unused code This code is not used. Tested: Manually tested few key features of GUI. Change-Id: I8c684b9389fa54c7b9e70b9fced8bb5d764f4891 Signed-off-by: Gunnar Mills --- app/common/services/api-utils.js | 1 - app/common/services/constants.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js index 7557540..73fe5a4 100644 --- a/app/common/services/api-utils.js +++ b/app/common/services/api-utils.js @@ -13,7 +13,6 @@ window.angular && (function (angular) { .module('app.common.services') .factory('APIUtils', ['$http', 'Constants', '$q', 'dataService',function($http, Constants, $q, DataService){ var SERVICE = { - LOGIN_CREDENTIALS: Constants.LOGIN_CREDENTIALS, API_CREDENTIALS: Constants.API_CREDENTIALS, API_RESPONSE: Constants.API_RESPONSE, CHASSIS_POWER_STATE: Constants.CHASSIS_POWER_STATE, diff --git a/app/common/services/constants.js b/app/common/services/constants.js index fd8204a..57e2e19 100644 --- a/app/common/services/constants.js +++ b/app/common/services/constants.js @@ -15,10 +15,6 @@ window.angular && (function (angular) { .module('app.common.services', []) .service('Constants', function () { return { - LOGIN_CREDENTIALS: { - username: "test", - password: "testpass", - }, API_CREDENTIALS: { host_storage_key: 'API_HOST_KEY', default_protocol: 'https' -- cgit v1.2.1