This page lists every artefact published by Knock, the Java Modules packages they export, the public SPI, the HTTP endpoints, and the build commands.
Maven artefacts
All artefacts share the version 0.3.0 under the io.vidocq.knock group.
| Artefact | Recommended scope | Role |
|---|---|---|
|
|
Vidocq fork of the MicroProfile Health 4.0 API with a |
|
|
Knock SPI ( |
|
|
Standalone runtime: registry, aggregator, JSON-P serialiser, |
|
|
CDI auto-registration at context start ( |
|
|
Jakarta REST |
|
|
Exported Java Modules packages
| Module | Exported packages |
|---|---|
|
|
|
|
|
|
Internal packages (io.vidocq.knock.internal, io.vidocq.knock.cdi.internal) are not exported. knock-core provides org.eclipse.microprofile.health.spi.HealthCheckResponseProvider via provides and META-INF/services.
Public SPI (knock-api)
| Type | Role |
|---|---|
|
|
|
Register checks and retrieve them by probe type: |
|
Module metadata constants. |
Standalone instances come from the exported factory HealthCheckRegistries.newRegistry() (in knock-core); the KnockHealthCheckRegistry implementation lives in the unexported io.vidocq.knock.internal package. Under CDI the registry is provided as a managed bean (KnockCdiHealthCheckRegistry, injectable as HealthCheckRegistry).
Endpoints
| Endpoint | Probe | HTTP status |
|---|---|---|
|
|
200 UP / 503 DOWN |
|
|
200 UP / 503 DOWN |
|
|
200 UP / 503 DOWN |
|
|
200 UP / 503 DOWN |
Dependency versions
| Dependency | Version |
|---|---|
MicroProfile Health (upstream reference) |
4.0.1 |
Jakarta JSON-P API |
2.1.3 |
Jakarta REST API |
4.0.0 |
Jakarta CDI API |
4.1.0 |
Jakarta Inject API |
2.0.1 |
Jakarta Annotation API |
3.0.0 |
Commands
sdk env
./mvnw -ntp install -DskipTests # full build, skip tests
./mvnw test # unit tests
./run-official-tck-mp-health-4.0.sh # TCK smoke test
./run-official-tck-mp-health-4.0.sh all # full TCK suite
Compatibility
-
Java 25, Maven 3.9.16.
-
Strict Java Modules, named modules only.
-
MicroProfile Health 4.0.
-
Zero third-party libraries — Jakarta / MicroProfile specs only.
-
Compatible with GraalVM
native-imageandjlinkminimal images.
See also
-
Concepts — the model behind these artefacts.
-
Internals — implementation details.
-
TCK status — conformance.