Skip to content

redlink-gmbh/redlink-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redlink Utils

An assortment of useful utils

Build Status Quality Gate Status

Maven Central Sonatype Nexus (Snapshots) Javadocs Apache 2.0 License

Starting with v3.0.0 Redlink Utils requires Java 11+ and has module-support included.

Modules

Utils

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>

Logging

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>

Signal Handling

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>

Test

Testcontainers

Convenience-Wrapper for commonly used testcontainers:

<dependency>
    <groupId>io.redlink.utils</groupId>
    <artifactId>testcontainers</artifactId>
    <version>${redlink.utils.version}</version>
</dependency>

License

Free use of this software is granted under the terms of the Apache License Version 2.0. See the License for more details.