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

Transferred files must be renamed on ACF Titan #2090

Closed
2 of 6 tasks
ADPennington opened this issue Aug 26, 2022 · 2 comments · Fixed by #2122
Closed
2 of 6 tasks

Transferred files must be renamed on ACF Titan #2090

ADPennington opened this issue Aug 26, 2022 · 2 comments · Fixed by #2122
Assignees

Comments

@ADPennington
Copy link
Collaborator

ADPennington commented Aug 26, 2022

Description

All files transferred to ACFTitan have a fixed name: ADS.E2J.FTP8.TSNone which was introduced in #1736. Evidence is captured here. The file-renaming logic starting here needs refinement to match the standard file naming conventions expected by the legacy system.

Acceptance Criteria

  • all files submitted through TDP are renamed to match standard TDRS file naming conventions included in STT model filenames field.
  • Testing Checklist has been run and all tests pass
  • README is updated, if necessary

Tasks

Notes:

  • SECTION value in renamed file should be 1, 2, 3, or 4 only (not 8) and can be mapped from the section name associated with the original file as follows:

    • 1: =Active Case Data
    • 2:=Closed Case Data
    • 3:= Aggregate Data
    • 4:= Stratum Data

    Note: TDP is currently only using these section names, since we are not yet distinguishing between SSP and TANF and Tribal TANF data reports.

  • FTP and TS are not standard parts of the renamed file convention. All of the exact file names, by section name, can be pulled from the STT model's filenames field, but will need some conditional logic since the section names in this field do not exist yet in TDP. For example:

    • if Indiana, submits a section 1 file of SSP data using TDP today, this file will have a section name == Active Case Data but should be SSP Active Case Data.
      2090p3

    • Similarly, if Tulalip Tribes submits a section 1 of Tribal TANF data using TDP today, this file a section name == Active Case Data but should be Tribal Active Case Data.
      2090p1

  • STT_CODE must be 2 digits for states and territories, and 3 digits for tribes in the renamed file (leading zeros included). this is currently not the way this code is saved in the STT Model. see below.
    2090p4

@ADPennington ADPennington changed the title Transferred files must be renamed on ACF Titan per convention noted in comments below. [draft] Transferred files must be renamed on ACF Titan Aug 26, 2022
@ADPennington
Copy link
Collaborator Author

@stevenino please add this ticket as a dependency to closing out the sftp epic.

@ADPennington ADPennington changed the title [draft] Transferred files must be renamed on ACF Titan Transferred files must be renamed on ACF Titan Aug 29, 2022
@raftmsohani
Copy link

As per our conversation, the decision is to use the first 4 values in stt.filenames field using section value for the time being.

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

Successfully merging a pull request may close this issue.

4 participants