vertx-env-config

vertx config based on environmental variables

License

License

Categories

Categories

config Application Layer Libs Configuration
GroupId

GroupId

one.valuelogic
ArtifactId

ArtifactId

vertx-env-config
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

vertx-env-config
vertx config based on environmental variables
Project URL

Project URL

https://github.com/valuelogic/vertx-env-config
Source Code Management

Source Code Management

https://github.com/valuelogic/vertx-env-config

Download vertx-env-config

How to add to project

<!-- https://jarcasting.com/artifacts/one.valuelogic/vertx-env-config/ -->
<dependency>
    <groupId>one.valuelogic</groupId>
    <artifactId>vertx-env-config</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/one.valuelogic/vertx-env-config/
implementation 'one.valuelogic:vertx-env-config:0.1'
// https://jarcasting.com/artifacts/one.valuelogic/vertx-env-config/
implementation ("one.valuelogic:vertx-env-config:0.1")
'one.valuelogic:vertx-env-config:jar:0.1'
<dependency org="one.valuelogic" name="vertx-env-config" rev="0.1">
  <artifact name="vertx-env-config" type="jar" />
</dependency>
@Grapes(
@Grab(group='one.valuelogic', module='vertx-env-config', version='0.1')
)
libraryDependencies += "one.valuelogic" % "vertx-env-config" % "0.1"
[one.valuelogic/vertx-env-config "0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
io.vertx : vertx-config jar 3.4.2

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.8.0
io.vertx : vertx-unit jar 3.4.2

Project Modules

There are no modules declared in this project.

CircleCI

Vertx env config

Sometimes there is a need to configure Vertx by OS environmental variables, instead of relying on packaged *.property files.

Usage

Add dependency in Gradle:

dependencies {
  compile "one.valuelogic.vertx-env-config:0.1"
}

or in Maven:

<dependencies>
   <dependency>
      <groupId>one.valuelogic</groupId>
      <artifactId>vertx-env-config</artifactId>
      <version>0.1</version>
   </dependency>
</dependencies>   

To use default configuration:

    ConfigRetriever configRetriever = ConfigRetriever
        .create(vertx, EnvConfigRetrieverOptions.create());
    Future<JsonObject> config = configRetriever.getConfigAsFuture();

Limitations

Currently we support only lowercased property keys.

one.valuelogic

ValueLogic

Versions

Version
0.1