Versions Compared

Key

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

...


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
  1. Delete a file on a pillar.
  2. Run an integity integrity check for missing files.
    •  A new alarm should be generated by the integrity service, indicating that a integrity problem has been detected. 

...

  1. Filter on a valid date range.
    •  Only alarms from the date range should be present in the list.
  2. Filter only on a start date.
    •  Only alarms from the start date and forward should be present in the list.
  3. Filter only on a end date.
    •  Only alarms prior and up to the end date should be present in the list.
Collection
  1. Filter on a Collection
    •  Only alarms related to the specified collection should be present in the list.
  2. Filter on an All collections.
    •  The full alarm list should be show again.

...

  1. Filter on a known component
    •  Only alarms from the specified component should be present in the list.
  2. Filter on an unknown component
    •  No alarms should be listed.

...

  1. Select a specific alarm code
    •  Only alarms with the specific alarm code should be listed.
  2. 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
showSummaryfalse
serverSystem JIRA
serverId81c76265-cab2-3ba5-b74d-ee7cd9a2765e
keyBITMAG-432
). 

  •  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
  •   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
  •  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.
  •  Start the alarm service again
    • Using alarm-service-it.
    • The alarm should be received on the alarm servicesh 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.

Jira Issues
columnskey,priority,summary,type,created,fixversion
titleUnresolved audit trail issues.
urlhttps://sbforge.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+BITMAG+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Alarms%22+ORDER+BY+priority+DESC&tempMax=1000