Closed predhme closed 1 month ago
I am fairly confident that this issue is caused by: https://github.com/spring-projects/spring-framework/issues/33020
That is slated to be fixed in 6.2.0 of spring. Once the Cloud packages pick up that new version, this issue should be resolved.
the 2024.0.0 snapshots and milestones use framework 6.2
I am using the latest Spring Cloud Gateway MVC via Spring Boot
I am attempting to place a relatively naive Gateway behind an Nginx Ingress that will sit in between a bunch of Microservices. The idea is that I can perform things like, authentication, authorization, etc in the gateway while deferring to the microservices for the business logic. I have a working implementation for the most part with one major problem. For example, consider an
Entity
microservice:In front of the
Entity
service I have a routeThe
GET
endpoints work when I call it with valid and invalid IDs. That is, I get a 200 or 404 respectively. However, PUT and DELETE return a 500 error. In fact, looks like I am getting aFileNotFoundException
:I would expect the
PUT
andDELETE
methods to behave in the same fashion. That is, that they would return 404 errors.