goci icon indicating copy to clipboard operation
goci copied to clipboard

Globus endpoints should not be created for metadata only submissions

Open jdhayhurst opened this issue 3 years ago • 2 comments

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.

  1. identify metadata submission endpoints and remove them
  2. create a long term solution

jdhayhurst avatar Feb 24 '22 16:02 jdhayhurst

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'

ala-ebi avatar Feb 25 '22 10:02 ala-ebi

still an issue

jdhayhurst avatar Jul 26 '23 16:07 jdhayhurst