spring-cloud Questions

10

I created a spring cloud project using SPRING INITIALIZR. My project structure is as below: enter image description here The DemoApplication: package com.example.demo; import org.springframework...
Trevor asked 2/12, 2018 at 3:39

2

I am running into this "You haven't configured a MockMVC instance." exception when "mvn clean install". Running org.springframework.cloud.contract.verifier.tests.ContractVerifierTest Tests run:...
Sproul asked 23/2, 2017 at 2:28

3

I have a whole bunch of Feign clients that uses a shared configuration(MyFeignConfiguration.class): @FeignClient(name = "clientA", url = "http://serviceA.com", fallbackFactory =...
Integer asked 24/1, 2022 at 22:50

3

Solved

Spring allows interception of messages for many of their products, like RestTemplate and SpringMVC. Is it possible to intercept Spring Cloud Stream messages? For both incoming and outgoing messages...
Merger asked 26/5, 2016 at 1:51

7

I'm writing a Eureka Client Application using spring-cloud-starter-openfeign client. Here is my POM <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche...

8

I want to place the git repository in a folder directly above the classpath during the development stage of an application. Currently, I have this as my Spring Cloud git URI: spring.cloud.config....
Embank asked 14/12, 2018 at 21:48

4

Solved

Followed the spring guides to build the eureka server, spring cloud gateway and a sample rest service. However, the gateway is unable to retrieve the urls using the service name from the eureka se...
Haemophiliac asked 6/9, 2018 at 5:12

5

I am pretty interested in spring cloud project and now I am testing it, but blocked immediately. In POM: I added this dependency: <dependency> <groupId>org.springframework.cloud&lt...
Mammary asked 28/3, 2015 at 19:5

11

Solved

I have Spring Cloud gateway running on separate server with the following configuration: spring: cloud: gateway: globalcors: cors-configurations: '[/*]': (I also tried '[/**]':) allowedOrigin...
Foreandaft asked 3/1, 2022 at 3:58

10

Api calls via gateway throws java.net.UnknownHostException even though I am able to hit the application directly with the given hostname Spring Boot version : 2.4.2 Spring-cloud.version: 2020.0.1 J...
Conradconrade asked 10/2, 2021 at 9:13

5

Solved

I am trying to make SqsListener work but I can't with Spring Boot 3, it simply doesn't receive anything. When I change Spring Boot version back to 2.X everything's work perfectly. I am using 2.4.2 ...

10

Solved

When i try to run my spring boot application i get this Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in ...
Odontoblast asked 7/12, 2020 at 12:10

6

Solved

I added spring-cloud-starter-netflix-eureka-client gradle depedency in my project and shrik the depedency. But when go use @EnableEurekaClient in my Main class it show me suggestion create @Enable...

2

Solved

In Spring cloud Gateway request timeout for path in not working as expected. I tried to specify global timeout, but its not working as expected. I am trying to call a microservice A. In A microserv...
Radiometer asked 20/11, 2020 at 18:46

8

I am working to setup wiremock for springboot rest api and using rest assured and spring-cloud-starter-contract-stub-runner from spring cloud. when i run the sample integration test i encounter mod...
Tallu asked 5/5, 2022 at 11:17

5

How to eliminate the following message on Eureka server dashboard? Will it cause any issue to my services? EMERGENCY! EUREKA MAY BE INCORRECTLY CLAIMING INSTANCES ARE UP WHEN THEY'RE NOT. RENEW...

4

Solved

I know should set following properties, but still confused about where they should be set. spring: cloud: config: allowOverride: true failFast: true overrideNone: false application.properti...
Kif asked 5/5, 2017 at 8:37

4

Solved

I am trying to create a maven project using Spring Framework Cloud. I defined pom.xml file as below <parent> <groupId>org.springframework.cloud</groupId> <artifactId>spr...
Duplessismornay asked 7/12, 2017 at 7:50

3

Solved

Is it possible to extend the visibility time out of a message that is in flight. See: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html. Section: Changing ...
Armbruster asked 13/7, 2016 at 15:11

1

I'm trying to send a batch of items to Amazon SQS using Spring Cloud. I'm able to send individual items. However, the time to send it to the queue tends to be multiplied by the number of items I'm ...
Dissection asked 27/1, 2017 at 7:28

4

I like to run my unit test with test spring profile without consul. I'm trying to use spring.cloud.config.enabled:false and disabling EnableDiscoveryClient annotation for test profile but it doesn'...
Calm asked 29/2, 2016 at 11:20

14

Solved

I'm trying to run a very basic Eureka Server but it gives the following error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.c...

3

Solved

I use the following Maven dependency which autoconfigures all necessary parameters to make my project work on AWS: <dependency> <groupId>org.springframework.cloud</groupId> &lt...
Reason asked 8/6, 2018 at 15:19

4

Solved

In the GatewayFilter, I am trying to inject a header into the request like below. @Override public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) { //DO SOME AUTH...
Subtract asked 15/4, 2018 at 18:21

3

Solved

In my Spring Boot project, I defined 4 profiles demo dev test prod properties in YAML files will be replaced by HashiCorp Vault properties during startup. For this, I use Spring Cloud Vault libra...
Arterio asked 24/11, 2020 at 20:5

© 2022 - 2024 — McMap. All rights reserved.