Gabriel Roldan (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
) / Improvement (
https://osgeo-org.atlassian.net/browse/GEOS-10561?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
) GEOS-10561 (
https://osgeo-org.atlassian.net/browse/GEOS-10561?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
) CatalogImpl.save(StoreInfo) business rule to handle ResourceInfo.namespace (
https://osgeo-org.atlassian.net/browse/GEOS-10561?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
)
Issue Type: Improvement Assignee: Gabriel Roldan (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
) Created: 26/Jun/22 11:11 PM Priority: Medium Reporter: Gabriel Roldan (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee
)
CoverageStoreEditPage and DataStoreEditPage duplicate code
for a poor job trying to maintain the consistency between a
StoreInfo workspaces and its children ResourceInfo namespace
properties.
Going through, and saving all the StoreInfo 's resources disregarding
whether the store has been assigned a different workspace doesn't only
waste resources and slows down the update store operations in both
web and rest, but produce as many update events as resources in the
store, which are no-ops, but can trigger unnecessary side effects
from catalog listeners.
Keeping the resources namespace in sync with their store's workspace
is clearly a Catalog business rule instead.
Remove the duplicate eager resource update code from CoverageStore
and DataStore edit pages, and implement the consistency enforcement
as a Catalog.save(StoreInfo) business rule, avoiding going through
the list of child resources if not needed, and ensuring the operation
is rolled back with counter-actions if anything fails.
(
https://osgeo-org.atlassian.net/browse/GEOS-10561#add-comment?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10561#add-comment?atlOrigin=eyJpIjoiNzY4YjhhYzQ4MzY2NGQ5YjhiYzY1YWQwOTYzMGVmYjkiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201-
sha1:00501c8 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel