Display order change in sensor overview page based on client feedback
Change-Id: I0930e94f6ac26c0649b44077768ff32c3a48cb3c
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index 6418c32..7c4b340 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -20,7 +20,7 @@
password: "testpass",
},
API_CREDENTIALS: {
- host: 'https://9.3.185.161',
+ host: 'https://9.3.181.64',
mock_host: 'http://localhost:3000'
},
API_RESPONSE: {
@@ -36,7 +36,7 @@
HOST_STATE_TEXT: {
on: 'Running',
off: 'Off',
- booting: 'Standby',
+ booting: 'Quiesced',
unreachable: 'Unreachable'
},
HOST_STATE: {
@@ -99,7 +99,17 @@
warning: 'Warning',
good: 'Good',
unknown: 'Unknown'
- }
+ },
+ SENSOR_SORT_ORDER: [
+ 'xyz.openbmc_project.Sensor.Value.Unit.DegreesC',
+ 'xyz.openbmc_project.Sensor.Value.Unit.RPMS',
+ 'xyz.openbmc_project.Sensor.Value.Unit.Meters',
+ 'xyz.openbmc_project.Sensor.Value.Unit.Volts',
+ 'xyz.openbmc_project.Sensor.Value.Unit.Amperes',
+ 'xyz.openbmc_project.Sensor.Value.Unit.Joules',
+ 'xyz.openbmc_project.Sensor.Value.Unit.Meters'
+ ],
+ SENSOR_SORT_ORDER_DEFAULT: 8
};
});