Cagey Configuration

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
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Cagey Configuration
A clean configuration API with dynamic runtime bindings
Project URL

Project URL

https://github.com/xp-cagey/cagey-config
Source Code Management

Source Code Management

https://github.com/xp-cagey/cagey-config

Download cagey-config

Filename Size
cagey-config-1.1.0.pom 6 KB
Browse

How to add to project

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

  • cagey-config-api
  • cagey-config-spi
  • cagey-config-lightbend
  • cagey-config-core

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