File tree Expand file tree Collapse file tree 5 files changed +80
-6
lines changed 
src/main/java/io/dapr/spring/openfeign/autoconfigure 
spring-boot-examples/openfeign-app Expand file tree Collapse file tree 5 files changed +80
-6
lines changed Original file line number Diff line number Diff line change 66    <parent >
77        <groupId >io.dapr.spring</groupId >
88        <artifactId >dapr-spring-parent</artifactId >
9-         <version >0.15 .0-SNAPSHOT</version >
9+         <version >0.16 .0-SNAPSHOT</version >
1010    </parent >
1111
1212    <artifactId >dapr-openfeign-client</artifactId >
3131            <version >13.5</version >
3232            <scope >test</scope >
3333        </dependency >
34+         <dependency >
35+             <groupId >io.dapr</groupId >
36+             <artifactId >dapr-sdk</artifactId >
37+             <version >${dapr.sdk.version} </version >
38+             <scope >compile</scope >
39+         </dependency >
40+         <dependency >
41+             <groupId >org.mockito</groupId >
42+             <artifactId >mockito-core</artifactId >
43+             <scope >test</scope >
44+         </dependency >
45+         <dependency >
46+             <groupId >org.mockito</groupId >
47+             <artifactId >mockito-junit-jupiter</artifactId >
48+             <scope >test</scope >
49+         </dependency >
50+         <dependency >
51+             <groupId >org.junit.jupiter</groupId >
52+             <artifactId >junit-jupiter</artifactId >
53+             <scope >test</scope >
54+         </dependency >
3455    </dependencies >
3556
3657</project >
Original file line number Diff line number Diff line change 66    <parent >
77        <groupId >io.dapr.spring</groupId >
88        <artifactId >dapr-spring-parent</artifactId >
9-         <version >0.15 .0-SNAPSHOT</version >
9+         <version >0.16 .0-SNAPSHOT</version >
1010    </parent >
1111
1212    <artifactId >dapr-spring-openfeign</artifactId >
3737            <artifactId >spring-boot-starter-web</artifactId >
3838            <scope >test</scope >
3939        </dependency >
40+         <dependency >
41+             <groupId >org.testcontainers</groupId >
42+             <artifactId >testcontainers</artifactId >
43+             <scope >test</scope >
44+         </dependency >
45+         <dependency >
46+             <groupId >org.testcontainers</groupId >
47+             <artifactId >junit-jupiter</artifactId >
48+             <scope >test</scope >
49+             <exclusions >
50+                 <exclusion >
51+                     <groupId >com.vaadin.external.google</groupId >
52+                     <artifactId >android-json</artifactId >
53+                 </exclusion >
54+             </exclusions >
55+         </dependency >
56+         <dependency >
57+             <groupId >io.dapr</groupId >
58+             <artifactId >testcontainers-dapr</artifactId >
59+             <scope >test</scope >
60+         </dependency >
61+         <dependency >
62+             <groupId >org.springframework</groupId >
63+             <artifactId >spring-beans</artifactId >
64+         </dependency >
65+         <dependency >
66+             <groupId >org.springframework</groupId >
67+             <artifactId >spring-context</artifactId >
68+         </dependency >
69+         <dependency >
70+             <groupId >org.springframework.boot</groupId >
71+             <artifactId >spring-boot-starter-test</artifactId >
72+         </dependency >
4073        <dependency >
4174            <groupId >org.springframework.cloud</groupId >
4275            <artifactId >spring-cloud-starter-openfeign</artifactId >
Original file line number Diff line number Diff line change 11package  io .dapr .spring .openfeign .autoconfigure ;
22
3- import  org .jetbrains .annotations .NotNull ;
43import  org .springframework .beans .factory .config .ConfigurableListableBeanFactory ;
54import  org .springframework .cloud .openfeign .EnableFeignClients ;
65import  org .springframework .context .annotation .Condition ;
1211public  class  FeignClientAnnoationEnabledCondition  implements  Condition  {
1312  @ Override 
1413  @ SuppressWarnings ("null" )
15-   public  boolean  matches (@ NotNull   ConditionContext  context ,  @ NotNull  AnnotatedTypeMetadata  metadata ) {
14+   public  boolean  matches (ConditionContext  context , AnnotatedTypeMetadata  metadata ) {
1615    try  {
1716      ConfigurableListableBeanFactory  factory  = Objects .requireNonNull (context .getBeanFactory ());
1817      String [] beanNames  = factory .getBeanNamesForAnnotation (EnableFeignClients .class );
Original file line number Diff line number Diff line change 4949    <snakeyaml .version>2.0</snakeyaml .version>
5050    <testcontainers .version>1.20.5</testcontainers .version>
5151    <springboot .version>3.4.3</springboot .version>
52+     <springcloud .version>2024.0.0</springcloud .version>
5253    <nexus-staging-maven-plugin .version>1.7.0</nexus-staging-maven-plugin .version>
5354    <assertj .version>3.27.3</assertj .version>
5455    <grpc .version>1.69.0</grpc .version>
112113        <artifactId >mockito-core</artifactId >
113114        <version >3.11.2</version >
114115      </dependency >
116+       <dependency >
117+         <groupId >org.mockito</groupId >
118+         <artifactId >mockito-junit-jupiter</artifactId >
119+         <version >3.11.2</version >
120+       </dependency >
115121      <dependency >
116122        <groupId >io.projectreactor</groupId >
117123        <artifactId >reactor-test</artifactId >
Original file line number Diff line number Diff line change 66    <parent >
77        <groupId >io.dapr</groupId >
88        <artifactId >spring-boot-examples</artifactId >
9-         <version >0.15 .0-SNAPSHOT</version >
9+         <version >0.16 .0-SNAPSHOT</version >
1010    </parent >
1111
1212    <artifactId >openfeign-app</artifactId >
2626        </dependency >
2727        <dependency >
2828            <groupId >org.springframework.boot</groupId >
29-             <artifactId >spring-boot-starter-actuator </artifactId >
29+             <artifactId >spring-boot-starter-test </artifactId >
3030        </dependency >
3131        <dependency >
3232            <groupId >io.dapr.spring</groupId >
3333            <artifactId >dapr-spring-boot-starter</artifactId >
3434        </dependency >
35+         <dependency >
36+             <groupId >io.dapr.spring</groupId >
37+             <artifactId >dapr-spring-boot-starter-test</artifactId >
38+             <scope >test</scope >
39+         </dependency >
3540        <dependency >
3641            <groupId >org.springframework.cloud</groupId >
3742            <artifactId >spring-cloud-starter-openfeign</artifactId >
5661            <artifactId >rest-assured</artifactId >
5762            <scope >test</scope >
5863        </dependency >
64+         <dependency >
65+             <groupId >org.junit.jupiter</groupId >
66+             <artifactId >junit-jupiter-api</artifactId >
67+             <scope >test</scope >
68+         </dependency >
69+         <dependency >
70+             <groupId >org.mockito</groupId >
71+             <artifactId >mockito-core</artifactId >
72+             <scope >test</scope >
73+         </dependency >
5974    </dependencies >
6075
6176</project >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments