Questions tagged [spring-cloud]
Spring Cloud provides tools to quickly build common patterns in distributed systems (e.g. configuration management, service discovery, circuit breaker, intelligent routing, micro-proxy, control bus, global locks, leadership election, distributed sessions). Coordination of these systems leads to boiler plate patterns, and using Spring Cloud you can quickly create applications that implement those patterns.
spring-cloud
5,211
questions
-2
votes
0
answers
38
views
Cannot send any request from one service to another through API Gateway with JWT Token in Spring Boot Microservices
I've tried to implement and example of Spring Boot Microservices.
After register and login process is completed, I can get a token with its relevant role.
When I send a request to product service ...
0
votes
0
answers
37
views
Spring Boot microservices with JWT (Cannot run Integration test (401 Unauthorized Error))
I try to implement an example of Spring Boot microservices with JWT. I have some problem. I cannot run all integration tests of product service even if I defined bearer token in terms of admin and ...
-1
votes
1
answer
35
views
Spring Cloud vs Kubernetes [closed]
The idea of Spring Cloud is to make life easier for those who use microservice architecture. It has service discovery, gateway, load balancing and lots of other things. Based on my experience, every ...
-1
votes
0
answers
21
views
spring cloud azure AadJwtBearerTokenAuthenticationConverter replacement
I'm migrating from
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-active-directory</artifactId>
<version>4.2.0&...
0
votes
0
answers
33
views
How to call REST API using Spring Webclient in global post filter
Spring Cloud Gateway with WebFlux: 4.1.0
We have implemented couple of custom Global pre and post filters in our Spring Cloud Gateway application. We are using Spring WebClient utility to make call to ...
0
votes
0
answers
36
views
Migrating from Spring cloud oauth2 to spring security after Springboot 3.0.0 upgrade
After migrating my project from Springboot security 2.7 to 3.0, i find myself in a bit of a migration trouble.
I have correctly migrated whole project ot use jakarta dependencies instead of javax, but ...
0
votes
0
answers
32
views
Spring cloud and spring security dependency problem
I created an Api Gateway with spring boot, but when I add spring security I have this exception:
Description:
The bean 'conversionServicePostProcessor', defined in class path resource [org/...
0
votes
0
answers
35
views
Spring library compatibility confusion
According to the release train available here, it appears that I should be able to use Spring Boot 3.3.1 with Spring Cloud 2023.0.2. In addition to these, I am also trying to use Spring Cloud AWS v3.2....
-1
votes
1
answer
85
views
Spring Cloud Gateway security configuration error
I try to run application wiht spring security, but got followind error , i nont have a clue why.
I was following this guide videos - https://www.youtube.com/watch?v=rbKzR6QWKLI&t=486s&...
0
votes
0
answers
60
views
Propagation of MDC to a Feign Thread
I whould need to know how I can propagate the MDC (Mapped Diagnostic Context) that I use on the main thread to the thread that Feign uses to call another service. I'm using Spring Boot 3.3.0.
This ...
0
votes
1
answer
41
views
Calling a service name using RestClient, HttpInterfaces and Eureka
I've been using RestClient and HttpInterfaces in Spring Boot 3.2 to make calls to different external and internal services.
Now I want to introduce spring cloud for service discovery to call the ...
0
votes
0
answers
38
views
Api Gateway giving 404 Error in spring cloud gateway
I have tried every thing to resolve still MY API Gateway is giving 404 error.If i am accressing Directly my PRODUCT Service it is NOT Giving any error.
I have made a product Service Which i am able to ...
0
votes
0
answers
38
views
Spring cloud gateway : Returns 200 to an api call but no response in body
When I hit URL through postman, [localhost:8090/api/v1] I get 200 but no response in body and when I check the logs of the service which was hit through gateway it shows nothing, which means it didn't ...
0
votes
0
answers
16
views
I'm curious about the role of the 'host' in the Spring Cloud Gateway YAML configuration
I am currently a university student in Korea. I am studying Spring Cloud Gateway and am curious about the reason for specifying the host in the YAML configuration and writing the same host information ...
0
votes
0
answers
35
views
Spring Gateway routes not applied to multiple SecurityWebFilterChains
---> .csrf((c) -> {c.disable();}) for the /api/** security filter chain caused the following to happen for an unknown reason:
The issue is not having the gateway route filters and resources ...