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

Integration API: Alarm.type is unset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 26.1.3
    • Fix Version/s: Meridian-2019.1.12, 26.2.2
    • Component/s: Alarms
    • Security Level: Default (Default Security Scheme)
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration