A "deleteLayerUpdateFlow" must execute the following tasks:
Remove the tiff granule from the staging mosaic dir relative to belonging layer
Remove the entry on the staging db
Remove the resource on staging Geostore
Is necessary also decide if implement only a staging removal or also a staging/dissemination removal
In the first case is needed to check if the flag "published" of specifyed layerupdate is not setted to "true".
The removal flow could be started from the nfms-admin portal adding the function "remove", a link for each layer update.
When the admin clicks on remove, a confirmDialog appear, clicking on "OK" the application creates an xml similar to that one of the reprocess flow and put on the geobatch deleteFlow dir ( example: /var/geobatch/input/delete )
A "deleteLayerUpdateFlow" must execute the following tasks:
Is necessary also decide if implement only a staging removal or also a staging/dissemination removal In the first case is needed to check if the flag "published" of specifyed layerupdate is not setted to "true".
The removal flow could be started from the nfms-admin portal adding the function "remove", a link for each layer update. When the admin clicks on remove, a confirmDialog appear, clicking on "OK" the application creates an xml similar to that one of the reprocess flow and put on the geobatch deleteFlow dir ( example: /var/geobatch/input/delete )