https://github.com/digipost/typesafe-config-bundle
Typesafe config bundle for Dropwizard
https://github.com/digipost/typesafe-config-bundle
Last synced: 4 months ago
JSON representation
Typesafe config bundle for Dropwizard
- Host: GitHub
- URL: https://github.com/digipost/typesafe-config-bundle
- Owner: digipost
- License: apache-2.0
- Created: 2015-08-11T06:25:04.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T15:37:30.000Z (almost 2 years ago)
- Last Synced: 2023-08-14T16:12:03.743Z (almost 2 years ago)
- Language: Java
- Size: 85 KB
- Stars: 5
- Watchers: 20
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Typesafe config bundle for Dropwizard
[](https://maven-badges.herokuapp.com/maven-central/no.digipost/typesafe-config-bundle)

[](https://github.com/digipost/typesafe-config-bundle/blob/main/LICENCE)## Usage
```java
bootstrap.addBundle(new TypeSafeConfigBundle());
```## Features
* .conf or .yml format supported
* config for multiple environments in same file## Examples
```yml
# defaults
logging:
loggers:
# output final config to log
"no.digipost.dropwizard.TypeSafeConfigFactory": debugdatabase:
driverClass: org.postgresql.Driver# environment specific #
environments:
local:
database:
driverClass: org.hsqldb.jdbc.JDBCDriver
user: SA
password:test:
database:
user: test
password: test
```