Replace cascaded WMS and WMTS layer update method of DELETE + POST to single PUT - #216
Merged
Merged
Conversation
domfre
marked this pull request as ready for review
September 11, 2026 06:58
Contributor
Author
|
Hello Gabriel, since the upgrade of the gs cloud images (due to the security patch) to version 2.28.5.0 in the babs_sdi project we are encountering gwc issues. When we reinitalize the gs cloud instance, some layers get deleted in the gwc and some remain. The problem seems to be related to gwc events getting triggered due to the DELETE + POST mechanism in the |
domfre
force-pushed
the
GSBAB-363-Incomplete-GWC-after-reinitialization
branch
from
September 23, 2026 07:21
9bad817 to
506b183
Compare
… single PUT Publishing a cascaded WMS or WMTS layer that already existed deleted it with recurse and created it again. The new layer took a new id, left its tile layer and every tile cached under it behind, discarded settings absent from the payload, and failed outright for a layer referenced by a layer group. Publish a cascaded WMS or WMTS layer that already exists in place, keeping its id, its tile layer with the tiles cached under it, and the settings absent from the payload.
groldan
force-pushed
the
GSBAB-363-Incomplete-GWC-after-reinitialization
branch
from
September 23, 2026 22:22
506b183 to
0083670
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR replaces the DELETE + POST mechanism by a PUT in the
create_wmts_layermethod of therestservice.py