Watch
1
0
Fork
You've already forked jeap-reaction-observer
0
mirror of https://github.com/jeap-admin-ch/jeap-reaction-observer.git synced 2026-08-17 13:04:56 +00:00
Read-only mirror of https://github.com/jeap-admin-ch/jeap-reaction-observer — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source. Catalog: https://www.opensource.admin.ch/en/softwares/dp81zi https://www.opensource.admin.ch/en/softwares/dp81zi
  • Java 99.8%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-13 09:25:24 +02:00
.mvn/wrapper JEAP-5480 Add maven wrapper 2025-04-03 09:41:31 +02:00
.run JEAP-5760 Refactor reaction model to support multiple actions 2025-06-12 13:27:28 +02:00
docs [skip ci] JEAP-7090 Add docs 2026-06-18 16:34:32 +02:00
jeap-reaction-observer-core Version 10.12.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:55:22 +02:00
jeap-reaction-observer-events Version 10.12.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:55:22 +02:00
jeap-reaction-observer-messaging Version 10.12.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:55:22 +02:00
jeap-reaction-observer-starter Version 10.12.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:55:22 +02:00
jeap-reaction-observer-test Version 10.12.0: Update parent from 8.9.1 to 8.10.0 2026-08-13 07:55:22 +02:00
.gitignore JEAP-5480 Initial revision 2025-04-03 08:54:56 +02:00
AGENTS.md [skip ci] JEAP-7090 Add docs 2026-06-18 16:34:32 +02:00
CHANGELOG.md Version 10.12.0: update jeap-messaging from 17.11.0 to 17.12.0 2026-08-13 09:25:24 +02:00
CONTRIBUTING.md JEAP-5480 Add library skeleton 2025-04-03 09:25:06 +02:00
LICENSE JEAP-5480 Add library skeleton 2025-04-03 09:25:06 +02:00
mvnw JEAP-5480 Add maven wrapper 2025-04-03 09:41:31 +02:00
pom.xml Version 10.12.0: update jeap-messaging from 17.11.0 to 17.12.0 2026-08-13 09:25:24 +02:00
publiccode.yml Update version/date in publiccode.yml 2026-08-13 07:58:27 +02:00
README.md [skip ci] JEAP-7090 Add docs 2026-06-18 16:34:32 +02:00
SECURITY.md JEAP-5480 Add library skeleton 2025-04-03 09:25:06 +02:00
setPomVersions.sh JEAP-5480 Add library skeleton 2025-04-03 09:25:06 +02:00
THIRD-PARTY-LICENSES.md Updating THIRD-PARTY-LICENSES.md 2026-08-13 07:56:56 +02:00

jEAP Reaction Observer Library

jEAP Reaction Observer is a library that detects, tracks, and documents how a microservice reacts to incoming events and commands. It hooks into jEAP Messaging and records, per consumed message (the trigger), which events and commands the service produces in response (the actions). This runtime behaviour is published as Kafka events that feed the jEAP Reaction Observer Service and, through it, the jEAP ArchRepo system-behaviour documentation. It provides:

  • Automatic observation of reactions (produced events/commands) per consumed message, with no business-code changes
  • A Reaction Identified Event emitted when a new behavioural pattern is first observed after startup
  • A Reactions Observed Event emitted on a schedule with aggregated reaction counts over a timeframe
  • Spring Boot auto-configuration via a single starter; enabled by default, toggled with one property
  • Best-effort, low-overhead recording that never interferes with business logic

Documentation

Start with Getting started, then follow the links below.

Topic File
Getting started (add the starter, configure topics) docs/getting-started.md
How it works (triggers, actions, reactions, observed events) docs/how-it-works.md
Configuration reference (jeap.reaction.observer.*) docs/configuration.md
System behaviour documentation (the bigger picture) docs/system-behaviour-documentation.md

Modules

The artifact consuming services depend on is jeap-reaction-observer-starter. Group id for all modules is ch.admin.bit.jeap; the version is managed by the jEAP Spring Boot parent.

Module Purpose
jeap-reaction-observer-core Domain model and recording logic: Observation, Reaction, ReactionRecorder, ReactionObserverService
jeap-reaction-observer-messaging jEAP Messaging callback (ObserverKafkaMessageCallback) that feeds the recorder from Kafka send/consume hooks
jeap-reaction-observer-events Builds and publishes the ReactionIdentifiedEvent / ReactionsObservedEvent Kafka events, plus the scheduler
jeap-reaction-observer-starter Spring Boot auto-configuration; the main consumer-facing artifact
jeap-reaction-observer-test Test fixtures (ReactionKafkaTestBase, test event builders, consumers)

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.