Elffuss BraidHub

kikocis/EDC public

main · 1.6 KiBSourceRawPermalink

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