Skip to content

Commit

Permalink
Merge pull request #81 from carlos-schmidt/fix/client-not-reading-config
Browse files Browse the repository at this point in the history
Fix: client not reading config
  • Loading branch information
carlos-schmidt authored Jan 14, 2024
2 parents 7ecdc2a + 6bcebdc commit c6ed250
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class ClientExtension implements ServiceExtension {
@Override
public void initialize(ServiceExtensionContext context) {
var monitor = context.getMonitor();
var config = context.getConfig();
var config = context.getConfig("edc.client");

var policyController = new PolicyController(monitor, catalogService, transformer, config);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private String waitForData(CompletableFuture<String> dataFuture, String agreemen
return data;
} catch (TimeoutException transferTimeoutExceededException) {
dataTransferObservable.unregister(agreementId);
throw new EdcException(format("Waiting for an transfer failed for agreementId: %s", agreementId),
throw new EdcException(format("Waiting for a transfer failed for agreementId: %s", agreementId),
transferTimeoutExceededException);
}
}
Expand Down
1 change: 0 additions & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ dependencies {
implementation("$group:data-plane-client:$edcVersion")
implementation("$group:data-plane-selector-client:$edcVersion")
implementation("$group:data-plane-selector-core:$edcVersion")
implementation("$group:data-plane-selector-api:$edcVersion")
implementation("$group:transfer-data-plane:$edcVersion")

}
Expand Down

0 comments on commit c6ed250

Please sign in to comment.