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

refactor: adapt CN states names to the DSP specification #2678

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Apr 4, 2023

What this PR changes/adds

Rename states and related methods as done in International-Data-Spaces-Association/ids-specification#71

Why it does that

being aligned with DSP specification

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #2659

Checklist

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

@ndr-brt ndr-brt added refactoring Cleaning up code and dependencies dataspace-protocol related to the dataspace protocol labels Apr 4, 2023
@ndr-brt ndr-brt requested a review from jimmarino April 4, 2023 13:00
@ndr-brt ndr-brt temporarily deployed to Azure-dev April 4, 2023 13:01 — with GitHub Actions Inactive
@ndr-brt ndr-brt temporarily deployed to Azure-dev April 4, 2023 13:01 — with GitHub Actions Inactive
@@ -39,7 +39,7 @@
/**
* The negotiation has been agreed by the provider.
*/
StatusResult<ContractNegotiation> providerAgreed(ClaimToken token, String negotiationId, ContractAgreement agreement, Policy policy);
StatusResult<ContractNegotiation> agreed(ClaimToken token, String negotiationId, ContractAgreement agreement, Policy policy);

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'policy' is never used.
@ndr-brt ndr-brt force-pushed the 2659-rename-cn-states branch from e63fad7 to 18b2db3 Compare April 4, 2023 13:21
@ndr-brt ndr-brt temporarily deployed to Azure-dev April 4, 2023 13:22 — with GitHub Actions Inactive
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 54.45% and project coverage change: -0.01 ⚠️

Comparison is base (c1bb923) 64.57% compared to head (18b2db3) 64.57%.

📣 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    #2678      +/-   ##
==========================================
- Coverage   64.57%   64.57%   -0.01%     
==========================================
  Files         920      920              
  Lines       18896    18894       -2     
  Branches     1146     1146              
==========================================
- Hits        12202    12200       -2     
  Misses       6245     6245              
  Partials      449      449              
Impacted Files Coverage Δ
...act/listener/ContractNegotiationEventListener.java 6.66% <0.00%> (ø)
...contractnegotiation/ContractNegotiationAgreed.java 0.00% <0.00%> (ø)
...tractnegotiation/ContractNegotiationConfirmed.java 100.00% <ø> (ø)
...tractnegotiation/ContractNegotiationFinalized.java 0.00% <0.00%> (ø)
...ntractnegotiation/ContractNegotiationVerified.java 0.00% <0.00%> (ø)
...gotiation/observe/ContractNegotiationListener.java 0.00% <ø> (ø)
...act/spi/types/negotiation/ContractNegotiation.java 0.00% <0.00%> (ø)
...i/types/negotiation/ContractNegotiationStates.java 0.00% <0.00%> (ø)
...egotiation/AbstractContractNegotiationManager.java 100.00% <100.00%> (ø)
...iation/ConsumerContractNegotiationManagerImpl.java 92.76% <100.00%> (-0.05%) ⬇️
... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndr-brt ndr-brt merged commit fd0ee52 into eclipse-edc:main Apr 4, 2023
@ndr-brt ndr-brt deleted the 2659-rename-cn-states branch April 4, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataspace-protocol related to the dataspace protocol refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dataspace-protocol: update Contract Negotiation states
3 participants