Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Honor the callbackAddress in consumer control plane tests#29

Merged
ndr-brt merged 3 commits into
eclipse-dataspacetck:mainfrom
perher:fix/dsp-callbackAddress
Jun 12, 2026
Merged

Honor the callbackAddress in consumer control plane tests#29
ndr-brt merged 3 commits into
eclipse-dataspacetck:mainfrom
perher:fix/dsp-callbackAddress

Conversation

@perher

@perher perher commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Example implementation for how the dps-tck could be updated to respect the callbackAddress as discussed in #28

@perher perher force-pushed the fix/dsp-callbackAddress branch from 31a5f05 to 45cd7b5 Compare June 10, 2026 12:00
@perher perher changed the title Draft: Honor the callbackAddress in consumer control plane tests Honor the callbackAddress in consumer control plane tests Jun 10, 2026
@perher perher force-pushed the fix/dsp-callbackAddress branch from c7391bd to 1709bb8 Compare June 10, 2026 14:17

@ndr-brt ndr-brt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to speed up the review process, when you are ready for a new review, please re-request a review, so I'll get a notification.

);
var response = send(protocolUrl + "/transfers/request", requestBody, "consumerId");
return response.get("providerPid").toString();
var response = send(initialDspUrl + "/transfers/request", requestBody, "providerId");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the senderId became providerId? this is breaking the control-plane provider tests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry this was an unrelated changes that I've reverted now.

but IMHO the authorization gets really strange without it, e.g. in tests like CP_P:01-01
the TCK will first send a POST /api/dsp/2025-1/transfers/request with Authorization: {"clientId":"consumerId"} and then follow up with POST /api/dsp/2025-1/transfers/d11d5caf-e2af-45b8-a7df-11368705cf45/completion with Authorization: {"clientId":"providerId"} which really trips up validation in my control plane.

Authorization should be out of scope of the tck so I'll try to find a workaround for this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is, indeed, an EDC thing. I'll create an issue for this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#37

@perher perher requested a review from ndr-brt June 11, 2026 17:34

@ndr-brt ndr-brt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@ndr-brt ndr-brt merged commit 4452258 into eclipse-dataspacetck:main Jun 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants