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

fix: remove private backend service #176

Merged
merged 2 commits into from
Apr 4, 2023
Merged

fix: remove private backend service #176

merged 2 commits into from
Apr 4, 2023

Conversation

paullatzelsperger
Copy link
Contributor

@paullatzelsperger paullatzelsperger commented Apr 1, 2023

WHAT

This PR removes the private service image, that was used until now, from the business-test helm charts. In the business tests it was replaced with a Mock.

It also replaces/amends the corresponding Cucumber test with an equivalent JVM-based test.

WHY

We should not have code in an Eclipse project, that is not covered by either Eclipse, or an appropriate license, or that we have no control over.

Also, the corresponding Cucumber test (HttpProxyTransferSteps) didn't really test anything of value, so going forward, all test maintenance must happen in the HttpConsumerPullWithProxyTest.

Note: a similar test already exists in upstream EDC, but was replicated here for the sake of not losing test coverage.

FURTHER NOTES

This new test verifies, that access to a private backend can be granted through the data plane's HTTP proxy feature, where the consumer pulls the data.

Specifically:

  • two connectors, sokrates (consumer) and plato (provider)
  • plato offers data through an asset, which is a private backend (simulated by mockwebserver)
  • sokrates requests access to that asset
  • the test executes contract negotiation, data transfer and the request chain through both data planes to extract the data.

@paullatzelsperger paullatzelsperger changed the title Feature: remove private backend service fix: remove private backend service Apr 1, 2023
@paullatzelsperger paullatzelsperger marked this pull request as ready for review April 2, 2023 15:11
moved consumer EDR controller to runtime module
Copy link
Member

@stephanbcbauer stephanbcbauer left a comment

Choose a reason for hiding this comment

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

LGTM @SebastianBezold could you please merge this PR? Thx

@SebastianBezold SebastianBezold merged commit 4408f2a into eclipse-tractusx:develop Apr 4, 2023
@paullatzelsperger paullatzelsperger deleted the feature/remove_private_backendservice branch April 11, 2023 05:34
paullatzelsperger pushed a commit to paullatzelsperger/tractusx-edc that referenced this pull request May 4, 2023
…e/remove_private_backendservice

fix: remove private backend service
paullatzelsperger pushed a commit that referenced this pull request May 4, 2023
…_backendservice

fix: remove private backend service
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.

4 participants