Read-only mirror of https://github.com/swiyu-admin-ch/swiyu-registry-status-data-service — Bundesamt für Justiz. Issues & pull requests at the source.
  • Java 90.5%
  • Shell 8.2%
  • Dockerfile 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-25 04:14:01 +00:00
.mvn Snapshot import from 2026-07-15T05:00:46Z 2026-07-15 05:00:46 +00:00
.run Snapshot import from 2026-07-13T05:10:25Z 2026-07-13 05:10:25 +00:00
LICENSES Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
scripts Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
src Snapshot import from 2026-08-11T04:29:39Z 2026-08-11 04:29:39 +00:00
.gitignore Snapshot import from 2026-07-13T05:10:25Z 2026-07-13 05:10:25 +00:00
.snyk Snapshot import from 2026-08-25T04:14:01Z 2026-08-25 04:14:01 +00:00
CHANGELOG.md Snapshot import from 2026-08-25T04:14:01Z 2026-08-25 04:14:01 +00:00
compose.yml Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
CONTRIBUTING.md Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
Dockerfile Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
LICENSE Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
mvnw Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
mvnw.cmd Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
pom.xml Snapshot import from 2026-08-25T04:14:01Z 2026-08-25 04:14:01 +00:00
README.md Snapshot import from 2026-07-13T05:10:25Z 2026-07-13 05:10:25 +00:00
renovate.json Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
REUSE.toml Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
SECURITY.md Snapshot import from 2026-06-25T05:22:01Z 2026-06-25 05:22:01 +00:00
setVersions.sh Snapshot import from 2026-07-09T05:20:24Z 2026-07-09 05:20:24 +00:00

github-banner

Datastore Services and Libraries

The datastore services are the backbone of the Swiss SSI inspired ecosystem. This repository does contain the current implementation for the status registry.

Table of Contents

Overview

For a general overview of the public beta environment and its components, please check the Public Beta context.

This service provides all the protocol conform read operations.

The write operations are done in the swiyu-core-business-service.

Installation

To install docker please follow the instructions on the respective pages.

Note

Starting the service with the local profile does not connect the data and authoring services. It only serves to start this service locally.

In order to start the service locally, run:

./mvnw spring-boot:run -Dspring-boot.run.profiles=local

The openapi definition can then be found here

Note: if you want to run the application alongside with the other services of SWIYU, you can run

./mvnw spring-boot:run -Dspring-boot.run.profiles=local,shared

This will assume that the swiyu-core-business-service was already started the same way (which provides the DB at port 5280 via its docker-compose config).

Usage

Secrets config

Due to the necessity of local secrets for development there might be profiles used in the run configurations which are not part of this repository. Those profiles are generated outside of this repository and provided to the application als application-*.yaml files in the root /config directory or directly via environment variables.

Auth

The data service is always unprotected as all data on the registers should be readable by everyone.
The swiyu-core-business-service do need protection, which is as of now handled by the infrastructure.
We do recommend to add mTLS authentication to your infrastructure endpoints.

Contributions and feedback

The code for this repository is developed privately and will be released after each sprint. The published code can therefore only be a snapshot of the current development and not a thoroughly tested version. However, we welcome any feedback on the code regarding both the implementation and security aspects. Please follow the guidelines for contributing found in CONTRIBUTING.md.

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.