Skip to content

Commit

Permalink
fix(transfer): fixed bug related to transfer process selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Brunkow Moser committed May 13, 2024
1 parent ff45344 commit 9410383
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ public TransferRequest buildTransferRequest(Dataset dataset, String endpoint, Ne
dataDestination.setType("HttpProxy");


List<CallbackAddress> callbackAddresses = List.of(CallbackAddress.builder().transactional(false).uri(receiverEndpoint).events(List.of("transfer.process")).build());
List<CallbackAddress> callbackAddresses = List.of(CallbackAddress.builder().transactional(false).uri(receiverEndpoint).events(List.of("transfer.process.started")).build());

return new TransferRequest(
jsonUtil.toJsonNode(Map.of("odrl", "http://www.w3.org/ns/odrl/2/","@vocab", "https://w3id.org/edc/v0.0.1/ns/")),
Expand Down Expand Up @@ -1424,7 +1424,7 @@ public TransferRequest buildTransferRequest(String processId, Dtr dtr, String en

TransferRequest.DataDestination dataDestination = new TransferRequest.DataDestination();
dataDestination.setType("HttpProxy");
List<CallbackAddress> callbackAddresses = List.of(CallbackAddress.builder().transactional(false).uri(receiverEndpoint).events(List.of("transfer.process")).build());
List<CallbackAddress> callbackAddresses = List.of(CallbackAddress.builder().transactional(false).uri(receiverEndpoint).events(List.of("transfer.process.started")).build());
return new TransferRequest(
jsonUtil.toJsonNode(Map.of("odrl", "http://www.w3.org/ns/odrl/2/","@vocab", "https://w3id.org/edc/v0.0.1/ns/")),
dtr.getAssetId(),
Expand Down

0 comments on commit 9410383

Please sign in to comment.