Tutorial on how to configure a Spring Cloud Gateway application with Spring CORS support.
Also find me here:
Baeldung Author
Saikat Chakraborty
A passionate software developer and working as lead developer. I've good experience in the backend development. My area of interest is improving software development practices, with clean coding, testing, scalable and secure system.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Boot (5)
- Data (5)
- Spring Cloud (4)
- Security (2)
- REST (2)
- JVM (2)
- Core Java (2)
- Testing (1)
- Spring Web (1)
- Spring Security (1)
- Spring Data (1)
- Spring (1)
- NoSQL (1)
- Java (1)
- JPA (1)
- Cloud (1)
Integrate OpenAPI With Spring Cloud Gateway
Filed under Spring Cloud
Spring Cloud Gateway will aggregate all the OpenAPI specifications of the different microservices beneath it. We look at how to present the OpenAPI specification from a service and find it in the gateway.
Implement Bulk and Batch API in Spring
Filed under REST, Spring Web
Learn to implement a REST controller that can optimize performance by accepting multiple requests in one call.
Implement Two-Level Cache With Spring
Filed under Spring
Learn how to implement two levels of caching in Spring.
Setup Asynchronous Retry Mechanism in Spring
Filed under Spring Boot
Learn to implement an asynchronous execution with automatic retry in a Spring application.
Query With IN Clause in Spring Data Cassandra
Filed under Spring Data
Learn how to implement the IN query clause using Spring Data Cassandra.
Setup Http Patch Request With OpenFeign
Filed under Spring Cloud
Spring Cloud OpenFeign makes it easy to write a client to REST APIs. We can use this for PATCH requests. We look at how this works and how to set it up to avoid common pitfalls.
Shared Secret Authentication in Spring Boot Application
Filed under Spring Boot, Spring Security
Private microservices may use a shared secret to protect their APIs from illegal access. We look at how to implement a simple token based security pattern based on a shared secret using Spring Security.
OpenTelemetry Setup in Spring Boot Application
Filed under Cloud, Spring Boot
Deploying microservices can lead to challenges in tracing requests across those services. With OpenTelemetry we’re able to capture logs from independent services and use them to observe traces of entire requests. We look at how to achieve this in Spring.