Skip to content

sandra-markerud/spring-cloud-gateway-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Cloud Gateway Demo

Rationale

This project aims to show the problems we are facing with logging and tracing when upgrading to spring boot 3 in a reactive environment using netty.

Getting started

Build

The 'main' branch contains the functioning spring-boot-2 version including tests that show our expectations.

mvn clean install

Running the application locally

To locally run the application, use the following command:

mvn spring-boot:run

For local tests, a mockserver can be started with the provided docker-compose file. It simulates a backend-service, that will be accessed by our application.

docker-compose -f ./docker/docker-compose.yaml up

The mockserver can be reached via http://localhost:1080 and exposes a dashboard to monitor all requests is available via Mockserver Dashboard.

This application exposes a gateway route that can be called with

curl http://localhost:8080/question-route

This application exposes a REST endpoint that can be called with

curl http://localhost:8080/question-controller

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages