Knock is the health subsystem of the Vidocq runtime. It implements MicroProfile Health 4.0 with zero third-party libraries — only Jakarta EE and MicroProfile specifications. Health checks are discovered through CDI, exposed over Jakarta REST, serialised with Jakarta JSON-P, and executed on virtual threads.
Origin of the name
Knock, or the Triumph of Medicine (« Knock, ou le Triomphe de la médecine ») is a 1923 comedy by Jules Romains. Doctor Knock turns a whole village into patients under permanent observation — "every healthy person is a sick person who doesn’t know it yet". The Knock module applies the same relentless auscultation to a running application: liveness, readiness and startup probes keep every component under continuous diagnosis.
At a glance
Implemented spec |
|
Repo |
|
Java |
25 |
JPMS modules |
|
Runtime dependencies |
None beyond |
MicroProfile Health 4.0 TCK |
28 / 28 PASS — see detailed status |
Three identifying traits
-
Zero third-party libraries — MicroProfile Health and Jakarta specs only. No SmallRye Health, no Vert.x, no Jackson. JSON is produced through Jakarta JSON-P.
-
CDI-native discovery —
@Liveness,@Readiness,@Startupbeans are discovered by a Vauban Build Compatible Extension and registered automatically, whileknock-corestays usable in plain Java SE. -
Strict JPMS + virtual threads — every module ships a
module-info.java; checks run on aVirtualThreadPerTaskExecutor. Nosynchronized, noThreadLocal, nosetAccessible(true).