com.xpcagey:cagey-config-api

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-api
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-api

How to add to project

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

Dependencies

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