Build #85

Build: #85 failed

Job: Smoke Test (Flapping) failed

Code commits

OpenNMS (develop branch)

  • Jesse White

    Jesse White 007cb0085f1ea9a11a4db07b005119e50bd95f1f

    Merge pull request #2337 from OpenNMS/features/alarms-in-es
    HZN-1420: Add support for indexing alarms in Elasticsearch.

  • Patrick Schweizer <patrick@schweizer-ing.com>

    Patrick Schweizer <patrick@schweizer-ing.com> e106c161ff158c7b07ec869cc44222fa2e172943

    HZN-1469: Leverage new topology generator to test the LinkdTopologyProvider (#2339)
    * HZN-1469 add IT test to generate topology and load it through TopologyEntityDaoHibernate > TopologyEntityCacheImpl > LinkdTopologyProvider.
             small improvements on the TopologyGenerator
             small code cleanup in AbstractTopologyProvider

    * HZN-1469 add test to LinkdTopologyProvider to verify that nodes are connected with the right nodes.
             bug fiy in EntityCache

    * HZN-1469 improbved comments

    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/TopologyGenerator.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/TopologyPersister.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/protocol/CdpProtocol.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/protocol/IsIsProtocol.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/protocol/LldpProtocol.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/generator/src/main/java/org/opennms/enlinkd/generator/protocol/OspfProtocol.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/persistence/api/src/main/java/org/opennms/netmgt/enlinkd/persistence/api/TopologyEntityCache.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/persistence/impl/src/main/java/org/opennms/netmgt/enlinkd/persistence/impl/TopologyEntityCacheImpl.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/shell/src/main/java/org/opennms/features/enlinkd/shell/DeleteTopologyCommand.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/enlinkd/shell/src/main/java/org/opennms/features/enlinkd/shell/GenerateTopologyCommand.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/topology-map/org.opennms.features.topology.api/src/main/java/org/opennms/features/topology/api/topo/AbstractTopologyProvider.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.linkd/pom.xml (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.linkd/src/test/java/org/opennms/features/topology/plugins/topo/linkd/internal/LinkdTopologyProviderTestIT.java (version e106c161ff158c7b07ec869cc44222fa2e172943)
    • features/topology-map/plugins/org.opennms.features.topology.plugins.topo.linkd/src/test/resources/META-INF/opennms/applicationContext-LinkdTopologyProviderTestIT.xml (version e106c161ff158c7b07ec869cc44222fa2e172943)
  • Jesse White

    Jesse White f78a959d23f8c7ff3807195b064899528adaf7fb m

    HZN-1420: Update the AlarmHistoryRepository to use optionals.

    • features/alarms/history/api/src/main/java/org/opennms/features/alarms/history/api/AlarmHistoryRepository.java (version f78a959d23f8c7ff3807195b064899528adaf7fb)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/ElasticAlarmHistoryRepository.java (version f78a959d23f8c7ff3807195b064899528adaf7fb)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ElasticAlarmHistoryRepositoryIT.java (version f78a959d23f8c7ff3807195b064899528adaf7fb)
    • features/alarms/history/rest/impl/src/main/java/org/opennms/features/alarms/history/rest/impl/AlarmHistoryRestServiceImpl.java (version f78a959d23f8c7ff3807195b064899528adaf7fb)
  • Jesse White

    Jesse White 1425d09886dfb17a659ca660309113d9b47357e5 m

    HZN-1420: Documentation updates.

    • opennms-doc/guide-admin/src/asciidoc/text/alarms/history.adoc (version 1425d09886dfb17a659ca660309113d9b47357e5)
    • opennms-doc/guide-development/src/asciidoc/index.adoc (version 1425d09886dfb17a659ca660309113d9b47357e5)
    • opennms-doc/guide-development/src/asciidoc/text/rest/alarm_history.adoc (version 1425d09886dfb17a659ca660309113d9b47357e5)
  • Jesse White

    Jesse White cb219056aaacc6cefdb791e8cfcf93d8d0912d59 m

    HZN-1420: Review fixes.

    • features/alarms/history/api/src/main/java/org/opennms/features/alarms/history/api/AlarmHistoryRepository.java (version cb219056aaacc6cefdb791e8cfcf93d8d0912d59)
    • features/alarms/history/rest/api/src/main/java/org/opennms/features/alarms/history/rest/api/AlarmHistoryRestService.java (version cb219056aaacc6cefdb791e8cfcf93d8d0912d59)
    • features/alarms/history/rest/impl/src/main/java/org/opennms/features/alarms/history/rest/impl/AlarmHistoryRestServiceImpl.java (version cb219056aaacc6cefdb791e8cfcf93d8d0912d59)
  • Jesse White

    Jesse White 1b7e4a58561e293b4984f51e11313f5eb073e76c m

    HZN-1420: Add support for indexing alarms in Elasticsearch.

    • container/features/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • container/features/src/main/resources/features.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • core/cache/src/main/java/org/opennms/core/cache/Cache.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/api/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/api/src/main/java/org/opennms/features/alarms/history/api/AlarmHistoryRepository.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/api/src/main/java/org/opennms/features/alarms/history/api/AlarmState.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/api/src/main/java/org/opennms/features/alarms/history/api/RelatedAlarmState.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/CompositeAggregation.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/ElasticAlarmHistoryRepository.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/ElasticAlarmIndexer.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/ElasticAlarmMetrics.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/ElasticHealthCheck.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/PersistenceException.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/QueryProvider.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/TemplateInitializerForAlarms.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/TimeRange.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/AlarmDocumentDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/AlarmDocumentFactory.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/EventDocumentDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/MemoDocumentDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/MonitoringSystemDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/NodeDocumentDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/dto/RelatedAlarmDocumentDTO.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/AlarmMapper.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/DateMapper.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/EventMapper.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/MapStructDocumentImpl.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/MemoMapper.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/mapping/NodeMapper.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/tasks/BulkDeleteTask.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/tasks/IndexAlarmsTask.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/tasks/Task.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/java/org/opennms/features/alarms/history/elastic/tasks/TaskVisitor.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/OSGI-INF/blueprint/blueprint.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/alarm-template.es6.json (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/org/opennms/features/alarms/history/elastic/get_alarm.ftl (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/org/opennms/features/alarms/history/elastic/get_alarm_at.ftl (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/org/opennms/features/alarms/history/elastic/get_alarms_at.ftl (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/main/resources/org/opennms/features/alarms/history/elastic/get_all_alarms.ftl (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ElasticAlarmHistoryBlackboxIT.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ElasticAlarmHistoryRepositoryIT.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ElasticAlarmIndexerIT.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ElasticAlarmIndexerTest.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/ExtAlarmsMatchers.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/QueryProviderTest.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/java/org/opennms/features/alarms/history/elastic/mapping/MapStructDocumentImplTest.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/resources/META-INF/opennms/applicationContext-alarm-driver-ext.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/elastic/src/test/resources/composite_aggregation_response.json (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/api/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/api/src/main/java/org/opennms/features/alarms/history/rest/api/AlarmHistoryRestService.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/impl/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/impl/src/main/java/org/opennms/features/alarms/history/rest/impl/AlarmHistoryRestServiceImpl.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/impl/src/main/resources/OSGI-INF/blueprint/blueprint.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/history/rest/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/alarms/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/flows/elastic/src/main/java/org/opennms/netmgt/flows/elastic/ElasticFlowRepository.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/jest/client/src/main/java/org/opennms/plugins/elasticsearch/rest/bulk/DefaultBulkResult.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/jest/client/src/main/java/org/opennms/plugins/elasticsearch/rest/index/IndexSelector.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/jest/client/src/main/java/org/opennms/plugins/elasticsearch/rest/index/StringCollapser.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/jest/client/src/test/java/org/opennms/plugins/elasticsearch/rest/index/IndexSelectorTest.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/jest/client/src/test/java/org/opennms/plugins/elasticsearch/rest/index/StringCollapserTest.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/opennms-es-rest/src/main/java/org/opennms/plugins/elasticsearch/rest/EventToIndex.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/opennms-es-rest/src/main/resources/eventsIndexTemplate.es6.json (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/opennms-es-rest/src/main/resources/eventsIndexTemplate.json (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • features/pom.xml (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • opennms-alarms/api/src/main/java/org/opennms/netmgt/alarmd/api/AlarmCallbackStateTracker.java (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • opennms-doc/guide-admin/src/asciidoc/index.adoc (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • opennms-doc/guide-admin/src/asciidoc/text/alarms/history.adoc (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • opennms-doc/guide-admin/src/asciidoc/text/elasticsearch/features/alarm-history.adoc (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)
    • opennms-doc/guide-admin/src/asciidoc/text/elasticsearch/features/introduction.adoc (version 1b7e4a58561e293b4984f51e11313f5eb073e76c)