Elffuss BraidHub

kikocis/EDC public

Branch: main
cc2a9ff178c4 fix: return StsClient from create() (#4479) Paul Latzelsperger,
..
src/
README.md1.6 KiB
build.gradle.kts974 B

README.md

Http Dynamic EDR receiver

This extension is similar to the HTTP EDR receiver. The difference is that the URL is not configured at startup time, but instead the callback url is provided to the consumer connector when initiating a transfer request by passing a custom property in the transfer request payload e.g. The URL will be stored in the transfer process and will be used by the consumer connector to dispatch the EDR

{
  "@context": {
    "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
  },
  "@type": "TransferRequest",
  "protocol": "dataspace-protocol-http",
  "assetId": "test-document",
  "contractId": "1:8147d6d6-9734-4821-b93d-2832ea7892e4",
  "dataDestination": {
    "@type": "DataAddress",
    "type": "HttpProxy"
  },
  "counterPartyAddress": "http://localhost:8282/api/v1/ids/data",
  "connectorId": "consumer",
  "privateProperties": {
    "receiverHttpEndpoint" : "http://localhost:9999"
  }
}

Configuration

Parameter nameDescriptionMandatoryDefault value
edc.receiver.http.dynamic.endpointThe fallbacke endpoint when the URL is missing from the TP.falsenull
edc.receiver.http.dynamic.auth-keyThe header name that will be sent with the EDR request.falsenull
edc.receiver.http.dynamic.auth-codeThe header value that will be sent with the EDR request.falsenull