com.xpcagey:cagey-config-core

A clean configuration API with dynamic runtime bindings

License

License

Categories

Categories

config Application Layer Libs Configuration
GroupId

GroupId

com.xpcagey
ArtifactId

ArtifactId

cagey-config-core
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

A clean configuration API with dynamic runtime bindings

Download cagey-config-core

How to add to project

<!-- https://jarcasting.com/artifacts/com.xpcagey/cagey-config-core/ -->
<dependency>
    <groupId>com.xpcagey</groupId>
    <artifactId>cagey-config-core</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.xpcagey/cagey-config-core/
implementation 'com.xpcagey:cagey-config-core:1.1.0'
// https://jarcasting.com/artifacts/com.xpcagey/cagey-config-core/
implementation ("com.xpcagey:cagey-config-core:1.1.0")
'com.xpcagey:cagey-config-core:jar:1.1.0'
<dependency org="com.xpcagey" name="cagey-config-core" rev="1.1.0">
  <artifact name="cagey-config-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.xpcagey', module='cagey-config-core', version='1.1.0')
)
libraryDependencies += "com.xpcagey" % "cagey-config-core" % "1.1.0"
[com.xpcagey/cagey-config-core "1.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.xpcagey : cagey-config-api jar 1.1.0
com.xpcagey : cagey-config-spi jar 1.1.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.18.3

Project Modules

There are no modules declared in this project.

Cagey Config

Build Status codecov Maven Central

This is an abstraction layer for configuration that allows programs to subscribe to value changes and be notified when they occur, permitting live tuning of application logic and automatic stitching of configuration values from multiple sources. It does for configuration what SLF4J has done for logging.

Each application must declare a set of preferences for configuration sources, with each source able to contribute to the parameterization of the next. Configuration sources are each injected by a runtime module that should be placed into the application classpath before running the system. Failure to load a module will not cause the process to fail, but an exception will be thrown to report failures; it is up to the application to decide whether this failure should be considered fatal.

An implementation of the system for static declaration of default values is provided in the core package.

Versions

Version
1.1.0
1.0.0