...
The view shows the below fields.
- Mount IdNode Name
- Notification
- Activation State
- Start Date
- End Date
- Actions
button on the top right corner should allow users to add the device in Maintenance as shown below
...
- +1H
- +8H
- Edit
- Remove
Following, the columns are specified.
1) Mount IdNode Name:
Shows the device name
2) Notification:
...
- +1H: This should set the device in Maintenance Mode for the next one hour. (currentTime+1hours). When the button is clicked the modal window should be opened for the confirmation with the pre-existing values.
- +8H: This should set the device in Maintenance Mode for the next eight hours. (currentTime+8hours). When the button is clicked the modal window should be opened for the confirmation with the pre-existing values.
- Edit: This should allow the user to set the start and end dates for the device Maintenance. When the button is clicked the modal window should be opened for the confirmation with the pre-existing values
- Remove: This should allow the user to disable the Maintenance of the device at any point of time. When the button is clicked the modal window should be opened for the confirmation with the pre-existing values.
Rules on startdate and enddate
...
Even if the date/time for "Start" and "End" is in the past, you can still set the activation state to active.
As per the discussion 27/11 - The start and end dates displayed in the GUI should be UTC datetime with the indication to the user that it is in UTC dateTime.
Add new maintenance entry
The button on the top right corner should allow users to add the device in Maintenance as shown below
Data Provider
The Maintenance values are stored on in an ElasticSearch database. The REST-API is provided by the ApiGateway Data-Provider.
- Entity to create maintenance entry is create-maintenance
- Entity to read maintenance list is read-maintenance-list
- Entity to delete maintenance entry is delete-maintenance
The index is “maintenancemode” the doctype is “maintenancemode”
The GUI of the Maintenance :
...