Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below are the UI elements to be implemented.

Main View

The graphical user interface has a table view.

The table view implements the common ux-framework-table supporting sorting, filtering and pagination on the server.

The view table shows the below following fields.:

  1. Mount IdNode Name
  2. Notification
  3. Activation State
  4. Start Date
  5. End Date
  6. Actions

Image Removed button on the top right corner should allow users to add the device in Maintenance as shown below

...

    1. +1H
    2. +8H
    3. Edit
    4. Remove

Reload ButtonImage Added: Reloads/Refresh the Maintenance Entries

Image Added

Following, the columns are specified.

1)      Mount IdNode Name:

Shows the device name


2)     Notification:

...

shows the end date of the device maintenance


6)           Context Menu Actions: Buttons to be implemented to manage the maintenance of the device

Image Added


  1. +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.
              
  2. +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.
               
  3. 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
                
  4. 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.
                  

Add new maintenance entry

The Image Added button on the top right corner should allow users to add the device in Maintenance as shown below

Image Added

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.

Data Provider

The Maintenance values are stored on in an ElasticSearch database. The REST-API is provided by the ApiGateway Data-Provider.

  1. Entity to create maintenance entry is create-maintenance
  2. Entity to read maintenance list is read-maintenance-list
  3. Entity to delete maintenance entry is delete-maintenance

The index is “maintenancemode” the doctype is maintenancemode

The GUI of the Maintenance :

...