Commit Graph
179 Commits
Author SHA1 Message Date
Kenneth Kehl f4ba3cd7bf fix get_job_from_s3 2025-09-30 12:19:47 -07:00
Beverly Nguyen 539b6a7787 Handle StopIteration in extract_phones when CSV files are empty/missing 2025-09-04 17:46:18 -07:00
Kenneth Kehl ded60409a8 improve logging 2025-09-04 12:30:52 -07:00
Kenneth Kehl ad637995c9 remove debug 2025-08-07 15:04:39 -07:00
Kenneth Kehl c87653523b remove debug 2025-08-07 14:04:27 -07:00
Kenneth Kehl 39e031db3b fix race condition 2025-08-07 14:01:41 -07:00
Kenneth Kehl 5f387fa272 use greenlets for cache generation 2025-08-07 11:16:24 -07:00
Kenneth Kehl 7d72651a77 cleanup 2025-08-07 07:56:58 -07:00
Kenneth Kehl 5ce98a6e8e try again 2025-08-06 11:41:14 -07:00
Kenneth Kehl 9f84702301 cleanup 2025-08-06 07:19:18 -07:00
Carlo Costino b13e294673 Undo recent changes related to Python upgrade
This changeset undoes the recent changes we tried after the Python 3.13 update as they had no bearing on the SSL cert validation errors.  Back to the drawing board!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-07-29 16:28:00 -04:00
Kenneth Kehl 1eeceb072e revert newrelic changes and disable gevent 2025-07-29 10:22:36 -07:00
Kenneth Kehl 143d57440c try gevent 2025-07-28 08:52:02 -07:00
Kenneth Kehl f080c94093 fix eventlet 2025-07-15 08:15:08 -07:00
Kenneth Kehl 42ce627800 fix eventlet sleep 2025-07-10 10:41:21 -07:00
Kenneth Kehl 3c4ec961fe more tests 2025-06-30 07:22:31 -07:00
Kenneth Kehl 8573b4d67e don't use global s3 client 2025-06-27 12:12:43 -07:00
Kenneth Kehl fae0a3bbd8 don't use global s3 client 2025-06-27 11:32:54 -07:00
Kenneth Kehl 0044a1580a ugh 2025-06-11 07:39:32 -07:00
Kenneth Kehlandccostino fe1f333d4c Update app/aws/s3.py
Co-authored-by: ccostino <ccostino@users.noreply.github.com>
2025-06-11 07:27:51 -07:00
Kenneth Kehl fbe733bc7e check which services have csvs 2025-06-09 07:12:05 -07:00
Kenneth Kehlandccostino 1b7c6c2b74 Update app/aws/s3.py
Co-authored-by: ccostino <ccostino@users.noreply.github.com>
2025-05-23 06:58:21 -07:00
Kenneth Kehlandccostino 91f3bbaf98 Update app/aws/s3.py
Co-authored-by: ccostino <ccostino@users.noreply.github.com>
2025-05-23 06:58:09 -07:00
Kenneth Kehl 170dc12284 fix reports 2025-05-22 08:31:33 -07:00
Kenneth Kehl 2788c21420 change page size 2025-05-21 13:44:14 -07:00
Kenneth Kehl f62e3269f0 switch to fips endpoint 2025-05-20 14:02:06 -07:00
Kenneth Kehl b45b9cbdbe rethrow oserror 2025-05-20 07:38:31 -07:00
Kenneth Kehl fe2f14c6e6 add sleep, more error handling, better debug message 2025-05-19 15:14:02 -07:00
Kenneth Kehl af107ccd27 fix regenerate_job_cache 2025-05-14 07:49:30 -07:00
Kenneth Kehl 3961e72d32 try to replace blocking sleep call with nonblocking sleep call 2025-05-12 11:03:12 -07:00
Carlo Costino fd974e1b79 Update no_proxy and S3 error handling
This changeset updates the no_proxy environment variable to allow S3 through.  It also updates our error handling connecting to S3.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-05-08 16:54:50 -04:00
Kenneth Kehl 4cfb980ac6 add debug tag adr 2025-02-27 13:24:32 -08:00
Kenneth Kehl eb8d18bf6b improve error handling around corrupt csv files 2025-02-20 08:00:39 -08:00
Kenneth Kehl 7fab332ab9 fix isort 2025-01-06 13:50:10 -08:00
Kenneth Kehl 7b5c840107 code review feedback 2025-01-06 13:10:13 -08:00
Kenneth Kehl 0f52efd742 fix BOM issue again 2025-01-03 12:27:00 -08:00
Kenneth Kehl c2d822b288 add tests 2024-12-17 10:56:27 -08:00
Kenneth Kehl 020af71574 fix census BOM error 2024-12-17 10:50:55 -08:00
Kenneth Kehl 7446aed2d1 remove excess log lines from s3 2024-11-25 07:29:00 -08:00
Cliff Hill ec8ee67ee9 Logging job_cache actions, to see what's going on.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-05 17:33:30 -05:00
Cliff Hill 5a9b867d7a Sticking the job cache into the flask app's config, in an effort to
improve/fix things.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-05 17:21:14 -05:00
Kenneth Kehl 2344516909 add provider tasks tests 2024-10-22 15:00:09 -07:00
Kenneth Kehl f4f6312206 Merge pull request #1355 from GSA/notify-api-1351
increase code coverage to 93 percent
2024-10-17 11:49:12 -07:00
Kenneth Kehl 6dfeac93cd fix partitioning 2024-10-16 13:22:36 -07:00
Kenneth Kehl 621770daf0 merge from main and code review feedback 2024-10-08 07:36:17 -07:00
Kenneth Kehl 4abd54094d debug s3 partitioning 2024-10-03 07:00:07 -07:00
Kenneth Kehl 445a462b10 clean up s3 2024-10-02 15:00:03 -07:00
Kenneth Kehl 97ee4fe032 cleanup 2024-10-02 07:31:13 -07:00
Kenneth Kehl 5edf0c7a68 merge from main 2024-10-01 14:38:23 -07:00
Kenneth Kehl 641d168370 fix properly 2024-10-01 12:58:31 -07:00