-
Notifications
You must be signed in to change notification settings - Fork 240
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: add dataAddress, code and reason fields to Transfer-Process-Transformer #2812
feat: add dataAddress, code and reason fields to Transfer-Process-Transformer #2812
Conversation
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #2812 +/- ##
==========================================
+ Coverage 65.95% 65.98% +0.02%
==========================================
Files 982 1008 +26
Lines 19847 20384 +537
Branches 1169 1199 +30
==========================================
+ Hits 13090 13450 +360
- Misses 6288 6432 +144
- Partials 469 502 +33
☔ View full report in Codecov by Sentry. |
25c4d85
to
6e29d95
Compare
…DataAddressTransformer.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small changes
...ansferprocess/transformer/type/from/JsonObjectFromTransferTerminationMessageTransformer.java
Outdated
Show resolved
Hide resolved
...col/dsp/transferprocess/transformer/type/to/JsonObjectToTransferStartMessageTransformer.java
Outdated
Show resolved
Hide resolved
...p/transferprocess/transformer/type/to/JsonObjectToTransferTerminationMessageTransformer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor thing in a test, good to go otherwise
...ocol/dsp/transferprocess/transformer/to/JsonObjectToTransferStartMessageTransformerTest.java
Outdated
Show resolved
Hide resolved
...ocol/dsp/transferprocess/transformer/to/JsonObjectToTransferStartMessageTransformerTest.java
Outdated
Show resolved
Hide resolved
...ocol/dsp/transferprocess/transformer/to/JsonObjectToTransferStartMessageTransformerTest.java
Outdated
Show resolved
Hide resolved
...sp/transferprocess/transformer/to/JsonObjectToTransferTerminationMessageTransformerTest.java
Show resolved
Hide resolved
…nsformer (eclipse-edc#2812) * chore(dsp-transfer-process-transform): add code and reason field to transformer * chore(dsp-transfer-process-transform): add data Address to TransferTermination[to|from]Transformer * chore(dsp-transfer-process-transform): fix unit Test Bug * chore(dsp-transfer-process-transform): remove duplicated JsonObjectToDataAddressTransformer.java * chore(dsp-transfer-process-transform): refactor if clauses * chore(dsp-transfer-process-transform): refactor tests * chore(dsp-transfer-process-transform): refactor tests
…nsformer (eclipse-edc#2812) * chore(dsp-transfer-process-transform): add code and reason field to transformer * chore(dsp-transfer-process-transform): add data Address to TransferTermination[to|from]Transformer * chore(dsp-transfer-process-transform): fix unit Test Bug * chore(dsp-transfer-process-transform): remove duplicated JsonObjectToDataAddressTransformer.java * chore(dsp-transfer-process-transform): refactor if clauses * chore(dsp-transfer-process-transform): refactor tests * chore(dsp-transfer-process-transform): refactor tests
What this PR changes/adds
Add transformation of DataAddress field to JsonObject[to|from]TransferStartMessageTransformer.
Add transformation of code, reason field to JsonObject[to|from]TransferTermiantionMessagerTransformer.
Why it does that
Support dataspace-protocol.
Further notes
TransferTerminationMessage.Builder needs to add an Nullkcheck for code field, after a error code list exist.
Created Issue #2810.
Linked Issue(s)
Closes #2806
Checklist
no-changelog
)