Update Quartz to current version

Description

OpenNMS depends on an ancient version of Quartz, 1.6.5. Update to the latest version: 2.2.1

Acceptance / Success Criteria

None

Attachments

8

Lucidchart Diagrams

Activity

Show:

Seth Leger March 30, 2017 at 5:00 PM

Seth Leger March 30, 2017 at 4:46 PM

Here's a diff of the nms6584_two_triggers.txt and nms6584_post_upgrade.txt files. You can see that it's adding the sched_name column to many of the tables and doing some other schema migration (ie. is_volatile field) but the schedule data in qrtz_cron_triggers and qrtz_triggers stays the same.

Seth Leger March 30, 2017 at 4:42 PM

I did some testing to make sure that the upgrade is working properly.

  • I set up a foundation-2017 machine with a pristine set of Quartz tables

  • A row is added to qrtz_job_details by Spring for the org.opennms.reporting.core.BatchReportJob on startup

  • I took a dump of the Quartz tables (nms6584_pristine.txt)

  • I scheduled two reports to execute every minute in the UI: this adds two rows to the qrtz_cron_triggers and qrtz_triggers tables

  • I took a dump of the Quartz tables (nms6584_two_triggers.txt)

  • I received a few report emails to make sure that the triggers were executing

  • I stopped OpenNMS, upgraded to the branch RPMs, and ran the installer

  • I took a dump of the Quartz tables (nms6584_post_upgrade.txt)

  • I started up OpenNMS and made sure that the reports were being delivered with Quartz 2

Seth Leger January 27, 2017 at 4:44 PM

Issue in the latest build:

Seth Leger June 20, 2016 at 12:34 AM

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created June 5, 2014 at 10:10 AM
Updated March 30, 2017 at 8:59 PM
Resolved March 30, 2017 at 5:00 PM