Support optional migration in case XSD missing

Description

Some XSDs are inside plugin jars and it's not part of onms core rpm. In such cases we want liquibase to support "optional" flag to skip the migration if XSD not found.

Existing logic that can search for change-log.xml in classpath: https://github.com/OpenNMS/opennms/blob/develop/core/schema/src/main/java/org/opennms/core/schema/Migrator.java#L1008 

Acceptance / Success Criteria

  • XMP plugin contains both XSD and change-log.xml 

  • onms can start without XMP plugin

  • When adding XMP plugin on top of onms will trigger migration of XMP config file upon onms startup

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Story Points

Priority

PagerDuty

Created December 6, 2021 at 6:56 PM
Updated December 8, 2021 at 2:58 PM