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

Change findAllBySubmissionId method on UserFileRepository to findAllBySubmission #331

Merged
merged 29 commits into from
Jul 24, 2023

Conversation

spokenbird
Copy link
Contributor

We renamed the field on UserFile from submissionId to submission because JPA uses the whole Submission object when looking for UserFiles associated with a Submission, not just the ID. When we renamed the fields, JPA needed the associated method signatures to be changed to match in order for them to work correctly.

spokenbird and others added 29 commits July 20, 2023 13:31
- Don't create the zipped file in the file system
- The folder with the downloaded files from S3 is still created on the file system -- will need to change that next

[#185447786]
- Directly transfer bytes from files to FileInputStream with a buffer, use only memory

[#185447786]
[#185447786]

Co-authored-by: Chibuisi Enyia <cenyia@codeforamerica.org>
[#185447786]

Co-authored-by: Chibuisi Enyia <cenyia@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
[#185447786]

Co-authored-by: Chibuisi Enyia <cenyia@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
Co-authored-by: Cypress Borg <cborg@codeforamerica.org>
Co-authored-by: Bethany Seeger <bseeger@codeforamerica.org>
#185447786

Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
Co-authored-by: Cypress Borg <cborg@codeforamerica.org>
Co-authored-by: Bethany Seeger <bseeger@codeforamerica.org>
#185447786

Co-authored-by: Ben Calegari <bcalegari@codeforamerica.org>
Co-authored-by: Alex Gonzalez <agonzalez@codeforamerica.org>
- Tests failing in CI due to chrome driver issue

[#185447786]

Co-authored-by: Chibuisi Enyia <cenyia@codeforamerica.org>
[#185447786]

Co-authored-by: Bethany Seeger <bseeger@codeforamerica.org>
Co-authored-by: Bethany Seeger <bseeger@codeforamerica.org>
@spokenbird spokenbird merged commit 642b6d5 into main Jul 24, 2023
1 check passed
@spokenbird spokenbird deleted the get-s3-files branch July 24, 2023 21:51
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

Successfully merging this pull request may close these issues.

2 participants