Skip to content

Conversation

@janvanmansum
Copy link
Contributor

@janvanmansum janvanmansum commented Feb 2, 2026

NO JIRA.

Description of changes

This PR adds database configuration support to the DataverseClientFactory to enable database connectivity features for the dd-dv-cli tool.

Notify

@DANS-KNAW/core-systems

@janvanmansum janvanmansum requested a review from Copilot February 2, 2026 15:13
@janvanmansum janvanmansum marked this pull request as ready for review February 2, 2026 15:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds database configuration support to the DataverseClientFactory to enable database connectivity features for the dd-dv-cli tool.

Changes:

  • Added database connection parameters (URL, username, password) to DataverseClientFactory
  • Updated Maven POM to define dans-dataverse-client-lib version property

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/main/java/nl/knaw/dans/lib/util/DataverseClientFactory.java Added three database configuration fields and passed them to the client builder
pom.xml Introduced version property for dans-dataverse-client-lib dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +86 to 87


Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

Remove extra blank lines to maintain consistent code formatting.

Suggested change

Copilot uses AI. Check for mistakes.
@janvanmansum janvanmansum merged commit bcc13d0 into DANS-KNAW:master Feb 2, 2026
3 checks passed
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.11%. Comparing base (eb2e6e9) to head (5b3ab2d).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #31   +/-   ##
=========================================
  Coverage     47.11%   47.11%           
  Complexity      101      101           
=========================================
  Files            29       29           
  Lines           728      728           
  Branches         82       82           
=========================================
  Hits            343      343           
  Misses          350      350           
  Partials         35       35           

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

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.

1 participant