Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit be39850

Browse files
authored
Preparing for next iteration v0.9.1 (#51)
Co-authored-by: Ivan Vakhrushev <[email protected]>
1 parent cbbb5f9 commit be39850

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Spring Boot Starter for using [pg-index-health](https://github.com/mfvanek/pg-in
2121
## Installation
2222
Using Gradle:
2323
```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'
2525
```
2626

2727
Using Maven:
2828
```xml
2929
<dependency>
3030
<groupId>io.github.mfvanek</groupId>
3131
<artifactId>pg-index-health-test-starter</artifactId>
32-
<version>0.8.0</version>
32+
<version>0.9.0</version>
3333
<scope>test</scope>
3434
</dependency>
3535
```
@@ -41,9 +41,9 @@ For **Java 8** compatible version take a look at release [0.7.0](https://github.
4141

4242
### Spring Boot versions
4343

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 |

build.gradle

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ plugins {
1010
id 'pmd'
1111
id 'org.sonarqube' version '4.0.0.2929'
1212
id 'info.solidsoft.pitest' version '1.9.11'
13-
id 'nebula.lint' version '18.0.3'
1413
id 'net.ltgt.errorprone' version '3.0.1'
1514
}
1615

1716
group 'io.github.mfvanek'
18-
version '0.9.0'
17+
version '0.9.1-SNAPSHOT'
1918

2019
java {
2120
sourceCompatibility = JavaVersion.VERSION_11
@@ -72,6 +71,9 @@ publishing {
7271
publications {
7372
mavenJava(MavenPublication) {
7473
from components.java
74+
jar.preserveFileTimestamps = false
75+
jar.reproducibleFileOrder = true
76+
7577
versionMapping {
7678
usage('java-api') {
7779
fromResolutionOf('runtimeClasspath')
@@ -225,12 +227,6 @@ sonarqube {
225227
}
226228
}
227229

228-
gradleLint {
229-
rules = ['all-dependency']
230-
alwaysRun = false
231-
autoLintAfterFailure = false
232-
}
233-
234230
pitest {
235231
junit5PluginVersion = '1.1.2'
236232
pitestVersion = '1.10.4'

src/main/java/io/github/mfvanek/pg/spring/DatabaseStructureHealthAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public class DatabaseStructureHealthAutoConfiguration {
6565
@ConditionalOnMissingBean
6666
public PgConnection pgConnection(@Qualifier("dataSource") final DataSource dataSource,
6767
@Value("${spring.datasource.url:jdbc:postgresql://localhost:5432}") final String databaseUrl) {
68+
// TODO Try to obtain URL from dataSource.getConnection().getMetaData().getURL()
6869
return PgConnectionImpl.of(dataSource, PgHostImpl.ofUrl(databaseUrl));
6970
}
7071

0 commit comments

Comments
 (0)