vidocq-runtime-examples groups the demo applications used as living oracles for validation and documentation. Each example is an independent Maven module, packageable via the vidocq-runtime-maven-plugin.
Coordinates
Reactor |
|
Build |
|
Catalogue
| Example | Description |
|---|---|
|
Minimal REST application — a single Jakarta REST resource, packageable in jlink/jpackage/docker. Serves as the canonical reference to test the Maven plugin and the extension mechanism on the Chappe + Vauban + Cassini triplet. |
|
Complete REST + CDI + persistence application via Mansart on H2 in-memory. Demonstrates |
|
External library consumed by the examples — illustrates the case where a JPMS-named dependency provides its own CDI beans. Useful for validating multi-module APT composition. |
vidocq-runtime-cassini-rest-example — quick start
cd vidocq-runtime-examples/vidocq-runtime-cassini-rest-example
./mvnw -ntp package -DskipTests
# standalone jlink image
./target/dist/bin/todo-app
# UI on http://127.0.0.1:8080/
# API on http://127.0.0.1:8080/api/todos
vidocq-runtime-mansart-h2-example — quick start
cd vidocq-runtime-examples/vidocq-runtime-mansart-h2-example
./mvnw -ntp package
java -jar target/*-runner.jar
curl -X POST http://localhost:8080/api/products \
-H 'Content-Type: application/json' \
-d '{"name":"cables","price":12.50}'
curl http://localhost:8080/api/products
The example demonstrates the @TransactionScoped scope and the Mansart transactional bridge. It also served as the reproduction harness for bug VAU-INJ-001 (normal-scope proxy resolution) — see vidocq/VAUBAN-BUGS.md.
Next steps
-
Getting started — tutorial based on these examples
-
Maven plugin — to package the examples
-
Integration tests — how examples are verified in CI