Watch
1
0
Fork
You've already forked jeap-process-context-service
0
mirror of https://github.com/jeap-admin-ch/jeap-process-context-service.git synced 2026-08-17 13:04:55 +00:00
Read-only mirror of https://github.com/jeap-admin-ch/jeap-process-context-service — Bundesamt für Informatik und Telekommunikation. Issues & pull requests at the source. Catalog: https://www.opensource.admin.ch/en/softwares/shl6fh https://www.opensource.admin.ch/en/softwares/shl6fh
  • Java 92.7%
  • TypeScript 5%
  • HTML 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-14 10:20:29 +02:00
.idea JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
.mvn/wrapper JEAP-7146 Update Maven wrapper to 3.9.16 2026-06-12 08:32:07 +02:00
docs JEAP-7330 Add an overview diagram to the getting started documentation 2026-07-30 14:16:06 +02:00
jeap-process-context-adapter-kafka chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-adapter-micrometer chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-adapter-objectstorage chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-adapter-rest-api chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-domain chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-domain-test chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-message chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-plugin-api chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-repository-jpa chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-repository-template-json chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-scs chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-service-instance chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
jeap-process-context-ui chore: Update Cypress version and add .trivyignore for CVE-2026-56876 2026-08-14 10:20:29 +02:00
.gitignore JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
.trivyignore chore: Update Cypress version and add .trivyignore for CVE-2026-56876 2026-08-14 10:20:29 +02:00
AGENTS.md JEAP-7330 Add documentation in docs/ 2026-07-30 13:48:59 +02:00
CHANGELOG.md chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
CONTRIBUTING.md JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
LICENSE JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
mvnw JEAP-6707 Update Maven Wrapper distribution URL to version 3.9.12 2026-03-03 11:48:42 +01:00
mvnw.cmd JEAP-6707 Update Maven Wrapper distribution URL to version 3.9.12 2026-03-03 11:48:42 +01:00
pom.xml chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
publiccode.yml chore: Update version to 26.0.0 and resolve CVE-2026-54428 by upgrading dependencies 2026-08-14 07:44:37 +02:00
README.md chore: Remove outdated frontend authentication decoupling discussion and options from README 2026-08-14 08:17:49 +02:00
SECURITY.md JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
setPomVersions.sh JEAP-5229 Performance optimization of the housekeeping 2025-02-18 12:34:36 +01:00
THIRD-PARTY-FRONTEND-LICENSES.md JEAP-7308 2026-08-04 08:51:32 +02:00
THIRD-PARTY-LICENSES.md Updating THIRD-PARTY-LICENSES.md 2026-08-14 07:46:20 +02:00

jEAP Process Context Service

The jEAP Process Context Service (PCS) provides a process context for cross-service processes in an event driven architecture, without having to control the execution of the processes with a central process engine (choreography over orchestration). It consumes the domain events and commands of the participating services, tracks the state of the process instances and their tasks, and visualizes them in a UI — so that a process can be followed and analysed, and events can be published in reaction to changed process states or milestones.

This repository is published as a library: every business application creates and deploys its own PCS instance depending on it, containing the process definitions specific to that application.

Documentation

Changes

Change log is available at CHANGELOG.md

Prerequisites

Before you begin, ensure you have the following installed:

  • Java 25 or higher
  • npm (Node Package Manager) 22 or higher

Note: Use the provided Maven Wrapper (mvnw / mvnw.cmd) to build and run the project - no separate Maven installation required.

Getting started

Normally you will not use this project directly, but instead set up your own process context service depending on this common library. If you want to test this library locally, you can use the example project jme-process-context-example, which is available in a separate repository. Check the documentation for details.

Build the library

To build the library, run the following command in the root of the repository:

# Linux / macOS
./mvnw clean install
# Windows
mvnw.cmd clean install

The UI will also be built as part of this command, so there is no need to build it separately if you just want to use the library.

Build the UI

The UI can be built independently of the Spring Boot application, so it can be started separately. This is especially useful for development, as it allows to start the UI with hot reload and without the need to restart the Spring Boot application after every change. To build the UI, run the following command in the root of the repository:

cd jme-process-context-ui
# Force is currently needed to resolve some dependency conflicts.
# This is a technical debt that will be resolved in the future by aligning the dependencies of the UI.
npm install --force
npm run build

Start the UI locally

To start the UI locally, run the following command in the root of the repository:

cd jme-process-context-ui
npm run start

or via Angular CLI:

cd jme-process-context-ui
npx ng serve --open

These will start the UI on http://localhost:4200/. The UI will automatically reload after every change, so you can see the changes immediately in the browser. To run an example backend locally, you can use the example project jme-process-context-example or an own implementation of the process context service. The UI will also automatically connect to the process context service running on http://localhost:8080/.

Configuration

The properties of a PCS instance are documented in Configuration, including the PAMS and ePortal settings of the UI header.

Local Cypress Component Tests

Testing in Browser with UI:

cd jeap-process-context-ui
npx cypress open --port 7000

Testing in Console:

cd jeap-process-context-ui
npm run cypress:run

Note

This repository is part of 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.