From 6d4ed9fd474b1e17a30e9cce37f5a6efc607b1fb Mon Sep 17 00:00:00 2001 From: abl Date: Sun, 24 Mar 2024 20:12:40 +0100 Subject: [PATCH] add museumsbahnen --- .../boudicca/eventcollector/BoudiccaEventCollectors.kt | 2 ++ .../events/boudicca/eventcollector/LocalCollectorDebug.kt | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/BoudiccaEventCollectors.kt b/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/BoudiccaEventCollectors.kt index c873f2e3..444b4121 100644 --- a/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/BoudiccaEventCollectors.kt +++ b/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/BoudiccaEventCollectors.kt @@ -1,6 +1,7 @@ package events.boudicca.eventcollector import base.boudicca.api.eventcollector.EventCollectorCoordinatorBuilder +import base.boudicca.api.eventcollector.collectors.BoudiccaCollector import events.boudicca.eventcollector.collectors.* fun main() { @@ -34,6 +35,7 @@ fun main() { .addEventCollector(OKHVoecklabruckCollector()) .addEventCollector(ValugCollector()) .addEventCollector(AlpenvereinCollector()) + .addEventCollector(BoudiccaCollector("https://museumsbahn-events.at", "museumsbahnen")) .build() eventCollectorCoordinator.startWebUi() diff --git a/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/LocalCollectorDebug.kt b/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/LocalCollectorDebug.kt index 49fc2658..3ba78d71 100644 --- a/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/LocalCollectorDebug.kt +++ b/boudicca.events/eventcollectors/src/main/kotlin/events/boudicca/eventcollector/LocalCollectorDebug.kt @@ -1,6 +1,7 @@ package events.boudicca.eventcollector import base.boudicca.api.eventcollector.EventCollectorDebugger +import base.boudicca.api.eventcollector.collectors.BoudiccaCollector import base.boudicca.api.eventcollector.fetcher.FileBackedFetcherCache import events.boudicca.eventcollector.collectors.* import java.io.File @@ -14,7 +15,7 @@ fun main() { // .enableEnricher("https://enricher.boudicca.events") // .enableEnricher("http://localhost:8085") //enable this line to ingest the collected events into the local eventdb (this uses the configuration from the application.properties) -// .enableIngestion() + .enableIngestion() // .debug(TechnologiePlauscherlCollector()) // .debug(JkuEventCollector()) @@ -44,5 +45,7 @@ fun main() { // .debug(MuseumArbeitsweltCollector()) // .debug(OKHVoecklabruckCollector()) // .debug(ValugCollector()) - .debug(AlpenvereinCollector()) +// .debug(AlpenvereinCollector()) + .debug(BoudiccaCollector("https://museumsbahn-events.at", "museumsbahnen")) + }