/reactive-spring-gateway-microservice

A Spring boot reactive 5 microservice gateway that uses spring cloud gateway

Primary LanguageJavaApache License 2.0Apache-2.0

reactive-spring-gateway-microservice Build Status

       

A Spring boot reactive 5 microservice gateway that uses spring cloud gateway. It routes any requests adding a basic authorization filter (AddBasicAuthHeader). You have only to configure the endpoints variables in the src/main/resources/application.yml file.

Please donate whether you wish support us to give more time to app's growth

News

  • Development 1.0-SNAPSHOT first version
Jenuary 02,2018 Release 1.0 available from GITHUB REPO

NEXT DEVELOPMENTS (checked in progress)

  • Add spring-boot-actuator
  • Explain more and better on README.md
  • testing and replace endpoints
  • create a spring boot starter with module microservice structure

How it works

How to configure

YOUR-YAML-CONFIGURATION-FOLDER-PATH/application.yml:

 
gateway:
  remote:
    url: YOUR_REMOTE_URL_TO_REDIRECT
  basic:
    auth:
      username: YOUR_BASIC_AUTH_USER
      password: YOUR_BASIC_AUTH_PASSWORD

How to run

java -jar reactive-spring-gateway-microservice-1.0-SNAPSHOT.jar --spring.config.location=classpath:/,file:YOUR-YAML-CONFIGURATION-FOLDER-PATH