GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
547 stars 87 forks source link

Harvest Job Cancel route #4761

Open jbrown-xentity opened 1 month ago

jbrown-xentity commented 1 month ago

User Story

In order to be able to cancel a pending job or stop a running job, data.gov harvester admins want a cancel option.

Acceptance Criteria

Background

CKAN has a cancel process, we are imitating that.

Security Considerations (required)

None

Sketch

This should respond with "canceling, watch email for status" or some such response. Then, the cloudfoundry logic for cancelling the task should start. Then, an email should notify the typical harvest source user group, and what syncing did happen (typical how many additions, updates, or deletes, and errors) Finally, make sure to keep the harvester busy by kicking off any pending jobs.

jbrown-xentity commented 1 month ago

This probably isn't necessary for MVP.