Versions Compared

Key

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

...

In the above mentioned APIs, id, type and time *time are optional parameters but while calling the APIs atleast one of them is required. Admin can pass one or multiple ids of alert to delete/archive them as per the requirement or if admin wants to delete/archive all the alerts of a particular category then he needs to pass only only* type*type parameter along with type value. If admin wants to delete/archive alerts older then some time then admin needs to pass time parameter. If admin passes any combination of parameters (two or all three) then CloudStack will fetch the alerts from database depends on the parameters and delete/archive only those alerts which satisfy this criteria.

...

  • Add new methods in ManagementServerImpl.java to delete and archive alerts.
  • Add new components in ManagementService.
  • Add new methods in AlertDaoImpl.java to search required alerts

Delete or Archive Events

DB schema changes:

...