Commit Graph

11941 Commits

Author SHA1 Message Date
Kenneth Kehl
310386acf6 hmmm 2024-11-14 13:45:10 -08:00
Kenneth Kehl
7b83ea3a34 fix more 2024-11-14 13:15:06 -08:00
Kenneth Kehl
6d8fdab5a3 fix more sqlalchemy 2024-11-14 11:26:53 -08:00
Carlo Costino
99a92e705e Merge pull request #1410 from GSA/kill_workers
kill workers after 20 tasks
2024-11-14 12:56:37 -05:00
Kenneth Kehl
0485297eef Merge pull request #1382 from GSA/notify-api-1325
upgrade test queries to sqlalchemy 2.0
11-14-2024
2024-11-13 08:35:20 -08:00
Carlo Costino
c242d2d807 Merge pull request #1383 from GSA/update-sandbox-steps
Make sandbox deployments easier
2024-11-13 09:27:26 -05:00
Steven Reilly
3ea442da38 Merge pull request #1414 from GSA/notify-api-1385
add debugging for sender numbers
2024-11-13 08:43:54 -05:00
Carlo Costino
4155b54467 Update .gitignore and fix a typo
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-12 21:50:36 -05:00
Carlo Costino
469103d4f1 Make sandbox deployments easier
This changeset makes a few adjustments to our sandbox environment config to make the sandbox deployments of the API much easier.  It does this with the following:

* Adds a few environment variable values to the sandbox.yml file to cover the ones that were not there previously
* Adds a new script that can be run in place of memorizing any commands
* Adds documentation on how to configure and run the sandbox environment

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-12 21:50:27 -05:00
Kenneth Kehl
312ae5e89e put number all on one line 2024-11-12 15:19:52 -08:00
Kenneth Kehl
151ea31f63 put number all on one line 2024-11-12 15:09:18 -08:00
Kenneth Kehl
2a8b1374b0 put number all on one line 2024-11-12 14:40:18 -08:00
Kenneth Kehl
5cd0e1e523 put number all on one line 2024-11-12 13:29:59 -08:00
Kenneth Kehl
767f94a26c add debugging 2024-11-12 13:18:05 -08:00
Kenneth Kehl
17337dfc72 add debugging 2024-11-12 13:14:43 -08:00
Kenneth Kehl
f9b564264a Merge pull request #1412 from GSA/connection_count
put max connections back to 10
2024-11-12 11:15:16 -08:00
Kenneth Kehl
bb435e33ac kill workers after 20 tasks 2024-11-12 09:41:20 -08:00
Kenneth Kehl
d89f1206d5 put max connections back to 10 2024-11-12 09:38:21 -08:00
Kenneth Kehl
62c4ccc5d9 merge from main 2024-11-11 09:29:39 -08:00
Steven Reilly
1d5e54e2b7 Merge pull request #1407 from GSA/document-feature-flag
Added section about feature flagging
2024-11-08 15:45:35 -05:00
Carlo Costino
28d8469bbb Merge pull request #1386 from GSA/USN-COMPLY-51-Verify_State
Verify state for login.gov
2024-11-07 14:17:56 -05:00
Carlo Costino
cc30e7d55a Merge pull request #1405 from GSA/no-attribute-day-bug
No attribute day bug
2024-11-07 13:58:39 -05:00
alexjanousekGSA
1af2a42742 Added section about feature flagging 2024-11-07 12:24:34 -05:00
Andrew Shumway
e8150c69df Merge branch 'main' of https://github.com/GSA/notifications-api into no-attribute-day-bug 2024-11-07 09:46:13 -07:00
Andrew Shumway
6df7a218a7 Remove scalars from execute and add test coverage 2024-11-07 09:45:56 -07:00
Cliff Hill
1571143012 Resend invites works.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-07 09:56:09 -05:00
Cliff Hill
70404a2a8b Invites are now working.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-07 08:37:55 -05:00
Cliff Hill
958c3cd61e Trying to get invites to flow correctly.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 16:03:50 -05:00
Cliff Hill
f95738a763 Getting all the needed data in place.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 14:30:57 -05:00
Carlo Costino
33e651762e Merge pull request #1402 from GSA/adjust-celery-worker-memory
Adjust Celery worker memory
2024-11-06 12:44:59 -05:00
Carlo Costino
2b76ac95d8 Adjust Celery worker memory
The Celery workers are not using as much memory as we had been anticipating, and we are also hitting our memory quota.  This adjusts them down a bit to free up a bit more.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-06 11:42:58 -05:00
Steven Reilly
0d80c61574 Merge pull request #1400 from GSA/bump-prod-app-memory
Bump production app memory to 3 GB
2024-11-06 10:14:50 -05:00
Steven Reilly
d6de91edb6 Merge pull request #1399 from GSA/moving_multiprocessing_manager
Moving the Job Cache to the flask app's config
2024-11-06 10:14:33 -05:00
Cliff Hill
017406cbb6 Fixing tests, and resend invites endpoint.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 08:09:03 -05:00
Cliff Hill
123aa7129b Making state be validated.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 08:09:03 -05:00
Cliff Hill
c800fbc2b0 Removing unused code.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 08:09:03 -05:00
Cliff Hill
e80029e5f0 Properly handling and validating the state for login.gov
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-06 08:09:03 -05:00
Carlo Costino
e2956e2818 Bump production app memory to 3 GB
This changeset bumps our production app memory for the API to 3 GB available in anticipation of the shift of the job cache being managed by the application itself instead of a worker process.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-05 21:55:14 -05: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
50754d92c4 Flake8 stuff.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-05 17:25:58 -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
Carlo Costino
54222f3dbb Merge pull request #1397 from GSA/stvnrlly/max-pool-7
set max_pool_connections to 7
2024-11-05 15:28:23 -05:00
Steven Reilly
45995b3139 set max_pool_connections to 7 2024-11-05 15:21:13 -05:00
Steven Reilly
165042b37c Merge pull request #1387 from GSA/increase-worker-resources
Increase Celery resources
11-04-2024
2024-11-04 12:32:18 -05:00
Carlo Costino
5141612705 Increase Celery resources
This changeset increases the number of Celery workers available to our app in the production environment.  It also bumps the amount of memory available to them to 3G each.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-11-04 12:22:30 -05:00
Cliff Hill
38c566e8c7 Merge pull request #1384 from GSA/reduce_connections
reduce number of pool connections
2024-11-01 13:39:22 -04:00
Kenneth Kehl
c5b227403e fix more 2024-10-31 14:38:07 -07:00
Kenneth Kehl
78ac1ee094 fix more 2024-10-31 14:25:35 -07:00
Kenneth Kehl
3dd21705b8 fix more 2024-10-31 12:00:42 -07:00
Kenneth Kehl
c33c7a5058 fix more 2024-10-31 11:48:08 -07:00