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")) + }