Skip to content

gmollema/microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

microservices

This project contains a limits-service microservice. This service is a RESTful web service which can be called to retrieve the mimimum and maximum value (uri /limits) The goal of this project is to:

1 Centralize the properties of all (instances of) miscroservices for all environments in order to improve maintainability

Process of centralizing the properties (minimum and maximum values)

  • 1st step: hardcoded: In the first place directly hard coded from the RESTful controller
  • 2nd step: read from application.properties: They were moved to the application.properties, a new Configuration class with @ConfigurationProperties annotation read them (Spring boot way) and the Rest Controller used this Configuration class to retrieve the values.
  • 3rd step: from central git repo: create Git repo microservices-configuration and properties files of the limits-service (and all other future microservices).
  • 4th step: Spring Cloud Configuration Server as property service: cloud configuration implementation and connected to Git repo.
  • 5th step: Connect the Limit Service to the Spring config cloud service: by specifying it in the limits-service application.properties and renaming it to bootstrap.properties
  • 6th step: Enable profiled limits-sevice: for the property files in the git repo and bootstrap.properties in the limits-service service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published