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

Ftps transfers for SNAP application and docs #418

Merged
merged 10 commits into from
Dec 15, 2023
Merged

Ftps transfers for SNAP application and docs #418

merged 10 commits into from
Dec 15, 2023

Conversation

sree-cfa
Copy link
Contributor

@sree-cfa sree-cfa commented Nov 29, 2023

Transfer impl for SNAP application pdf and verification docs.

Includes

  • Generating meta data txt for docs
  • Zipping up files
  • PGP signing and encryption
  • FTPS upload
  • lots of placeholders

Excludes (will do in follow-up PR):

  • schedule / chron job for transfers
  • Reads/Updates from TBA Transmission table
  • E2E Test using Transmission table info

@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 November 29, 2023 16:38 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 November 30, 2023 19:24 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 5, 2023 23:55 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 6, 2023 17:49 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 6, 2023 21:36 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 6, 2023 21:51 Inactive
@sree-cfa sree-cfa changed the title Adding client for ftps transfers Ftps transfers for SNAP application and docs Dec 8, 2023
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 9, 2023 01:11 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 11, 2023 19:22 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 13, 2023 16:56 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 13, 2023 18:00 Inactive
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 13, 2023 18:36 Inactive
when(pdfService.generatePdfName(any())).thenReturn("applicant_summary");

File docFile = new File("paystub.png");
docFile.createNewFile();

Check notice

Code scanning / CodeQL

Ignored error status of call Note

Method transmitZipFile ignores exceptional return value of File.createNewFile.

@BeforeEach
void setup() {
String batchIndex = "0005";

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'String batchIndex' is never read.
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 13, 2023 18:44 Inactive
@sree-cfa sree-cfa marked this pull request as ready for review December 13, 2023 18:50
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-418 December 14, 2023 16:28 Inactive
@sree-cfa sree-cfa merged commit 75c8f15 into main Dec 15, 2023
5 checks passed
@sree-cfa sree-cfa deleted the app-transfer branch December 15, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants