Code commits

OpenNMS (develop branch)

  • Pierre Bouffard <39974723+bouff@users.noreply.github.com>

    Pierre Bouffard <39974723+bouff@users.noreply.github.com> 41362efeb5507931848aac436b601259749afe86

    NMS-10720: Make Events immutable (avoid CMEs and fix non-deterministic behavior) [Part 2] (#2869)
    -Propagate immutable event to various event listener implementations.
    -Fix mapping issue in immutable event (due to certain fields being defaulted by the mutable Event getters).

    • container/karaf/src/main/filtered-resources/etc/custom.properties (version 41362efeb5507931848aac436b601259749afe86)
    • core/daemon/src/main/java/org/opennms/netmgt/daemon/DaemonTools.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/amqp/event-forwarder/src/main/java/org/opennms/features/amqp/eventforwarder/ForwardingEventListener.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/amqp/event-forwarder/src/test/java/org/opennms/features/amqp/eventforwarder/AMQPEventForwarderBlueprintTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/amqp/event-receiver/src/test/java/org/opennms/features/amqp/eventreceiver/AMQPEventReceiverBlueprintTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/api-layer/src/main/java/org/opennms/features/apilayer/events/EventSubscriptionServiceImpl.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/bsm/daemon/src/main/java/org/opennms/netmgt/bsm/daemon/Bsmd.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/collection/thresholding/impl/src/main/java/org/opennms/netmgt/threshd/ThresholdingServiceImpl.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/discovery/src/main/java/org/opennms/netmgt/discovery/Discovery.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/eif-adapter/src/test/java/org/opennms/features/eifadapter/EifAdapterBlueprintTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/enlinkd/daemon/src/main/java/org/opennms/netmgt/enlinkd/EventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/AnnotationBasedEventListenerAdapter.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/EventListener.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/IAlarmData.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/IEvent.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ILogMsg.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/IParm.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ISnmp.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ImmutableAlarmData.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ImmutableLogMsg.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ImmutableMapper.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ImmutableParm.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/events/api/model/ImmutableSnmp.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/xml/event/AlarmData.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/xml/event/Event.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/xml/event/Logmsg.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/main/java/org/opennms/netmgt/xml/event/Snmp.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/api/src/test/java/org/opennms/netmgt/events/api/model/ImmutableEventTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/daemon/src/main/java/org/opennms/netmgt/eventd/BroadcastEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/daemon/src/main/java/org/opennms/netmgt/eventd/EventIpcManagerDefaultImpl.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/daemon/src/test/java/org/opennms/netmgt/eventd/BroadcastEventProcessorTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/daemon/src/test/java/org/opennms/netmgt/eventd/EventIpcManagerDefaultImplTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/main/java/org/opennms/netmgt/syslogd/Syslogd.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogReloadDaemonIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogSinkConsumerNewSuspectIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogdEventdLoadIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogdImplementationsIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogdLoadIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/traps/src/main/java/org/opennms/netmgt/trapd/Trapd.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/events/traps/src/test/java/org/opennms/netmgt/trapd/TrapdReloadDaemonIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/graph/provider/bsm/src/main/java/org/opennms/netmgt/graph/provider/bsm/BusinessServiceGraphProvider.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/OpennmsKafkaProducer.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/minion/status/src/main/java/org/opennms/minion/status/MinionStatusTracker.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/minion/status/src/test/java/org/opennms/minion/status/MinionStatusTrackerTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/opennms-es-rest/src/main/java/org/opennms/plugins/elasticsearch/rest/ForwardingEventListener.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/poller/remote/src/main/java/org/opennms/netmgt/poller/remote/support/PollerBackEndEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/telemetry/daemon/src/main/java/org/opennms/netmgt/telemetry/daemon/Telemetryd.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/ticketing/daemon/src/main/java/org/opennms/netmgt/ticketd/TroubleTicketer.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/service/TopologyServiceEventListener.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.asset/src/main/java/org/opennms/features/topology/plugins/topo/asset/AssetGraphMLProvider.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.asset/src/main/java/org/opennms/features/topology/plugins/topo/asset/GeneratorConfigBuilder.java (version 41362efeb5507931848aac436b601259749afe86)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.asset/src/test/java/org/opennms/features/topology/plugins/topo/asset/GeneratorConfigBuilderTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • integrations/opennms-rancid-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/RancidProvisioningAdapter.java (version 41362efeb5507931848aac436b601259749afe86)
    • integrations/opennms-snmp-asset-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/SnmpAssetProvisioningAdapter.java (version 41362efeb5507931848aac436b601259749afe86)
    • integrations/opennms-snmp-hardware-inventory-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/SnmpHardwareInventoryProvisioningAdapter.java (version 41362efeb5507931848aac436b601259749afe86)
    • integrations/opennms-wsman-asset-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/WsManAssetProvisioningAdapter.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-ackd/src/main/java/org/opennms/netmgt/ackd/Ackd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-ackd/src/test/java/org/opennms/netmgt/ackd/AckdIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-alarms/daemon/src/main/java/org/opennms/netmgt/alarmd/Alarmd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-alarms/daemon/src/main/java/org/opennms/netmgt/alarmd/NorthbounderManager.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-config/src/main/java/org/opennms/netmgt/config/SnmpEventInfo.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-config/src/test/java/org/opennms/netmgt/config/ConfigureSnmpTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-config/src/test/java/org/opennms/netmgt/config/SnmpEventInfoTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-correlation/drools-correlation-engine/src/main/java/org/opennms/netmgt/correlation/drools/DroolsCorrelationEngineBuilder.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-correlation/opennms-correlator/src/main/java/org/opennms/netmgt/correlation/Correlator.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-correlation/opennms-correlator/src/test/java/org/opennms/netmgt/correlation/CorrelatorEngineAdapterTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-dao-mock/src/main/java/org/opennms/netmgt/dao/mock/EventAnticipator.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-dao-mock/src/main/java/org/opennms/netmgt/dao/mock/MockEventIpcManager.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-dao/src/main/java/org/opennms/netmgt/dao/support/InterfaceToNodeCacheEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-enterprise-reporting/opennms-reportd/src/main/java/org/opennms/netmgt/reporting/service/Reportd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-model/src/main/java/org/opennms/netmgt/model/events/EventUtils.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-model/src/test/java/org/opennms/netmgt/model/events/AnnotationBasedEventListenerAdapterTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/Provisioner.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/ProvisioningAdapterManager.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/test/java/org/opennms/netmgt/provision/service/NewSuspectScanIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/test/java/org/opennms/netmgt/provision/service/PolicyIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/test/java/org/opennms/netmgt/provision/service/ProvisionerTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-provision/opennms-provisiond/src/test/java/org/opennms/netmgt/provision/service/ProvisioningITCase.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/actiond/BroadcastEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/collectd/Collectd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/notifd/BroadcastEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/passive/PassiveStatusKeeper.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/poller/DefaultPollContext.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/poller/PollerEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/poller/pollables/PendingPollEvent.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/queued/Queued.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/rtc/BroadcastEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/rtc/DataSender.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/rtc/DataUpdater.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/scriptd/BroadcastEventProcessor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/scriptd/Executor.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/snmpinterfacepoller/SnmpPoller.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/statsd/Statsd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/tl1d/Tl1d.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/translator/EventTranslator.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/main/java/org/opennms/netmgt/vacuumd/Vacuumd.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/collectd/CollectdEventHandlingTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/collectd/CollectdIntegrationTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/collectd/DuplicatePrimaryAddressIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/mock/MockNetworkTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/mock/OutageAnticipator.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/passive/PassiveStatusKeeperIT.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/poller/mock/MockPollContext.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/netmgt/poller/pollables/PendingPollEventTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/spring/xml/AspectJTest.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/spring/xml/AspectJTestEventHandler.java (version 41362efeb5507931848aac436b601259749afe86)
    • opennms-services/src/test/java/org/opennms/spring/xml/AspectJTestEventHandlerInteceptor.java (version 41362efeb5507931848aac436b601259749afe86)