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: access points synchronization #7380

Merged
merged 6 commits into from
May 24, 2024
Merged

Conversation

josephlomasney
Copy link
Contributor

@josephlomasney josephlomasney commented May 2, 2024

Issue

https://gravitee.atlassian.net/browse/CJ-1748
https://gravitee.atlassian.net/browse/CJ-1754

Description

Context in this epic - https://gravitee.atlassian.net/browse/CJ-1748

Gateway synchronization of access points, only synchronization in this PR, actual usage of the access points not implemented yet


📚  View the storybook of this branch here

@josephlomasney josephlomasney force-pushed the cj-1754-access-points-sync branch 2 times, most recently from e32d55c to 6d8b0b6 Compare May 2, 2024 13:53
@josephlomasney josephlomasney force-pushed the cj-1754-access-points-sync branch 3 times, most recently from b2d83fb to 56eaefe Compare May 13, 2024 07:48
@josephlomasney josephlomasney force-pushed the cj-1754-access-points-sync branch 2 times, most recently from 2ad23c9 to 0950239 Compare May 13, 2024 18:42
@josephlomasney
Copy link
Contributor Author

@guillaumelamirand Thanks for the comments, I have added a new commit where I have adapted the code to use events for deploy and undeploy instead of just looking at the repository and I've also made changes for other comments. I'm going to work on tests but if you could have a look at the changes that would be great

(to note there is some code on the repository that isn't needed anymore if keep the new event sync approach which I will then remove)

@guillaumelamirand
Copy link
Contributor

I had a look at the changes. I am quite ok with them however I think they will be a issue with the use of DELETE/CREATE event where during a small time frame api with return 404. It should be better to use a UPDATE Event to first deploy the new access point and then remove the old one on gateway side.

@josephlomasney josephlomasney force-pushed the cj-1754-access-points-sync branch 12 times, most recently from 40bd8ec to 5e86b1d Compare May 21, 2024 12:55
@josephlomasney josephlomasney force-pushed the cj-1754-access-points-sync branch 8 times, most recently from 8e6fc01 to 6648dea Compare May 22, 2024 12:02
@josephlomasney josephlomasney removed the request for review from aurelien-pacaud May 22, 2024 14:06
@josephlomasney josephlomasney marked this pull request as ready for review May 22, 2024 14:29
@josephlomasney josephlomasney requested a review from a team as a code owner May 22, 2024 14:29
@josephlomasney josephlomasney requested a review from a team May 22, 2024 14:30
@josephlomasney josephlomasney merged commit 24c34ea into master May 24, 2024
26 of 27 checks passed
@josephlomasney josephlomasney deleted the cj-1754-access-points-sync branch May 24, 2024 13:32
@josephlomasney josephlomasney restored the cj-1754-access-points-sync branch May 24, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants