Skip to content

Commit d8f1f7a

Browse files
committed
update lib
1 parent 7f4e0c3 commit d8f1f7a

File tree

74 files changed

+920
-560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+920
-560
lines changed

reactify-cache/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
1919
<modelVersion>4.0.0</modelVersion>
2020
<parent>
21-
<groupId>io.github.hoangtien2k3</groupId>
22-
<artifactId>reactify-parent</artifactId>
23-
<version>1.2.0</version>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-parent</artifactId>
23+
<version>3.3.5</version>
2424
<relativePath/>
2525
</parent>
26+
<groupId>io.github.hoangtien2k3</groupId>
2627
<artifactId>reactify-cache</artifactId>
2728
<version>1.2.2</version>
2829
<name>reactify-cache</name>

reactify-client/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
1919
<modelVersion>4.0.0</modelVersion>
2020
<parent>
21-
<groupId>io.github.hoangtien2k3</groupId>
22-
<artifactId>reactify-parent</artifactId>
23-
<version>1.2.0</version>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-parent</artifactId>
23+
<version>3.3.5</version>
2424
<relativePath/>
2525
</parent>
26+
<groupId>io.github.hoangtien2k3</groupId>
2627
<artifactId>reactify-client</artifactId>
2728
<version>1.2.2</version>
2829
<name>reactify-client</name>

reactify-client/src/main/java/com/reactify/WebClientFactory.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import lombok.Data;
3434
import lombok.extern.slf4j.Slf4j;
3535
import org.springframework.beans.factory.InitializingBean;
36+
import org.springframework.beans.factory.annotation.Autowired;
3637
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
3738
import org.springframework.context.ApplicationContext;
3839
import org.springframework.context.ConfigurableApplicationContext;
@@ -73,15 +74,17 @@
7374
@Slf4j
7475
@Data
7576
public class WebClientFactory implements InitializingBean {
76-
private final ApplicationContext applicationContext;
77+
78+
@Autowired
79+
private ApplicationContext applicationContext;
7780
private List<WebClientProperties> webClients;
7881

7982
/**
8083
* Creates an instance of {@code WebClientFactory} with the specified
8184
* application context and authorized client manager.
8285
*/
83-
public WebClientFactory(ApplicationContext applicationContext) {
84-
this.applicationContext = applicationContext;
86+
public WebClientFactory(List<WebClientProperties> webClients) {
87+
this.webClients = webClients;
8588
}
8689

8790
/**

0 commit comments

Comments
 (0)