From 0ffde21b0337c606e2d0ece5bd5434a930a87dcd Mon Sep 17 00:00:00 2001 From: vincent van beek Date: Thu, 26 Mar 2026 14:02:54 +0100 Subject: Use Quarkus Quinoa for serving web UI (#391) * refactor(web): Migrate to Quarkus 3 This commit updates the OpenDC web server to use Quarkus 3, which changes annotations to use the Jakarta namespace for annotations. * refactor(web): Configure runtime variables for web UI This commit updates the web UI to propagate runtime variables via the next-runtime-env package. Before, we would need to replace the variables in the generated sources by Next.js, next-runtime-env works by loading a JavaScript file when opening the OpenDC web UI which contains the configuration of the web app. * refactor(web): Migrate to Quarkus Quinoa This commit updates the OpenDC web server to make use of Quarkus Quinoa for serving the web UI. This allows us to deprecate the complex Quarkus extension for serving the web UI. * refactor(web): Move web UI into Quarkus web app This commit moves the web UI into the Quarkus web server module to ensure we follow Quarkus Quinoa's conventions. * refactor(web): Merge Quarkus extension into single module This commit merges the existing Quarkus extensions into a single module to prevent build complexity. * refactor(web): Migrate web proto to Java This commit migrates the web protocol to Java and removes the dependency on Jandex Gradle. * refactor(web): Migrate to Quarkus 3 This commit updates the OpenDC web server to use Quarkus 3, which changes annotations to use the Jakarta namespace for annotations. * enable DB schema migration on DEV server * webui is not needed anymore * remove MAINTAINERS is depricated * fix quarkus.quinoa properties * revert properties change, install npm in docker image to allow building the frontend * pin postgres version, this is a best practice. Fix some properties the old ones are depricated. Added properties for local testing * fix build error * :opendc-web:opendc-web-proto:spotlessApply * fix database schema --------- Co-authored-by: Fabian Mastenbroek --- .../src/main/webui/public/img/portraits/aiosup.png | Bin 0 -> 71879 bytes .../src/main/webui/public/img/portraits/evaneyk.png | Bin 0 -> 89028 bytes .../main/webui/public/img/portraits/fmastenbroek.png | Bin 0 -> 123006 bytes .../src/main/webui/public/img/portraits/gandreadis.png | Bin 0 -> 76426 bytes .../src/main/webui/public/img/portraits/hhe.png | Bin 0 -> 102718 bytes .../src/main/webui/public/img/portraits/jbosch.png | Bin 0 -> 101618 bytes .../src/main/webui/public/img/portraits/jburley.png | Bin 0 -> 328112 bytes .../main/webui/public/img/portraits/lfdversluis.png | Bin 0 -> 67796 bytes .../src/main/webui/public/img/portraits/loverweel.png | Bin 0 -> 65866 bytes .../src/main/webui/public/img/portraits/sjounaid.png | Bin 0 -> 94523 bytes .../src/main/webui/public/img/portraits/vvanbeek.png | Bin 0 -> 85159 bytes .../src/main/webui/public/img/portraits/wlai.png | Bin 0 -> 72873 bytes 12 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/aiosup.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/evaneyk.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/fmastenbroek.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/gandreadis.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/hhe.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jbosch.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jburley.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/lfdversluis.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/loverweel.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/sjounaid.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/vvanbeek.png create mode 100644 opendc-web/opendc-web-server/src/main/webui/public/img/portraits/wlai.png (limited to 'opendc-web/opendc-web-server/src/main/webui/public/img/portraits') diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/aiosup.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/aiosup.png new file mode 100644 index 00000000..d2019b4d Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/aiosup.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/evaneyk.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/evaneyk.png new file mode 100644 index 00000000..011c1627 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/evaneyk.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/fmastenbroek.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/fmastenbroek.png new file mode 100644 index 00000000..218b1a6f Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/fmastenbroek.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/gandreadis.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/gandreadis.png new file mode 100644 index 00000000..96a3abda Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/gandreadis.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/hhe.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/hhe.png new file mode 100644 index 00000000..4891c7f5 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/hhe.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jbosch.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jbosch.png new file mode 100644 index 00000000..c76e1fab Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jbosch.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jburley.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jburley.png new file mode 100644 index 00000000..d2691659 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/jburley.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/lfdversluis.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/lfdversluis.png new file mode 100644 index 00000000..6fbc8472 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/lfdversluis.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/loverweel.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/loverweel.png new file mode 100644 index 00000000..85865977 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/loverweel.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/sjounaid.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/sjounaid.png new file mode 100644 index 00000000..41878161 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/sjounaid.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/vvanbeek.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/vvanbeek.png new file mode 100644 index 00000000..4c8b3311 Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/vvanbeek.png differ diff --git a/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/wlai.png b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/wlai.png new file mode 100644 index 00000000..c758846d Binary files /dev/null and b/opendc-web/opendc-web-server/src/main/webui/public/img/portraits/wlai.png differ -- cgit v1.2.3