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

Submission Artifacts Mapping #170

Open
3 tasks
sharathkumaranbu opened this issue Mar 2, 2020 · 1 comment
Open
3 tasks

Submission Artifacts Mapping #170

sharathkumaranbu opened this issue Mar 2, 2020 · 1 comment

Comments

@sharathkumaranbu
Copy link
Contributor

  • Create submission-artifact table in dynamodb to maintain the artifact-submission mapping

  • Use new table to search the artifacts instead directly querying s3 bucket

  • Place the artifact in new folder structure, refer following section
    image

@callmekatootie
Copy link
Contributor

@rootelement The changes are currently in branch Issue_170.

Since we need to make this backward compatible, can you let me know if the following behaviour would be the right way:

  • for CREATE, we will first check if there are any artifacts for the submission through the old approach.
    • If yes, then we will continue to create the artifact through the old approach
    • If no, then we will create the artifact through the new approach
  • for LIST, we will first check for artifacts through the new approach. If no artifact is returned, then we will check for artifacts through the old approach
  • for DOWNLOAD, we will first check for existence of the artifact through the new approach. If none is found, we will check for existence of the artifact through old approach and then download the artifact based on the location identified
  • for DELETE, we will first check for existence of the artifact through the new approach. If none is found, we will check for existence of the artifact through old approach and delete it when found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants