-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes CI errors caused by Druid and Spring Framework changes (#613)
- Loading branch information
1 parent
8f633a5
commit 620444c
Showing
10 changed files
with
73 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...dou/dynamic/datasource/spring/boot/autoconfigure/DruidDynamicDataSourceConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.baomidou.dynamic.datasource.spring.boot.autoconfigure; | ||
|
||
import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure; | ||
import com.alibaba.druid.spring.boot3.autoconfigure.properties.DruidStatProperties; | ||
import com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidFilterConfiguration; | ||
import com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidSpringAopConfiguration; | ||
import com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidStatViewServletConfiguration; | ||
import com.alibaba.druid.spring.boot3.autoconfigure.stat.DruidWebStatFilterConfiguration; | ||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; | ||
import org.springframework.boot.context.properties.EnableConfigurationProperties; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Import; | ||
|
||
/** | ||
* 从原生DruidDataSourceAutoConfigure复制 | ||
* | ||
* @author TaoYu | ||
* @since 1.1.0 | ||
*/ | ||
@Configuration | ||
@ConditionalOnClass(DruidDataSourceAutoConfigure.class) | ||
@EnableConfigurationProperties({DruidStatProperties.class}) | ||
@Import({ | ||
DruidSpringAopConfiguration.class, | ||
DruidStatViewServletConfiguration.class, | ||
DruidWebStatFilterConfiguration.class, | ||
DruidFilterConfiguration.class}) | ||
public class DruidDynamicDataSourceConfiguration { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters