Skip to content

Commit

Permalink
prepare for release 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rikcarve committed Dec 15, 2019
1 parent eb04f6a commit ff42863
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ The eclipse microprofile config framework is a simple yet powerful configuration
<dependency>
<groupId>ch.carve</groupId>
<artifactId>mp-config-consul</artifactId>
<version>0.3</version>
<version>0.4</version>
</dependency>
```

## Configuration
Currently there are 2 values you can configure, either through Java system properties or environment variables:
* **consul.host** url of your consul instance, e.g. "192.168.99.100:8500", default value is "localhost"
Currently there are 3 values you can configure, either through Java system properties or environment variables:
* **consul.host** url of your consul instance, e.g. "192.168.99.100:8500", default value is "localhost", variable substitution available.
* **consul.configsource.validity** how long to cache values (in seconds), default is 30s
* **consul.prefix** key prefix to search value in consul
* **consul.prefix** key prefix to search value in consul, variable substitution available


## Links
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ch.carve</groupId>
<artifactId>mp-config-consul</artifactId>
<version>0.4-SNAPSHOT</version>
<version>0.4</version>
<packaging>jar</packaging>
<name>mp-config-consul</name>
<description>Consul ConfigurationSource for eclipse microprofile config</description>
Expand Down

0 comments on commit ff42863

Please sign in to comment.