This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree 3 files changed +13
-16
lines changed
src/main/java/io/github/mfvanek/pg/spring 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ Spring Boot Starter for using [pg-index-health](https://github.com/mfvanek/pg-in
21
21
## Installation
22
22
Using Gradle:
23
23
``` groovy
24
- testImplementation 'io.github.mfvanek:pg-index-health-test-starter:0.8 .0'
24
+ testImplementation 'io.github.mfvanek:pg-index-health-test-starter:0.9 .0'
25
25
```
26
26
27
27
Using Maven:
28
28
``` xml
29
29
<dependency >
30
30
<groupId >io.github.mfvanek</groupId >
31
31
<artifactId >pg-index-health-test-starter</artifactId >
32
- <version >0.8 .0</version >
32
+ <version >0.9 .0</version >
33
33
<scope >test</scope >
34
34
</dependency >
35
35
```
@@ -41,9 +41,9 @@ For **Java 8** compatible version take a look at release [0.7.0](https://github.
41
41
42
42
### Spring Boot versions
43
43
44
- | Spring Boot | Min JDK | pg-index-health-test-starter |
45
- | -------------| ---------| ------------------------------- |
46
- | 2.4.x | 8 | 0.3.x — 0.4.x |
47
- | 2.5.x | 8 | 0.5.x — 0.6.x |
48
- | 2.6.x | 8 | 0.7.x |
49
- | 2.7.x | 11 | 0.8.x |
44
+ | Spring Boot | Min JDK | pg-index-health-test-starter |
45
+ | -------------| ---------| ------------------------------|
46
+ | 2.4.x | 8 | 0.3.x — 0.4.x |
47
+ | 2.5.x | 8 | 0.5.x — 0.6.x |
48
+ | 2.6.x | 8 | 0.7.x |
49
+ | 2.7.x | 11 | 0.8.x — 0.9.x |
Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ plugins {
10
10
id ' pmd'
11
11
id ' org.sonarqube' version ' 4.0.0.2929'
12
12
id ' info.solidsoft.pitest' version ' 1.9.11'
13
- id ' nebula.lint' version ' 18.0.3'
14
13
id ' net.ltgt.errorprone' version ' 3.0.1'
15
14
}
16
15
17
16
group ' io.github.mfvanek'
18
- version ' 0.9.0 '
17
+ version ' 0.9.1-SNAPSHOT '
19
18
20
19
java {
21
20
sourceCompatibility = JavaVersion . VERSION_11
@@ -72,6 +71,9 @@ publishing {
72
71
publications {
73
72
mavenJava(MavenPublication ) {
74
73
from components. java
74
+ jar. preserveFileTimestamps = false
75
+ jar. reproducibleFileOrder = true
76
+
75
77
versionMapping {
76
78
usage(' java-api' ) {
77
79
fromResolutionOf(' runtimeClasspath' )
@@ -225,12 +227,6 @@ sonarqube {
225
227
}
226
228
}
227
229
228
- gradleLint {
229
- rules = [' all-dependency' ]
230
- alwaysRun = false
231
- autoLintAfterFailure = false
232
- }
233
-
234
230
pitest {
235
231
junit5PluginVersion = ' 1.1.2'
236
232
pitestVersion = ' 1.10.4'
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ public class DatabaseStructureHealthAutoConfiguration {
65
65
@ ConditionalOnMissingBean
66
66
public PgConnection pgConnection (@ Qualifier ("dataSource" ) final DataSource dataSource ,
67
67
@ Value ("${spring.datasource.url:jdbc:postgresql://localhost:5432}" ) final String databaseUrl ) {
68
+ // TODO Try to obtain URL from dataSource.getConnection().getMetaData().getURL()
68
69
return PgConnectionImpl .of (dataSource , PgHostImpl .ofUrl (databaseUrl ));
69
70
}
70
71
You can’t perform that action at this time.
0 commit comments