Internal shared utilities for the Flamingock ecosystem.
Internal library. This module is a shared dependency used across Flamingock modules. It is published to Maven Central for build convenience, but is not intended for direct external consumption. Its API surface may change without notice between releases.
General-purpose utilities and helper classes shared across Flamingock modules:
- HTTP client — Fluent request builder on top of Apache HttpClient with JSON serialization.
- Reflection utilities — Generic type resolution, constructor and method discovery, annotation collection.
- Typed identifiers — Immutable, validated ID types (
RunnerId,ServiceId,EnvironmentId). - Error model — Standardized
FlamingockErrorwith HTTP variants and recovery flags. - Time and concurrency — Testable
TimeService,StopWatch, and controlledThreadSleeper. - Serialization — Pre-configured Jackson
ObjectMapperand YAML file loading via SnakeYAML. - Audit constants — Field names and store names used by the audit subsystem.
- Common types —
Result<Ok, Error>,Pair,Trio,Wrapper, functional interfaces. - Logging — Centralized logger factory with consistent Flamingock log formatting.
<dependency>
<groupId>io.flamingock</groupId>
<artifactId>flamingock-general-util</artifactId>
<version>${flamingock-general-util.version}</version>
</dependency>implementation("io.flamingock:flamingock-general-util:$flamingockGeneralUtilVersion")- Java 8+
./gradlew buildThis project is licensed under the Apache License 2.0.
