Skip to content

fix: get counter party process id from first message response#3816

Merged
ndr-brt merged 4 commits intoeclipse-edc:mainfrom
Think-iT-Labs:3814-extract-correlationid-response
Feb 1, 2024
Merged

fix: get counter party process id from first message response#3816
ndr-brt merged 4 commits intoeclipse-edc:mainfrom
Think-iT-Labs:3814-extract-correlationid-response

Conversation

@ndr-brt
Copy link
Copy Markdown
Member

@ndr-brt ndr-brt commented Jan 31, 2024

What this PR changes/adds

Instead of getting the counter party process id from the first message received, it can be extracted from the ACK received after the first message sent. (ref. )

Why it does that

avoid NPE

Further notes

Linked Issue(s)

Closes #3814

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added bug Something isn't working dataspace-protocol related to the dataspace protocol labels Jan 31, 2024
@ndr-brt ndr-brt requested review from jimmarino and wolf4ood January 31, 2024 14:49
Copy link
Copy Markdown
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

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

LGTM

@ndr-brt ndr-brt merged commit 64da226 into eclipse-edc:main Feb 1, 2024
@ndr-brt ndr-brt deleted the 3814-extract-correlationid-response branch February 1, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dataspace-protocol related to the dataspace protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE when consumer tries to terminate a REQUESTED negotiation

2 participants