https://github.com/t1/thread-local-config-source
A simple config source for MP Config, which keeps the config in a `ThreadLocal` variable.
https://github.com/t1/thread-local-config-source
Last synced: 3 months ago
JSON representation
A simple config source for MP Config, which keeps the config in a `ThreadLocal` variable.
- Host: GitHub
- URL: https://github.com/t1/thread-local-config-source
- Owner: t1
- Created: 2023-07-28T10:13:14.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2025-03-11T22:40:33.000Z (over 1 year ago)
- Last Synced: 2025-03-11T23:29:01.149Z (over 1 year ago)
- Language: Java
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= ThreadLocal ConfigSource image:https://maven-badges.herokuapp.com/maven-central/com.github.t1/thread-local-config-source/badge.svg[link=https://search.maven.org/artifact/com.github.t1/thread-local-config-source] image:https://github.com/t1/thread-local-config-source/actions/workflows/maven.yml/badge.svg[link=https://github.com/t1/thread-local-config-source/actions/workflows/maven.yml]
A simple config source for https://microprofile.io/project/eclipse/microprofile-config[Microprofile Config], which keeps the config in a `ThreadLocal` variable.
You may need this, e.g., if you run your tests in parallel.
The ordinal of this config source is 500, so it's picked up before system properties, which are ordinal 400.
Note: We currently experiment with https://github.com/jvm-repo-rebuild/reproducible-central[Reproducible Builds Central] image:https://img.shields.io/reproducible-central/artifact/com.github.t1/thread-local-config-source/1.1[Reproducible Central Artifact]