This is a follow up from the discussions held while solving 8109.
The present solution implemented auto-refreshes the Moxa connection status every 30 seconds.
How?
The issue with the Moxa change with periodic auto-refresh is that after refresh the Moxa display state is lost. So an expanded Moxa is getting collapsed after refresh.
Reproducible?
[Yes]
To Reproduce
Open the IBEX GUI.
Go to the Moxa Ports view
Check if some moxa is connected and shown on the screen
Wait for 30-40 seconds. The screen would auto-refresh and redraw with latest Moxa connection status.
After the refresh, any expanded Moxa status item is collapsed.
Acceptance criteria
[ ] Once the screen is re-loaded with latest data it should show pre-existing data in same state (expanded/collapsed).
[ ] For Moxa items that are no more connected, suitable label should appear in the display area to indicate that these are not connected
[ ] Add mechanism to log messages by desired logging level. Currently logging is happening at INFO level whenever value is changed - for values changing very often this means too many log entries.
How to Test
verbose instructions for reviewer to test changes
(Add before making a PR)
Open the IBEX GUI.
Go to the Moxa Ports view
Check if some moxa is connected and shown on the screen
Wait for 30-40 seconds. The screen would auto-refresh and redraw with latest Moxa connection status.
Expand one or more Moxa items.
After the refresh, any previously expanded Moxa status item should remain expanded.
Disconnect a previously connected Moxa, the status should indicate that the Moxa connection information is no more available.
Where?
This is a follow up from the discussions held while solving 8109. The present solution implemented auto-refreshes the Moxa connection status every 30 seconds.
How?
The issue with the Moxa change with periodic auto-refresh is that after refresh the Moxa display state is lost. So an expanded Moxa is getting collapsed after refresh.
Reproducible?
[Yes]
To Reproduce
Acceptance criteria
How to Test
verbose instructions for reviewer to test changes (Add before making a PR)