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

Unzip files after retrieving from external SFTP site #74

Merged
merged 12 commits into from
Jul 5, 2024
Merged

Commits on Jul 1, 2024

  1. Start work on unzipping a password protected file; Update sftp.go to …

    …initialize correctly
    
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: Samuel Aquino <saquino@flexion.us>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    5 people committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    6f7ae55 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Moved zip to its own package; added env var for CA DPH password; uplo…

    …ad unzipped files to import; use constants for repeated strings; a lil cleanup and refactoring
    
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: Samuel Aquino <saquino@flexion.us>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    5 people committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    cadf18c View commit details
    Browse the repository at this point in the history
  2. Start adding tests to zip.go, refactor out mock credential getter so …

    …it can be reused
    
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: Samuel Aquino <saquino@flexion.us>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    5 people committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    50ca64a View commit details
    Browse the repository at this point in the history
  3. Make test naming consistent

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    somesylvie and pluckyswan committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    4e8ce4a View commit details
    Browse the repository at this point in the history
  4. add more tests

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    somesylvie and pluckyswan committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    b3edc31 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Handle zip content errors more cleanly; upload SFTP-retrieved file ba…

    …sed on file type; update tests
    
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    4 people committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    9bb5337 View commit details
    Browse the repository at this point in the history
  2. do a little cleanup

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    4 people committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    4993a45 View commit details
    Browse the repository at this point in the history
  3. close fileReader explicitly instead of using defer inside a loop

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    4 people committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    f478d2a View commit details
    Browse the repository at this point in the history
  4. Update README.md

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: jherrflexion <118225331+jherrflexion@users.noreply.github.com>
    4 people committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    51debbf View commit details
    Browse the repository at this point in the history
  5. change mock zip client receiver to be a pointer

    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    3 people committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    0c8a818 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Refactor the unzip function to pull out handling-each-file and update…

    … some log statements
    
    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    3 people committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    97adcbd View commit details
    Browse the repository at this point in the history
  2. update tests to match changes to logging

    Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
    Co-Authored-By: pluckyswan <96704946+pluckyswan@users.noreply.github.com>
    Co-Authored-By: Samuel Aquino <saquino@flexion.us>
    Co-Authored-By: Tiffini Johnson <86614374+tjohnson7021@users.noreply.github.com>
    5 people committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1e08614 View commit details
    Browse the repository at this point in the history