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: Backport Add Persistence for DataplaneSelector. #1498

Conversation

bmg13
Copy link
Contributor

@bmg13 bmg13 commented Aug 13, 2024

WHAT

This PR backports the added DataPlane instance selector logic to the v0.7.4.

WHY

To avoid the dataplane registry only in one ControlPlane in memory, this change enables the storage of DataPlane's availability in the bd. So, there should be enabled SQL persistence for data-plane-selector in backported 0.7.4 version.

FURTHER NOTES

Logic here is partially extracted from #1475 PR

Closes #1497

Copy link
Contributor

This pull request is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Aug 21, 2024
@rafaelmag110 rafaelmag110 force-pushed the feature/Backport_Add_Persistence_for_dataplaneselector branch from 9af5c40 to 33e6360 Compare August 21, 2024 15:30
@github-actions github-actions bot removed the stale label Aug 22, 2024
@bmg13
Copy link
Contributor Author

bmg13 commented Aug 22, 2024

The data-plane-self-registration was added due to the need of including the dataplane unregister here and this change is not included in the 0.7.2 EDC version. This change was done in 5c58554.

@bmg13
Copy link
Contributor Author

bmg13 commented Aug 22, 2024

@paullatzelsperger @wolf4ood can you please review? 🙇

@@ -0,0 +1,20 @@
#################################################################################
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)

Copy link
Contributor Author

@bmg13 bmg13 Aug 22, 2024

Choose a reason for hiding this comment

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

Nice catch, thank you! Changed in 040a502

bmg13 and others added 2 commits August 22, 2024 12:06
Co-authored-by: Enrico Risa <enrico.risa@gmail.com>
Copy link

sonarcloud bot commented Aug 22, 2024

@rafaelmag110
Copy link
Contributor

@wolf4ood can you rerun the failing job?

@bmg13
Copy link
Contributor Author

bmg13 commented Aug 22, 2024

@wolf4ood can this be merged, please?

@wolf4ood wolf4ood merged commit c4bc7a6 into eclipse-tractusx:bugfix/0.7.4 Aug 22, 2024
30 checks passed
@wolf4ood
Copy link
Contributor

@bmg13 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants