-
Notifications
You must be signed in to change notification settings - Fork 79
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
Spawn reload and reset actions to all pods #528
base: main
Are you sure you want to change the base?
Conversation
ea41da3
to
ee17fdd
Compare
7ed8cff
to
692252d
Compare
@vuilleumierc @danduk82 We rebased against the main branch and it seems that the acceptance tests fail for some reason. But to me it looks this is not related to the changes in our branch, right? |
Hi @buehner, I think you're right, it's not linked to your change. We will look at this Friday or next week, in the meantime feel free to ignore these two tests. It seems the GetTile URL is wrong ( |
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.
Hey this is looking good. I'm asking for a couple changes in the comments.
Additionally, please make sure to:
- squash all the commits into a single one, with a meaningful title and an abstract explaining the changes.
- check out for new issues introduced by the pull request as reported by SonarLint. You'll have to wait for the "SonarCloud QA" build job to finish.
It currently reports 6 new issues:
...ud/autoconfigure/catalog/backend/core/RemoteEventResourcePoolCleanupUpAutoConfiguration.java
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
...utoconfigure/catalog/backend/core/RemoteEventResourcePoolCleanupUpAutoConfigurationTest.java
Show resolved
Hide resolved
src/catalog/event-bus/src/test/java/org/geoserver/cloud/event/bus/BusEventCollector.java
Outdated
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/geoserver/cloud/config/catalog/events/GeoServerLifecycleEventPublisher.java
Show resolved
Hide resolved
...ain/java/org/geoserver/cloud/event/remote/resourcepool/RemoteEventResourcePoolProcessor.java
Outdated
Show resolved
Hide resolved
oh, btw, @buehner @dnlkoch, given this contribution is more than a couple lines, we need to make sure you've signed the GeoServer contribution agreement, either individually or covered by your company's CLA. Please check https://docs.geoserver.org/main/en/developer/policies/committing.html and the CONTRIBUTING.md file for instructions if not yet covered by a CLA. |
Regarding the failing tests, they now pass on |
Thanks for the feedback. We will continue on this soon |
CCLA sent just now to OSGeo, relevant people of the PR were in CC |
Thanks @marcjansen , that's great. |
i think this week it will be rather difficult to find time to work on this, but on monday we should definitely have time for it |
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.
@dnlkoch @buehner thanks a lot for addressing all the code reviews.
In my opinion, the only thing missing is to squash all 22 commits into a single one and provide a good title and description.
Sorry I'm picky about it, but having a bunch of commits with small comments for what's rather a single functionality is detrimental for the final log. Don't get me wrong, I do it all the time, and worse, I commit with just "tmp" or "WIP" comments, but once it's done I'd rather have a single or a couple of commits with sensible descriptions.
Other than that, congrats on the great work
e755881
to
1c8576f
Compare
Co-authored-by: Nils Bühner <[email protected]>
1c8576f
to
c771159
Compare
@groldan You're absolutely right! Having all of those interim commits contained in the history is surely not needed. Fixed it right now and thanks again for your valuable review! |
This suggests to emit the newly introduced
LifecycleEvent
events on reset (ResetEvent
) and reload (ReloadEvent
) respectively. Connected services will receive this events to actually reload and/or reset their catalog and configuration.See #518.