...
Tests that alarms can be generated and viewed correctly through the Alarm webgui. Specific alarms are tested in the tests cases related to the concrete specific functionalities.
Basic alarm
- Delete a file on a pillar.
- Run an integity integrity check for missing files.
...
- Filter on a Collection
- Only alarms related to the specified collection should be present in the list.
- Filter on an All collections.
- The full alarm list should be show again.
...
- Filter on a known component
- Only alarms from the specified component should be present in the list.
- Filter on an unknown component
- No alarms should be listed.
...
- Select a specific alarm code
- Only alarms with the specific alarm code should be listed.
- Filter on an All codes.
- The full alarm list should be show again.
List size
- Change the number of listed event and verify the number of listed event changes accordingly.
...
Tests that alarms are stored on the messagebus persistent and durable (
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
- Start and stop Ensure the alarm service .
- This should cause a durable subscriber to have been registered.
- Generate a alarm (run a integrity check on a inconsistent collection).
- Start the alarm service.
- The alarm should be received on the alarm service.
- Stop the alarm service.
- Generate a is running, and that it is a durable subscriber
ssh bm_webservice@int-bitmag-02.kb.dk
and runtomcat-init.sh start
if it isn't running- The alarm service should be present under the active durable subscribers (can be checked at http://int-bitmag-01.kb.dk:8001/admin/subscribers.jsp)
- Shutdown the alarm service
- Stop the service with
alarm-service-it.sh stop
- This will stop the webclient, remove the alarm service from the tomcat90/webapps/ folder and restart the webclient tomcat server
- Checked that the alarm service is present under offline durable subscribers at http://int-bitmag-01.kb.dk:8001/admin/subscribers.jsp
- Stop the service with
- Generate an alarm (run a integrity check on a inconsistent collection).
- Restart the message bus.
- Note the time of the alarm, and any other details to be able to identify it again.
- alarm service again
- Using
alarm-service-it.
- The alarm should be received on the alarm service
sh start
- When the webclient is restarted, it will automatically perform some checks that will cause alarms. This is where you need to use the details about the alarm you triggered to check that the alarm is present.
Start the - Using
Jira Issues | ||||||
---|---|---|---|---|---|---|
|