Skip to main content

All Questions

1 vote
1 answer
52 views

Is application.properties deprecated for configuring microservices gateways?

I recently completed a tutorial from 3 months ago, but the configuration advised for the API gateway isn't working as expected. I'm encountering a 404 error when trying to access /quiz-services. Can ...
Rahul Gupta's user avatar
0 votes
1 answer
153 views

Asynchronous Call Issue with Spring Cloud Gateway and Feign Client

I'm facing an issue with my Spring Cloud Gateway setup where a GET endpoint, configured to traverse multiple services, is not waiting for responses from downstream services. Specifically, I have a ...
Amol Mandlik's user avatar
2 votes
0 answers
551 views

Routes via application.yaml for Spring Cloud Gateway is not working

I am sharing the routing code for Spring Cloud Gateway that functions correctly in my application: @Configuration public class Config { @Bean public RouteLocator routeLocator(...
Janek1010's user avatar
0 votes
0 answers
37 views

Spring cloud gateway - Lookup configuration basis request parameter

Is there any in-built functionality in Spring cloud gateway to look up configuration (either the local YAML file or spring cloud config server) basis a value passed in request header/parameter/path ...
Jacob's user avatar
  • 444
1 vote
0 answers
679 views

Spring Cloud Gateway not executing filter if the controller is in same project

@Configuration public class GatewayConfig { @Bean public RouteLocator routes(RouteLocatorBuilder builder, JwtTokenValidationAndRouteFilter authenticationCheckAndRouteFilter, AuthServerFilter ...
spyder's user avatar
  • 61
1 vote
0 answers
96 views

Run tests for spring gateway

I have a Spring Gateway application that depends on Eureka and Config Server. When I try to run the tests for this application, they fail because they require Eureka Server and Config Server to be ...
Skazhenyy_enot's user avatar
1 vote
0 answers
1k views

POST , PATCH , PUT calls with body not working through Spring Cloud Gateway

I have a backend service with GET and POST calls which work fine with direct end-points but when I call them through spring cloud gateway - the GET calls works fine but POST/PATCH/PUT calls return 504 ...
Kokki's user avatar
  • 73
2 votes
0 answers
657 views

Spring Microservices API gateway security with WSO2

Is there any manual reference or approach for applying security on API gateway in spring cloud? I have built a gateway using spring cloud and added the routes, now I need to add security where ...
Majd Haidar's user avatar
0 votes
3 answers
2k views

Configure Spring Gateway to forward web requests to internal url

I have Spring Gateway application with the following Gradle dependencies: implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-gateway' implementation 'com.netflix.eureka:...
Peter Penzov's user avatar
  • 1,048
2 votes
1 answer
14k views

Caused by: java.lang.IllegalArgumentException: Pattern cannot be null or empty

I am working on Spring Boot Microservices project using Spring Boot v2.5.2. Erorr org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' ...
Prateek's user avatar
  • 11.5k
0 votes
0 answers
376 views

Want to read gateway properties from config server

I have a spring cloud gateway in my project and I want to use config server with that. What exactly I want to do is enter image description here I want to read these highlighted values from config ...
Ankit's user avatar
  • 1
0 votes
0 answers
133 views

Spring Cloud Data Flow - Postgresql Metadata issue

We are setting up SCDF on the Kubernetes cluster through kubectl. We are using PostgreSQL for the Metadata process. We got the set up done, and we can see various tables created in the Postgresql, ...
Prashant's user avatar
0 votes
2 answers
234 views

Autowired parameter as bean declaration parameter

I have @Bean public RouteLocator gatewayRoutes(RouteLocatorBuilder builder) { return builder.routes() .route(r -> r.path("/employee/**") ...
C96's user avatar
  • 519
2 votes
0 answers
2k views

Spring cloud load balancer with Spring Cloud gateway

I have 4 Spring boot services up and running. the First service is an API gateway manager implemented using Spring cloud gateway. The Yml file is as below: server: port: 8080 eureka: client: ...
user1955255's user avatar
1 vote
1 answer
9k views

spring-cloud-gateway path route predicate don't accept "/"

I have a custom gateway filter that use the route written in application.yml, When I want to change the route predicate from /test/myTest to /public the request return 404 it seemes like the "/&...
Amirak's user avatar
  • 63

15 30 50 per page