Skip to content

Commit

Permalink
feat(impl):[#341] fix property name, fix readme description, move def…
Browse files Browse the repository at this point in the history
…ault to config
  • Loading branch information
ds-ext-kmassalski committed Mar 20, 2024
1 parent 42b0abd commit 3d957b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion irs-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ resilience4j:
baseConfig: default

irs-edc-client:
callback-url: ${EDC_TRANSFER_CALLBACK_URL:} # The URL where the EDR token callback will be sent to.
callback-url: ${EDC_TRANSFER_CALLBACK_URL:/internal/endpoint-data-reference} # The URL where the EDR token callback will be sent to.
asyncTimeout: PT10M # Timout for future.get requests as ISO 8601 Duration
controlplane:
request-ttl: ${EDC_CONTROLPLANE_REQUEST_TTL:PT10M} # How long to wait for an async EDC negotiation request to finish, ISO 8601 Duration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/
@Slf4j
@RestController("irsEdcClientEdcCallbackController")
@RequestMapping("${irs-edc-client.callback.mapping:internal/endpoint-data-reference}")
@RequestMapping("/${irs-edc-client.callback-url}")
@Hidden
@RequiredArgsConstructor
public class EdcCallbackController {
Expand Down
2 changes: 1 addition & 1 deletion irs-registry-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ digitalTwinRegistryClient:
lookupShellsTemplate: /lookup/shells?assetIds={assetIds} # The path to lookup shells from the DTR. Required if type is "decentral", must contain the placeholder {assetIds}

irs-edc-client:
callback-url: "" # The URL where the EDR token callback will be sent to. This defaults to {BASE_URL}/internal/endpoint-data-reference. If you want to use a different mapping, you can override it with irs-edc-client.callback.mapping.
callback-url: "" # The URL where the EDR token callback will be sent to. This defaults to {BASE_URL}/internal/endpoint-data-reference.
asyncTimeout: PT10M # Timout for future.get requests as ISO 8601 Duration
controlplane:
request-ttl: PT10M # How long to wait for an async EDC negotiation request to finish, ISO 8601 Duration
Expand Down

0 comments on commit 3d957b9

Please sign in to comment.