Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

fix: add Monitor to EdcHttpClient's arguments #66

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public class RegistrationServiceCli {
String registrationServiceUrlOverride;

RegistryApi registryApiClient;
private EdcHttpClient edcHttpClient;

public static void main(String... args) {
CommandLine commandLine = getCommandLine();
Expand Down Expand Up @@ -115,6 +114,6 @@ private EdcHttpClient httpClient() {
var retryPolicy = RetryPolicy.<Response>builder().withMaxRetries(3)
.withBackoff(Duration.ofSeconds(2), Duration.ofSeconds(5))
.build();
return new EdcHttpClientImpl(httpClient, retryPolicy);
return new EdcHttpClientImpl(httpClient, retryPolicy, new ConsoleMonitor("RegistrationService CLI", ConsoleMonitor.Level.INFO));
}
}