Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12923

Integration API: Alarm.type is unset

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 26.1.3
    • Meridian-2019.1.12, 26.2.2
    • Alarms
    • Security Level: Default (Default Security Scheme)
    • None

    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.

      Attachments

        Activity

          People

            pioto Mike Kelly
            pioto Mike Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: