Skip to content

Conversation

@karel-rehor
Copy link
Contributor

Proposed Changes

Adds a basic example of integrating the client with a Spring based project.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate n.a.
  • Tests pass n.a.
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.48%. Comparing base (6cf278f) to head (ad2cc94).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage   87.48%   87.48%           
=======================================
  Files          20       20           
  Lines        1262     1262           
  Branches      204      204           
=======================================
  Hits         1104     1104           
  Misses         74       74           
  Partials       84       84           

☔ 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.

Copy link
Member

@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.

Thanks for your PR, please update examples/README.md with description about new example.


<groupId>com.influxdb.v3.spring</groupId>
<artifactId>spring-example</artifactId>
<version>1.0-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

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

Please add same version as is in the client


private Application() { }

static Logger logger = LoggerFactory.getLogger(Application.class);
Copy link
Member

Choose a reason for hiding this comment

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

Use Lombok annotation for loggers:

@log

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