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: add state machine to DataPlaneManager #3420

Merged
merged 3 commits into from Sep 13, 2023

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Sep 6, 2023

What this PR changes/adds

Make DataPlaneManager work with StateMachineManager.
This PR is quite big, but it's mostly adaptation to an already used pattern (like in TransferProcessManager)

Why it does that

Better state handling for data-plane

Further notes

  • inlined the data-plane-framework module as it was only used by data-plane-core

Linked Issue(s)

Closes #3401

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added the refactoring Cleaning up code and dependencies label Sep 6, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2023

Codecov Report

Patch coverage: 72.45% and project coverage change: -0.25% ⚠️

Comparison is base (ff45de0) 72.21% compared to head (82bca8a) 71.96%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3420      +/-   ##
==========================================
- Coverage   72.21%   71.96%   -0.25%     
==========================================
  Files         835      837       +2     
  Lines       16838    17012     +174     
  Branches      953      948       -5     
==========================================
+ Hits        12159    12243      +84     
- Misses       4271     4364      +93     
+ Partials      408      405       -3     
Files Changed Coverage Δ
.../core/store/CriterionToPredicateConverterImpl.java 91.48% <ø> (ø)
...nector/core/store/InMemoryStatefulEntityStore.java 0.00% <ø> (ø)
...ector/core/store/ReflectionBasedQueryResolver.java 84.00% <ø> (ø)
.../asset/CriterionToAssetPredicateConverterImpl.java 75.00% <ø> (ø)
...actdefinition/InMemoryContractDefinitionStore.java 100.00% <ø> (ø)
...tnegotiation/InMemoryContractNegotiationStore.java 90.90% <ø> (ø)
...olicydefinition/InMemoryPolicyDefinitionStore.java 75.75% <ø> (ø)
.../transferprocess/InMemoryTransferProcessStore.java 89.47% <ø> (ø)
.../edc/connector/transfer/TransferCoreExtension.java 0.00% <0.00%> (ø)
...e/framework/DataPlaneDefaultServicesExtension.java 0.00% <0.00%> (ø)
... and 26 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ndr-brt ndr-brt force-pushed the 3401-dataplane-state-machine branch 5 times, most recently from 8891f15 to 50f45f5 Compare September 12, 2023 07:23
Copy link
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

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

🚀

@ndr-brt ndr-brt merged commit f467cff into eclipse-edc:main Sep 13, 2023
18 checks passed
@ndr-brt ndr-brt deleted the 3401-dataplane-state-machine branch September 13, 2023 10:05
ndkrimbacher pushed a commit to nexyo-io/DataSpaceConnector that referenced this pull request Oct 4, 2023
* feat: add state machine to DataPlaneManager

* Trigger build

* create databases before tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

improve DataPlaneManager state machine
4 participants