Uploaded image for project: 'GeoServer'
  1. GEOS-8976

Add a purge="metadata|all" parameter to the structured coverage granules removal REST endpoint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.1
    • Component/s: REST
    • Labels:
      None

      Description

      Rigth now it's possible to remove granules from a image mosaic by specifying a filter on this part of the REST API:
      http://docs.geoserver.org/latest/en/api/#/1.0.0/structuredcoverages.yaml

      However, that simply un-registers the granules from the mosaic. Add a purge parameter to the call allowing to:

      • Remove the file metadata (purge=metadata), in particular whatever information was collected for the file (e.g., the NetCDF sidecar indexes)
      • Remove the data as well, using "purge=all", if it fell orphan (no more records in the mosaic index pointing to that file)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                aaime Andrea Aime
                Reporter:
                aaime Andrea Aime
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: