jEAP Doc Service
The jEAP Doc Service receives the documentation of systems, components and libraries, stores it on S3, generates the documentation site and serves it to the browser.
It is the central piece of the hybrid documentation approach: teams write their documentation as Markdown next to their code, their build pipelines upload it, and the doc service combines it with the architecture model of the jEAP Arch Repo Service into one generated site.
Documentation
| Topic | Contents |
|---|---|
| Getting started | Creating a doc service instance and running it locally |
| Architecture | The ports-and-adapters layout, the modules and the rules they follow |
| Configuration | The configuration properties, with their defaults |
| API | The REST API and its OpenAPI description |
| Uploads | What happens to an uploaded bundle, the state of an upload, and what a retry does |
| The documentation a team writes | Where an uploaded page lands, what the service adds to it, and a subject the architecture model does not know |
| What an upload is validated against | The structural rules an upload is checked against, per template, and the finding codes |
| Security | The semantic roles and the rule that a system may only change its own documentation |
| Generation | How the documentation site is generated, what triggers a build and how it is published |
| Reaction graphs | Published snapshots, graph viewers, the Explorer, search and shared links |
| Architecture import | What is replicated from the architecture repository, and what a partial run leaves |
| Importing the Governance Service | The webhook, the safety-net schedule, and what is stored |
| The governance site | Its configuration, its pages, the highlighting and the score history chart |
| Search | How the documentation is indexed and searched, and what a missing search means |
| The scheduled jobs | Every job the service runs on its own, its schedule, its lock and which may overlap |
| Structure templates | The template plugin point, the arc42 chapters and how to add a methodology |
| The site image | How to build a doc service image that can run the site generator |
| Observability | The meters of the uploads and the builds, and what to alarm on |
| Operating the bucket | What the bucket has to expire, and what it must never expire |
Building it
./mvnw verify needs Docker for the integration tests, Node 24 for the documentation site the service
generates, and Chrome for the browser tests that drive that site - all three are preconditions of the build
rather than something it works around. See Getting started.
Structure templates
Documentation is organised by a structure template. It says which chapters exist and where a page is served.
The doc service ships arc42 as jeap-doc-template-arc42. It generates the system
documentation from the architecture model into the arc42 sections, and the documentation a team writes is filed
into the same ones. A further methodology is a further module, and nothing outside it names a template.