-
Notifications
You must be signed in to change notification settings - Fork 131
Adapt influxdb-spring to Spring Boot 4 actuator package refactoring #850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,12 +26,11 @@ | |
| <parent> | ||
| <artifactId>influxdb-client</artifactId> | ||
| <groupId>com.influxdb</groupId> | ||
| <version>7.6.0-SNAPSHOT</version> | ||
| <version>8.0.0-SNAPSHOT</version> | ||
| </parent> | ||
| <modelVersion>4.0.0</modelVersion> | ||
|
|
||
| <artifactId>influxdb-spring</artifactId> | ||
| <version>7.6.0-SNAPSHOT</version> | ||
| <packaging>jar</packaging> | ||
|
|
||
| <name>Spring Integration for InfluxDB 2.x</name> | ||
|
|
@@ -73,7 +72,7 @@ | |
|
|
||
| <properties> | ||
| <micrometer.version>1.15.2</micrometer.version> | ||
| <spring-boot.version>3.5.5</spring-boot.version> | ||
| <spring-boot.version>4.0.1</spring-boot.version> | ||
| <spring.version>6.1.3</spring.version> | ||
| </properties> | ||
|
|
||
|
|
@@ -121,15 +120,16 @@ | |
|
|
||
| <dependency> | ||
| <groupId>org.springframework.boot</groupId> | ||
| <artifactId>spring-boot-actuator-autoconfigure</artifactId> | ||
| <artifactId>spring-boot-autoconfigure</artifactId> | ||
| <version>${spring-boot.version}</version> | ||
| <optional>true</optional> | ||
| </dependency> | ||
|
Comment on lines
121
to
+126
|
||
|
|
||
| <dependency> | ||
| <groupId>org.springframework.boot</groupId> | ||
| <artifactId>spring-boot-health</artifactId> | ||
| <version>${spring-boot.version}</version> | ||
| <optional>true</optional> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-databind</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
Comment on lines
+128
to
133
|
||
|
|
||
| <dependency> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,9 +23,9 @@ | |
|
|
||
| import com.influxdb.client.InfluxDBClient; | ||
|
|
||
| import org.springframework.boot.actuate.health.AbstractHealthIndicator; | ||
| import org.springframework.boot.actuate.health.Health; | ||
| import org.springframework.boot.actuate.health.HealthIndicator; | ||
| import org.springframework.boot.health.contributor.AbstractHealthIndicator; | ||
| import org.springframework.boot.health.contributor.Health; | ||
| import org.springframework.boot.health.contributor.HealthIndicator; | ||
|
Comment on lines
+26
to
+28
|
||
| import org.springframework.util.Assert; | ||
|
|
||
| /** | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spring-boot.versionis bumped to 4.0.1, so this module is now pinned to Spring Boot 4.x and will not build against Spring Boot 3.x without additional compatibility work. This contradicts the PR description’s claim that earlier Spring Boot versions are unaffected; please either implement a dual-compat strategy (profiles/separate artifact) or update the PR description/release notes to reflect the breaking change.