Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing delete message to CEGA upon deletion of inbox file by user #124

Open
kjellp opened this issue Dec 18, 2023 · 0 comments
Open

Missing delete message to CEGA upon deletion of inbox file by user #124

kjellp opened this issue Dec 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kjellp
Copy link
Contributor

kjellp commented Dec 18, 2023

Describe the bug
If a user is deleting an uploaded file from the inbox, it is correctly removed by lega-commander/TSD in co-operation, but the proper "remove" message to CEGA is not having the intended effect. I.e. CEGA still lists the file as available for user to pick for ingestion (when defining a Run or DataSet in the submission portal).

A "remove" message is being sent (seen in the logs), unknown if:

  • if the format conforms to the json schema for this message type
  • if a proper correlationID is set for the message (CEGA known to fail/ignore messages without a mandatory correlationID)
  • if all fields of the message has the proper content. Both fileSize and lastModified fields are set to value "0" which probably should be corrected.

Expected behavior
When the delete end-point is executed, a properly formatted message with correct content is sent to CEGA from the proxy service (similar pattern to the upload message when the upload end-point is utilized)

@kjellp kjellp added the bug Something isn't working label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant