summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-03-16 13:55:45 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-23 19:57:11 +0000
commitd50c76909b699aa5cdd2f5b48de3ebf4003eb9b0 (patch)
treed169e4978939de66b3fc4241ac25dd5954a95a04
parent6b97dde1f28199975d55682bd01b503150efe0c1 (diff)
downloadphosphor-webui-d50c76909b699aa5cdd2f5b48de3ebf4003eb9b0.tar.gz
phosphor-webui-d50c76909b699aa5cdd2f5b48de3ebf4003eb9b0.zip
Remove unused code
This code is not used. Tested: Manually tested few key features of GUI. Change-Id: I8c684b9389fa54c7b9e70b9fced8bb5d764f4891 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--app/common/services/api-utils.js1
-rw-r--r--app/common/services/constants.js4
2 files changed, 0 insertions, 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'
OpenPOWER on IntegriCloud