Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/395 edc client handle multiple dt rs and d ts #462

Conversation

dsmf
Copy link
Contributor

@dsmf dsmf commented Mar 1, 2024

Description

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

Partial implementation started in context of #214 before story was split up. This commit is just meant to back up the work. It is neither complete nor does it work yet and it still contains compile errors.
this code place is not related to this story
edcRestTemplate is correct here, because we communicate with a DTR via an EDC
- better variable/parameter naming
- split up stream expression into multiple lines
- add helpful code comments to each part
- reference special scenario diagram
And remove test concerning InterruptedException which is no longer relevant in this place.
by accessing EndpointDataReferenceStorage via EndpointDataReferenceCacheService only
Already removed dependency to EndpointDataReferenceStorage in previous commits. In order to reduce more imports more refactoring would be required which is far beyond the scope of the current story.
…andle-multiple-DTRs-and-DTs

# Conflicts:
#	CHANGELOG.md
this file had been committed accidently
…andle-multiple-DTRs-and-DTs

# Conflicts:
#	irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/delegate/RelationshipDelegate.java
@dsmf dsmf requested a review from ds-jhartmann March 1, 2024 14:38

@ParameterizedTest(name = "{0}")
@ArgumentsSource(NoOrFailedEndpointDataReferenceProvider.class)
void lookupShellIdentifiers_multipleEDCs_oneDTR(String title,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'title' is never used.

@ParameterizedTest(name = "{0}")
@ArgumentsSource(NoOrFailedEndpointDataReferenceProvider.class)
void lookupShellIdentifiers_multipleEDCs_oneDTR(String title,

Check notice

Code scanning / CodeQL

Useless parameter Note test

The parameter 'title' is never used.
Copy link
Contributor

@ds-jhartmann ds-jhartmann left a comment

Choose a reason for hiding this comment

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

LGTM

@ds-jhartmann ds-jhartmann merged commit 09c75b1 into eclipse-tractusx:main Mar 4, 2024
16 of 18 checks passed
@dsmf dsmf deleted the feat/395-EDC-client-handle-multiple-DTRs-and-DTs branch March 4, 2024 11:39
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