This feature adds a colour property to NetAppStatusModel that represents the string colour name of the current entity.
Colours are defined based on the property values:
If CurrrentRobotCount >= HardLimit then Red
If CurrentRobotsCount < OptimalLimit then Green,
Else Yellow
Fixes #216
Type of change
[x] New feature (non-breaking change which adds functionality)
What has been changed?
Feature - added colour coding property for netapp heartbeat
How Has This Been Tested?
[x] Retrieved example netapp status from API
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
This feature adds a
colour
property toNetAppStatusModel
that represents the string colour name of the current entity. Colours are defined based on the property values:CurrrentRobotCount
>=HardLimit
then RedCurrentRobotsCount
<OptimalLimit
then Green,Fixes #216
Type of change
What has been changed?
How Has This Been Tested?
Checklist: