Commit 00fae6b
committed
fix(springboot openfeign): fix IT failed for tests that have two dapr client bean autowired
Job SDK ITs have a daprPreviewClient bean defined, as SpringBoot bean search will first get beans that impl the interface and get all beans that matches the bean's class, when openfeign autowire DaprClient, there is a conflict between daprClient and daprPreviewClient.
Change the AutoConfiguration behavior to make a more strict rule for making AutoConfiguration run
Signed-off-by: lony2003 <[email protected]>1 parent c381e44 commit 00fae6b
File tree
3 files changed
+9
-22
lines changed- dapr-spring/dapr-spring-openfeign
- src/main/java/io/dapr/spring/openfeign/autoconfigure
3 files changed
+9
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
This file was deleted.
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
12 | 15 | | |
13 | | - | |
14 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 23 | | |
20 | 24 | | |
0 commit comments