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: Extra configuration for HttpDataSink #1480 #1510

Merged
merged 20 commits into from
Jun 27, 2022

Conversation

lucian-torje-siemens
Copy link
Contributor

@lucian-torje-siemens lucian-torje-siemens commented Jun 22, 2022

What this PR changes/adds

Adds support for changing:

  • http verb used
  • additional headers
  • number of sink partitions

Why it does that

In order to achieve compatibility with AWS S3, Azure Blob and ALI Object Storage presigned upload URLs

Further notes

Dataplane Http Extension

Linked Issue(s)

Closes #1480

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • added relevant details to the changelog? (skip with label no-changelog)
  • formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Related

catenax-ng pull request

Notify list

@sn0wcat
@kbData
@ndr-brt

@lucian-torje-siemens lucian-torje-siemens marked this pull request as draft June 22, 2022 03:29
@lucian-torje-siemens lucian-torje-siemens marked this pull request as ready for review June 22, 2022 03:41
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2022

Codecov Report

Merging #1510 (437d58f) into main (147ae2f) will increase coverage by 0.28%.
The diff coverage is 86.11%.

@@            Coverage Diff             @@
##             main    #1510      +/-   ##
==========================================
+ Coverage   67.32%   67.61%   +0.28%     
==========================================
  Files         725      735      +10     
  Lines       16120    16228     +108     
  Branches     1054     1060       +6     
==========================================
+ Hits        10853    10972     +119     
+ Misses       4785     4772      -13     
- Partials      482      484       +2     
Impacted Files Coverage Δ
...nnector/dataplane/http/DataPlaneHttpExtension.java 0.00% <0.00%> (ø)
...onnector/dataplane/http/pipeline/HttpDataSink.java 76.74% <83.33%> (-2.67%) ⬇️
...r/dataplane/http/pipeline/HttpDataSinkFactory.java 100.00% <100.00%> (ø)
.../dataplane/http/pipeline/StreamingRequestBody.java 100.00% <100.00%> (+14.28%) ⬆️
...taspaceconnector/spi/types/domain/DataAddress.java 87.09% <100.00%> (+1.38%) ⬆️
...aceconnector/spi/types/domain/HttpDataAddress.java 95.65% <100.00%> (+95.65%) ⬆️
...econnector/sql/translation/TranslationMapping.java 57.14% <0.00%> (-9.53%) ⬇️
...actdefinition/InMemoryContractDefinitionStore.java 78.57% <0.00%> (-3.79%) ⬇️
...anagement/policy/PolicyDefinitionApiExtension.java 100.00% <0.00%> (ø)
... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 147ae2f...437d58f. Read the comment docs.

@lucian-torje-siemens lucian-torje-siemens marked this pull request as draft June 22, 2022 06:43
@ndr-brt ndr-brt self-requested a review June 22, 2022 06:56
@lucian-torje-siemens lucian-torje-siemens marked this pull request as ready for review June 22, 2022 08:25
@ndr-brt
Copy link
Member

ndr-brt commented Jun 22, 2022

You need to sign the Eclipse Contributor Agreement as well

Copy link
Member

@ndr-brt ndr-brt left a comment

Choose a reason for hiding this comment

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

great, from my side we are almost ready


@Test
void verifyGetProperties() {
HttpDataAddress dataAddress = HttpDataAddress.Builder.newInstance()
Copy link
Contributor

Choose a reason for hiding this comment

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

var dataAddress = ...

@bscholtes1A bscholtes1A merged commit 3019817 into eclipse-edc:main Jun 27, 2022
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.

Extra configuration for HttpDataSink
5 participants