File tree Expand file tree Collapse file tree 11 files changed +12
-11
lines changed
spring-boot-data-aggregator-autoconfigure
src/main/java/io/github/lvyahui8/spring/autoconfigure
spring-boot-data-aggregator-core
spring-boot-data-aggregator-example
spring-boot-data-aggregator-starter Expand file tree Collapse file tree 11 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 7
7
* .rar
8
8
* .7z
9
9
* .iml
10
+ * .versionsBackup
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ application.properties
29
29
30
30
```
31
31
# Specify the package to scan the annotations
32
- io.github.lvyahui8.spring.base-packpages =io.github.lvyahui8.spring.example
32
+ io.github.lvyahui8.spring.base-packages =io.github.lvyahui8.spring.example
33
33
```
34
34
35
35
- ` @DataProvider ` : define the data provider
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ application.properties
29
29
30
30
```
31
31
# 指定要扫描注解的包
32
- io.github.lvyahui8.spring.base-packpages =io.github.lvyahui8.spring.example
32
+ io.github.lvyahui8.spring.base-packages =io.github.lvyahui8.spring.example
33
33
```
34
34
35
35
- ` @DataProvider ` 定义数据提供者
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.github.lvyahui8</groupId >
8
8
<artifactId >spring-boot-data-aggregator</artifactId >
9
- <version >1.0.0-RELEASE </version >
9
+ <version >1.0.1 </version >
10
10
<modules >
11
11
<module >spring-boot-data-aggregator-core</module >
12
12
<module >spring-boot-data-aggregator-autoconfigure</module >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >spring-boot-data-aggregator</artifactId >
7
7
<groupId >io.github.lvyahui8</groupId >
8
- <version >1.0.0-RELEASE </version >
8
+ <version >1.0.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ public ExecutorService aggregateExecutorService() {
74
74
}
75
75
76
76
private void scanProviders (DataProviderRepository repository ) {
77
- if (properties .getBasePackpages () != null ) {
78
- for (String basePackage : properties .getBasePackpages ()) {
77
+ if (properties .getBasePackages () != null ) {
78
+ for (String basePackage : properties .getBasePackages ()) {
79
79
Reflections reflections = new Reflections (basePackage , new MethodAnnotationsScanner ());
80
80
Set <Method > providerMethods = reflections .getMethodsAnnotatedWith (DataProvider .class );
81
81
for (Method method : providerMethods ) {
Original file line number Diff line number Diff line change 10
10
@ ConfigurationProperties (prefix = "io.github.lvyahui8.spring" )
11
11
@ Data
12
12
public class BeanAggregateProperties {
13
- private String [] basePackpages ;
13
+ private String [] basePackages ;
14
14
private int threadNumber = Runtime .getRuntime ().availableProcessors () * 3 ;
15
15
private int queueSize = 1000 ;
16
16
}
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >spring-boot-data-aggregator</artifactId >
7
7
<groupId >io.github.lvyahui8</groupId >
8
- <version >1.0.0-RELEASE </version >
8
+ <version >1.0.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >spring-boot-data-aggregator</artifactId >
7
7
<groupId >io.github.lvyahui8</groupId >
8
- <version >1.0.0-RELEASE </version >
8
+ <version >1.0.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 1
1
spring.main.banner-mode =off
2
- io.github.lvyahui8.spring.base-packpages =io.github.lvyahui8.spring.example
2
+ io.github.lvyahui8.spring.base-packages =io.github.lvyahui8.spring.example
You can’t perform that action at this time.
0 commit comments