spring5-webflux-rest
spring5-webflux-rest copied to clipboard
Spring Framework 5 WebFlux
Working on a spring boot based application and using spring webflux, we are exposing 3 ports 1. server.port 1. management.server.port (actuator) and are planning to expose another port called as...
Refactored so that it does not return a 500 error when testing in postman
Original implementation fails in Postman because of the ".block()". This version uses flatmap instead to do the update.
Because blocking methods seem to be discouraged in recent releases of webflux, this refactors the PATCH methods in Vendor and Category controllers into a non-blocking form.
Add a test to insure that the patch request should not change the Vendor object if the body is empty. Add a fix in VendorController to pass the test.
This PR initializes JetBrains Junie 🚀 by adding essential configuration files. Includes: - GitHub workflow for automated execution - Dev container setup (if applicable) Generated automatically by Junie. Review and...