Cagey Configuration

A clean configuration API with dynamic runtime bindings

Лицензия

Лицензия

Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

com.xpcagey
Идентификатор

Идентификатор

cagey-config
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

Cagey Configuration
A clean configuration API with dynamic runtime bindings
Ссылка на сайт

Ссылка на сайт

https://github.com/xp-cagey/cagey-config
Система контроля версий

Система контроля версий

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

Скачать cagey-config

Имя Файла Размер
cagey-config-1.1.0.pom 6 KB
Обзор

Как подключить последнюю версию

<!-- 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"]

Зависимости

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.mockito : mockito-core jar 2.18.3

Модули Проекта

  • 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.

Версии библиотеки

Версия
1.1.0
1.0.0