"monitoringSystemDeleted" when a Minion is removed

Description

The REST API underneath the Minion list UI should trigger an event whenever a Minion is deleted.

I recommend using the following UEI:

uei.opennms.org/internal/monitoringSystemDeleted

The following information should be present in event parms:

  • Monitoring system type with value "Minion" (to match database contents)

  • UUID of the Minion

  • Location (if configured) of the Minion

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger September 21, 2016 at 10:11 AM

PR merged, marking as fixed.

https://github.com/OpenNMS/opennms/pull/1012
commit ccfe5af8fe32d0416e20872cfbbf4079266cc169

Seth Leger September 13, 2016 at 12:55 AM

We're using the v2 MinionRestService. You should be able to override the delete() method for it and add the event there.

Chandra Gorantla September 12, 2016 at 5:26 PM

Looks like there is no Rest service for Minion deletion and also there is no such option from UI.

Should we add delete operation on Minion ?
https://github.com/OpenNMS/opennms/blob/bb8eb94db9d10840f504373d3102f36e3d99dbd7/opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/MinionRestService.java

Fixed

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

PagerDuty

Created September 8, 2016 at 4:32 PM
Updated June 3, 2019 at 8:04 AM
Resolved September 21, 2016 at 10:11 AM