Skip to content

v0.53 : Dependency upgrade, minor enhancements

Compare
Choose a tag to compare
@johnmcclean johnmcclean released this 30 Mar 15:52
· 884 commits to master since this release

Fixes / enhancements

Instance level property file name now configurable #pull15
Display configured resources on startup : #4
Fix shadowPlugin version #13
Upgrade simple-react to v0.83

Configuring properties in Microserver

By default Microserver will attempt to load a file called application.properties using the rules defined here and file called instance.properties which also uses the same rules.

The disinction between the two is so that you can (optionally) have a separate properties files per group (e.g. Microservice type or entire cluster) and per instance.

The property file name for both application.properties and instance.properties can be modified via the @Micrserver configuration annotation.

The property instancePropertiesName is used to determine the instance properties resource name.
The property propertiesName is used to determine the application type properties resource name.

Getting Microserver

Java Doc : Microserver Core

Java Doc : Microserver Boot

Maven dependency

Microserver core

<dependency>
  <groupId>com.aol.microservices</groupId>
  <artifactId>microserver-core</artifactId>
  <version>0.53</version>
</dependency>

Microserver Spring Boot

<dependency>
  <groupId>com.aol.microservices</groupId>
  <artifactId>microserver-boot</artifactId>
  <version>0.53.1</version>
</dependency>

Gradle dependency

Microserver core

 compile group: 'com.aol.microservices', name:'microserver-core', version:'0.53'

Microserver Spring Boot

  compile group: 'com.aol.microservices', name:'microserver-boot', version:'0.53.1'