Integration API: Alarm.type is unset

Description

As far as I can tell, since at least dc0dd6b321131bef34ead0f6f0c5606458dba2f2, the ModelMappers.toAlarm call isn't setting the AlarmType on the ImmutableAlarm.

This makes things like the JEXL expression I suggested using with the PagerDuty plugin not work, because type ends up always null there.

Looks like a one line change to fix this; let me know what branch you want me to target for the PR. Looks like this issue is present since Horizion 25.0.0, meridian-foundation 2019.1.0.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Mike Kelly September 23, 2020 at 8:40 PM

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created September 23, 2020 at 8:30 PM
Updated September 24, 2020 at 12:12 PM
Resolved September 24, 2020 at 12:12 PM

Flag notifications