Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<developerConnection>scm:git:ssh://github.com/DANS-KNAW/${project.artifactId}</developerConnection>
<tag>HEAD</tag>
</scm>

<properties>
<dans-dataverse-client-lib.version>1.6.0</dans-dataverse-client-lib.version>
</properties>

<dependencies>
<dependency>
<groupId>info.picocli</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public class DataverseClientFactory {
private int awaitIndexingMaxNumberOfRetries = 15;
private int awaitIndexingMillisecondsBetweenRetries = 1000;
private HttpClientConfiguration httpClient = null;
private String databaseUrl;
private String databaseUser;
private String databasePassword;

public DataverseClient build() {
return build(null, null, null);
Expand Down Expand Up @@ -75,7 +78,12 @@ public DataverseClient build(Environment environment, String name, String overri
awaitLockStateMillisecondsBetweenRetries,
awaitIndexingMaxNumberOfRetries,
awaitIndexingMillisecondsBetweenRetries,
unblockKey);
unblockKey,
databaseUrl,
databaseUser,
databasePassword);



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.
ObjectMapper objectMapper = environment == null ? new ObjectMapper() : environment.getObjectMapper();
if (httpClient == null) {
Expand Down
Loading