Change in JMS NBI Date Format

Description

After upgrading from 21.1.0 to 22.0.2, I'm seeing a different date format in the JMS Alarm northbounder, which is breaking my integration:

Previously, I got dates like:

2017-02-14T11:11:08.986-05:00

Now, I get dates like:

2018-06-11T21:22:16:616-04:00

The separator for fractional seconds changed from . to :.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Chandra Gorantla July 27, 2018 at 2:25 PM

Chandra Gorantla July 26, 2018 at 8:57 PM

Hi Mike, Thank you for the bug report and fix.  I want to fix this little differently. i want to revert back to using  StringUtils  when there is no date format defined. 

Mike Kelly July 24, 2018 at 10:45 PM

I did look at that property first, but I don't think it seemed to have the intended effect. The code path followed for the NBI doesn't seem to invoke it either (see the PR above).

Jeff Gehlbach July 24, 2018 at 6:18 PM

have you attempted to work around this problem by setting org.opennms.ui.datettimeformat within a file inside etc/opennms.properties.d? I'm not sure whether it would do the trick. And I do realize the property contains a typo; it's the same way in the code.

Mike Kelly July 24, 2018 at 4:26 PM

Fixed

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

PagerDuty

Created July 24, 2018 at 1:37 AM
Updated August 3, 2018 at 12:59 PM
Resolved August 3, 2018 at 12:59 PM