Watch
1
0
Fork
You've already forked jeap-db-schema-publisher
0
mirror of https://github.com/jeap-admin-ch/jeap-db-schema-publisher.git synced 2026-08-17 12:55:01 +00:00
Read-only mirror of https://github.com/jeap-admin-ch/jeap-db-schema-publisher — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source. Catalog: https://www.opensource.admin.ch/en/softwares/l0jkk3 https://www.opensource.admin.ch/en/softwares/l0jkk3
  • Java 99.6%
  • Shell 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-13 07:59:12 +02:00
.mvn/wrapper JEAP-5679 Update maven wrapper 2025-07-01 15:32:11 +02:00
docs JEAP-7087: update documentation 2026-07-03 08:21:55 +02:00
jeap-db-schema-publisher-model-reader Version 3.23.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:57:59 +02:00
jeap-db-schema-publisher-starter Version 3.23.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:57:59 +02:00
.gitignore Initial Commit 2025-07-01 09:01:45 +02:00
AGENTS.md JEAP-7087: update documentation 2026-07-03 08:21:55 +02:00
CHANGELOG.md Version 3.23.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:57:59 +02:00
CONTRIBUTING.md JEAP-7087: update documentation 2026-07-03 08:21:55 +02:00
LICENSE JEAP-5679 Initial skeleton 2025-07-01 15:17:41 +02:00
mvnw JEAP-5679 Update maven wrapper 2025-07-01 15:32:11 +02:00
pom.xml Version 3.23.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:57:59 +02:00
publiccode.yml Update version/date in publiccode.yml 2026-08-13 07:59:12 +02:00
README.md JEAP-7087: update documentation 2026-07-03 08:21:55 +02:00
SECURITY.md JEAP-5679 Initial skeleton 2025-07-01 15:17:41 +02:00
setPomVersions.sh JEAP-5679 Initial skeleton 2025-07-01 15:17:41 +02:00
THIRD-PARTY-LICENSES.md JEAP-7266 2026-07-20 18:48:34 +02:00

jEAP DB Schema Publisher

jEAP DB Schema Publisher is a Spring Boot library that publishes the relational database schema of a jEAP application to the jEAP Architecture Repository Service (archrepo). On every startup it reads the live schema from the application's DataSource via JDBC metadata and uploads it, so the architecture repository always reflects the deployed schema. It provides:

  • Automatic schema upload, triggered by the Spring ApplicationReadyEvent
  • A non-blocking, best-effort upload that never delays or fails application startup
  • OAuth2 client-credentials authentication against the archrepo API
  • Reading of tables, columns, primary keys and foreign keys from JDBC DatabaseMetaData
  • Optional Micrometer tracing and timing of the publish operation

Documentation

Start with Getting started, then follow the links below.

Topic File
Getting started (add the dependency, enable upload) docs/getting-started.md
How it works (startup flow, schema model) docs/how-it-works.md
Configuration reference (jeap.archrepo.*) docs/configuration.md
Authentication (OAuth2 client credentials) docs/authentication.md

Modules

Group id for all modules is ch.admin.bit.jeap; the version is managed by the jEAP Spring Boot parent. Consumers depend on jeap-db-schema-publisher-starter.

Module Purpose
jeap-db-schema-publisher-starter Spring Boot auto-configuration; reads the schema on startup and uploads it to the archrepo
jeap-db-schema-publisher-model-reader Reads tables, columns, keys from JDBC DatabaseMetaData into a DatabaseSchema model

Changes

This library is versioned using Semantic Versioning and all changes are documented in CHANGELOG.md following the format defined in Keep a Changelog.

Note

This repository is part the open source distribution of jEAP. See github.com/jeap-admin-ch/jeap for more information.

License

This repository is Open Source Software licensed under the Apache License 2.0.