Updating login structure
Updated login structure with a field where user can manually add server hostname if it is not populated automatically
Change-Id: I147c2c15869131540e327bda26c05b59d78e01d5
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index 2c48822..4852954 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -20,8 +20,8 @@
password: "testpass",
},
API_CREDENTIALS: {
- host: 'https://9.3.181.64',
- mock_host: 'http://localhost:3000'
+ host_storage_key: 'API_HOST_KEY',
+ default_protocol: 'https'
},
API_RESPONSE: {
ERROR_STATUS: 'error',
@@ -109,7 +109,15 @@
'xyz.openbmc_project.Sensor.Value.Unit.Joules',
'xyz.openbmc_project.Sensor.Value.Unit.Meters'
],
- SENSOR_SORT_ORDER_DEFAULT: 8
+ SENSOR_SORT_ORDER_DEFAULT: 8,
+ FIRMWARE: {
+ FALLBACK_DOWNLOAD_FILENAME: 'firmware_download.tar',
+ TYPES: {
+ Functional: 'Functional',
+ Active: 'Active',
+ Ready: 'Ready'
+ }
+ }
};
});