An assortment of useful utils
Starting with
v3.0.0
Redlink Utils requires Java 11+ and has module-support included.
A mixed set of useful helpers, e.g., for calculating hashes/checksums, copying files and working with classpath-resources.
<dependency>
<groupId>io.redlink.utils</groupId>
<artifactId>utils</artifactId>
<version>${redlink.utils.version}</version>
</dependency>
A LoggingContext
for SLF4J that encapsulates a MDC
.
When the LoggingContext is closed, the MDC is reset to the state it was when the LoggingContext was created.
<dependency>
<groupId>io.redlink.utils</groupId>
<artifactId>slf4j-utils</artifactId>
<version>${redlink.utils.version}</version>
</dependency>
SignalHelper
allows to register a signal handler wrapping sun.misc.Signal
.
<dependency>
<groupId>io.redlink.utils</groupId>
<artifactId>signals</artifactId>
<version>${redlink.utils.version}</version>
</dependency>
Convenience-Wrapper for commonly used testcontainers:
- SolrContainer
- MongoContainer
- VindContainer, based on vind-solr-server.
- ZookeeperContainer
<dependency>
<groupId>io.redlink.utils</groupId>
<artifactId>testcontainers</artifactId>
<version>${redlink.utils.version}</version>
</dependency>
Free use of this software is granted under the terms of the Apache License Version 2.0. See the License for more details.