From 3f91f268f3a12579d9212d27c6a3e590c26739af Mon Sep 17 00:00:00 2001 From: abl Date: Sat, 4 Nov 2023 16:03:05 +0100 Subject: [PATCH] split publisher --- .run/LocalHtmlPublisher.run.xml | 2 +- .run/OnlineHtmlPublisher.run.xml | 2 +- .../publisher-event-html/build.gradle.kts | 12 +++--- .../event/html/PublisherHtmlApplication.kt | 7 +++- .../event/html/extension/Extension.kt | 13 +++++++ .../extension/HeaderExtensionValueResolver.kt | 39 +++++++++++++++++++ .../templates/layout/header_links.hbs | 6 +-- .../publisher-event-html/.dockerignore | 2 + .../publisher-event-html/.gitignore | 37 ++++++++++++++++++ .../publisher-event-html/build.gradle.kts | 39 +++++++++++++++++++ .../src/main/docker/Dockerfile | 7 ++++ .../html/controller/StaticSitesController.kt | 17 ++++++-- .../src/main/resources/templates/about.hbs | 0 .../main/resources/templates/impressum.hbs | 0 .../templates/layout/aboutus_content.hbs | 0 .../templates/layout/impressum_content.hbs | 0 .../PublisherHtmlApplicationSmokeTests.kt | 14 +++++++ settings.gradle.kts | 1 + 18 files changed, 182 insertions(+), 16 deletions(-) create mode 100644 boudicca.base/publisher-event-html/src/main/kotlin/base/boudicca/publisher/event/html/extension/Extension.kt create mode 100644 boudicca.base/publisher-event-html/src/main/kotlin/base/boudicca/publisher/event/html/extension/HeaderExtensionValueResolver.kt create mode 100644 boudicca.events/publisher-event-html/.dockerignore create mode 100644 boudicca.events/publisher-event-html/.gitignore create mode 100644 boudicca.events/publisher-event-html/build.gradle.kts create mode 100644 boudicca.events/publisher-event-html/src/main/docker/Dockerfile rename {boudicca.base => boudicca.events}/publisher-event-html/src/main/kotlin/base/boudicca/publisher/event/html/controller/StaticSitesController.kt (55%) rename {boudicca.base => boudicca.events}/publisher-event-html/src/main/resources/templates/about.hbs (100%) rename {boudicca.base => boudicca.events}/publisher-event-html/src/main/resources/templates/impressum.hbs (100%) rename {boudicca.base => boudicca.events}/publisher-event-html/src/main/resources/templates/layout/aboutus_content.hbs (100%) rename {boudicca.base => boudicca.events}/publisher-event-html/src/main/resources/templates/layout/impressum_content.hbs (100%) create mode 100644 boudicca.events/publisher-event-html/src/test/kotlin/base/boudicca/publisher/event/html/PublisherHtmlApplicationSmokeTests.kt diff --git a/.run/LocalHtmlPublisher.run.xml b/.run/LocalHtmlPublisher.run.xml index 4f4e7222..c8eeb38c 100644 --- a/.run/LocalHtmlPublisher.run.xml +++ b/.run/LocalHtmlPublisher.run.xml @@ -1,7 +1,7 @@