goci
goci copied to clipboard
Globus endpoints should not be created for metadata only submissions
We only need the globus endpoints for summary stats submission, but they are still created for metadata only submissions.
Globus endpoints are created with a call from the deposition service to /v1/sum-stats/globus/mkdir
.
The problem is that these endpoints are not limitless, so given that we don't actually need them to be created for metadata submissions, one fix could be to stop creating them. An alternative is to call the delete endpoint: /v1/sum-stats/globus/<unique_id>
to close them like we do for abandoned submissions.
- identify metadata submission endpoints and remove them
- create a long term solution
we should be mindful of that when creating a submission we can't tell if its metadata only or metadata + ss despite the publication being in OPEN FOR SUBMISSION in both cases. we suggested using the same code as the one that closes endpoints for dormant submissions after 30 days, or make the endpoint get created when the user clicks on 'upload summary stats'
still an issue