Skip to content

cfg4j/cfg4j-sample-apps

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample applications using cfg4j library

Apps

  • classpath-bind - reads configuration from a classpath files and outputs values to the stdout.
  • consul-bind - reads configuration from a local Consul agent and outputs values to the stdout. Automatically reloads configuration after change.
  • files-bind - reads configuration from a local files and outputs values to the stdout. Automatically reloads configuration after change.
  • git-simple - reads configuration from a given git repository (using getProperty methods) and outputs values to the stdout. Automatically reloads configuration after change.
  • git-bind - reads configuration from a given git repository (using object binding) and outputs values to the stdout. Automatically reloads configuration after change.
  • git-multi-file - reads configuration from a given git repository (from multiple files) and outputs values to the stdout. Automatically reloads configuration after change.
  • metrics - reads configuration from a a local file and outputs values to the stdout. Automatically reloads configuration after change. Exposes metrics.

Usage

  • Build all apps
> cd cfg4j-sample-apps/
> ./gradlew build
  • Run app (in this example: "git-bind") - read README.md file in the corresponding app root directory for more information.
> java -jar git-bind/build/libs/git-bind-1.0.0-SNAPSHOT.jar

About

Sample applications which use cfg4j for configuration management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages