[OpenNMS/opennms] 949bb1: NMS-20109: Make HA management an optional feature
Chandra Gorantla via opennms-cvs <[email protected]> Thu, 30 Jul 2026 09:24:25 -0700
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/features/ha-management/[email protected]> |
Branch: refs/heads/features/ha-management
Home: https://github.com/OpenNMS/opennms
Commit: 949bb1b23b477702f706314ab3a30f3c56d18ca5
https://github.com/OpenNMS/opennms/commit/949bb1b23b477702f706314ab3a30f3c56d18ca5
Author: Chandra Gorantla <[email protected]>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M container/features/src/main/resources/features.xml
M container/karaf/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
R core/schema/src/main/liquibase/37.0.0/changelog.xml
M core/schema/src/main/liquibase/changelog.xml
M features/ha-management/ha-api/pom.xml
M features/ha-management/ha-api/src/main/java/org/opennms/netmgt/ha/HaConfiguration.java
M features/ha-management/ha-api/src/main/java/org/opennms/netmgt/ha/HaInstanceState.java
A features/ha-management/ha-api/src/main/java/org/opennms/netmgt/ha/HaMode.java
M features/ha-management/ha-daemon/pom.xml
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaConfigSyncer.java
A features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaHeartbeatWriter.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaStartupCoordinator.java
A features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaStatusSchema.java
A features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaSyncFiles.java
M features/ha-management/ha-daemon/src/test/java/org/opennms/netmgt/ha/HaConfigSyncerTest.java
M features/ha-management/ha-daemon/src/test/java/org/opennms/netmgt/ha/HaStartupCoordinatorTest.java
M features/ha-management/ha-rest/pom.xml
A features/ha-management/ha-rest/src/main/java/org/opennms/netmgt/ha/rest/HaRestService.java
A features/ha-management/ha-rest/src/main/java/org/opennms/netmgt/ha/rest/impl/HaRestServiceImpl.java
A features/ha-management/ha-rest/src/main/resources/OSGI-INF/blueprint/blueprint.xml
M features/ha-management/ha-shell/pom.xml
M features/ha-management/ha-shell/src/main/java/org/opennms/netmgt/ha/shell/HaFailoverCommand.java
M features/ha-management/pom.xml
M opennms-base-assembly/pom.xml
A opennms-base-assembly/src/main/filtered-meridian/etc/ha-configuration.xml
R opennms-base-assembly/src/main/filtered/etc/ha-configuration.xml
M opennms-full-assembly/pom.xml
M opennms-webapp-rest/pom.xml
R opennms-webapp-rest/src/main/java/org/opennms/web/rest/v1/HaResource.java
M opennms-webapp/src/main/webapp/WEB-INF/applicationContext-spring-security.xml
Log Message:
-----------
NMS-20109: Make HA management an optional feature
- Create ha_instance_status from the coordinator at startup (advisory-lock
serialized, includes agent_last_seen) instead of the core Liquibase
changelog
- Write only last_heartbeat from the heartbeat cycle; state columns change
on transitions only
- Add <mode>heartbeat-only</mode>: an external supervisor owns the state
machine and OpenNMS only publishes liveness, never gating startup
- Move the HA REST endpoints out of opennms-webapp-rest into the ha-rest
OSGi whiteboard bundle; enforce authorization via Spring Security
intercept-urls
- Replace the filesystem-API config sync with a binary manifest transfer
(sha256 diff, atomic apply, deletion propagation, sync-excludes); the
hasync account no longer needs ROLE_FILESYSTEM_EDITOR
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs