br.com.ingenieux.dropwizard:dropwizard-envvar

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Категории

Категории

DropWizard Контейнер Микросервисы
Группа

Группа

br.com.ingenieux.dropwizard
Идентификатор

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

dropwizard-envvar
Последняя версия

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

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Система контроля версий

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

http://github.com/ingenieux/dropwizard-envvar

Скачать dropwizard-envvar

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

<!-- https://jarcasting.com/artifacts/br.com.ingenieux.dropwizard/dropwizard-envvar/ -->
<dependency>
    <groupId>br.com.ingenieux.dropwizard</groupId>
    <artifactId>dropwizard-envvar</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/br.com.ingenieux.dropwizard/dropwizard-envvar/
implementation 'br.com.ingenieux.dropwizard:dropwizard-envvar:0.0.1'
// https://jarcasting.com/artifacts/br.com.ingenieux.dropwizard/dropwizard-envvar/
implementation ("br.com.ingenieux.dropwizard:dropwizard-envvar:0.0.1")
'br.com.ingenieux.dropwizard:dropwizard-envvar:jar:0.0.1'
<dependency org="br.com.ingenieux.dropwizard" name="dropwizard-envvar" rev="0.0.1">
  <artifact name="dropwizard-envvar" type="jar" />
</dependency>
@Grapes(
@Grab(group='br.com.ingenieux.dropwizard', module='dropwizard-envvar', version='0.0.1')
)
libraryDependencies += "br.com.ingenieux.dropwizard" % "dropwizard-envvar" % "0.0.1"
[br.com.ingenieux.dropwizard/dropwizard-envvar "0.0.1"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
io.dropwizard : dropwizard-core jar 0.7.1

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

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

Данный проект не имеет модулей.

Interpolates environment variables in Dropwizard YAML configurations.

Usage

In your Application class

public void initialize( Bootstrap bootstrap ) {
	bootstrap.addBundle( new EnvironmentVariableInterpolationBundle() );

In your YAML configuration

# This is just an example
mongo:
  host: ${MONGO_HOST}
  port: ${MONGO_PORT}

Notes

This bundle will fail fast, i.e. if an environment variable is not found, it will throw an EnvironmentException:

EnvironmentException: The environment variable 'MONGO_HOST' is not defined; could not substitute the expression '${MONGO_HOST}'.
br.com.ingenieux.dropwizard

ingenieux Brasil

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

Версия
0.0.1