Skip to content

docs: Add instructions for using Spring Boot prior to version 2.7#674

Merged
bednar merged 2 commits intoinfluxdata:masterfrom
shengbinxu:master
Jan 29, 2024
Merged

docs: Add instructions for using Spring Boot prior to version 2.7#674
bednar merged 2 commits intoinfluxdata:masterfrom
shengbinxu:master

Conversation

@shengbinxu
Copy link
Copy Markdown
Contributor

@shengbinxu shengbinxu commented Jan 28, 2024

Closes #

Proposed Changes

  1. When I introduced the influxdb-spring dependency into my Spring Boot 2.3 project, auto-configuration did not take effect, requiring additional code to be added. As a result, I updated the readme to provide instructions.

  2. In the Maven repository influxdb-spring, the dependency for micrometer-registry-influx has already been added. Consequently, developers using influxdb-spring no longer need to manually import the micrometer-registry-influx dependency. Due to package conflicts, the spring-boot-actuator may have relied on an earlier version of the micrometer-core. Therefore, it is necessary to specify a higher version here.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • mvn test completes successfully
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 28, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.35%. Comparing base (9b41ea5) to head (d86e248).
⚠️ Report is 170 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #674   +/-   ##
=========================================
  Coverage     88.35%   88.35%           
+ Complexity      779      777    -2     
=========================================
  Files           173      173           
  Lines          7078     7078           
  Branches        393      393           
=========================================
  Hits           6254     6254           
  Misses          699      699           
  Partials        125      125           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bednar bednar changed the title Add instructions for using Spring Boot prior to version 2.7 docs: Add instructions for using Spring Boot prior to version 2.7 Jan 29, 2024
Copy link
Copy Markdown
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shengbinxu thanks for your PR!

LGTM 🚀

Just for your information, PR #673 in the influxdb-client-java repository introduces support for Spring Boot 3. Consequently, the newest version of the client will no longer be compatible with Spring Boot 2.x.

@bednar bednar merged commit 50e1142 into influxdata:master Jan 29, 2024
@bednar bednar added this to the 7.0.0 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants