Commit Graph

10783 Commits

Author SHA1 Message Date
Kenneth Kehl
41c6b19877 fix urls 2024-03-20 08:11:37 -07:00
Kenneth Kehl
26af8339a2 fix link 2024-03-19 14:36:22 -07:00
Kenneth Kehl
4335b61b6e fix tests 2024-03-19 13:59:55 -07:00
Kenneth Kehl
1a9800f924 fix tests 2024-03-19 13:23:22 -07:00
samathad2023
aa0b2e49e1 README updates 2024-03-19 09:18:46 -07:00
Kenneth Kehl
93d9ab62e4 login.gov first time workflow notify-api-1250 2024-03-19 07:34:23 -07:00
Andrew Shumway
6599c284cc Add docs/code comments for message-send-flow 2024-03-18 11:45:40 -06:00
Andrew Shumway
0e1c5e4c9d Merge branch 'main' of https://github.com/GSA/notifications-api into message-send-flow-docs 2024-03-18 11:32:45 -06:00
Andrew Shumway
5f2508a975 Add docs/code comments for message send flow 2024-03-18 11:32:29 -06:00
Carlo Costino
172f2c8ba6 Merge pull request #861 from GSA/adjust-worker-memory
Adjust production worker memory to 1G
03-19-2024
2024-03-15 16:28:57 -04:00
Carlo Costino
117fa6c1af Adjust production worker memory to 1G
This changeset adjusts our worker process memory to 1G from 512MB in production. We recently saw memory-related crashes for the Celery worker processes, meaning they did not have enough available to them.  This was compounded by an ongoing platform issue with cloud.gov due to Cloud Foundry VMs operating with a Linux kernel that has a memory allocation issue.

Fixes for the Linux kernel and Cloud Foundry VMs are in flight and cloud.gov is tracking this closely, but we can help ourselves in the mean time and given the increased usage with pilot partners, it makes sense to adjust this anyway.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-15 16:16:58 -04:00
Carlo Costino
c836ab5b04 Merge pull request #860 from GSA/remove-s3-debug-lines
Remove debug lines in CSV processing
2024-03-15 14:48:08 -04:00
Carlo Costino
bf0f002e4f Remove debug lines in CSV processing
This changeset removes a couple of debug lines that we had in place from when we switched to processing CSVs for looking at phone numbers.  This has now been proven out, and the additional log entries make it difficult to troubleshoot other issues that may arise.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-15 14:26:18 -04:00
Carlo Costino
47fe0f7c1b Merge pull request #858 from GSA/dependabot/pip/cachetools-5.3.3
Bump cachetools from 5.3.2 to 5.3.3
03-15-2024
2024-03-14 18:48:59 -04:00
dependabot[bot]
fee88b86d2 Bump cachetools from 5.3.2 to 5.3.3
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.3.2 to 5.3.3.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 21:18:07 +00:00
Carlo Costino
3c651a3834 Merge pull request #844 from GSA/dependabot/pip/moto-5.0.3
Bump moto from 4.2.13 to 5.0.3
2024-03-14 17:14:06 -04:00
Carlo Costino
d3f3c5833c Merge pull request #857 from GSA/update-utils-0-3-0
Update utils to 0.3.0
2024-03-14 15:39:45 -04:00
Carlo Costino
435f23b5f0 This changeset updates notifications_utils to 0.3.0 to account for other dependency updates. It also accounts for the removal of Celery in utils.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-14 15:15:51 -04:00
dependabot[bot]
da3c3f2508 Bump moto from 4.2.13 to 5.0.3
Bumps [moto](https://github.com/getmoto/moto) from 4.2.13 to 5.0.3.
- [Release notes](https://github.com/getmoto/moto/releases)
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getmoto/moto/compare/4.2.13...5.0.3)

---
updated-dependencies:
- dependency-name: moto
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 19:15:37 +00:00
Carlo Costino
e89a6e5f10 Merge pull request #830 from GSA/notify-api-130
remove celery from notifications-utils (notify-api-130)
2024-03-14 15:13:32 -04:00
Kenneth Kehl
c7ff5e44c6 duh 2024-03-14 11:27:26 -07:00
samathad2023
cf25933cd0 remove comments from enums 2024-03-14 11:11:17 -07:00
Kenneth Kehl
86dd578d99 merge from main 2024-03-14 10:04:46 -07:00
Carlo Costino
8470c2568e Merge pull request #855 from GSA/add-simulated-to-local
Add simulated sms numbers to allow list in trial mode.
2024-03-14 11:52:45 -04:00
Andrew Shumway
207c3bc021 Merge branch 'main' of https://github.com/GSA/notifications-api into add-simulated-to-local 2024-03-13 16:21:24 -06:00
Andrew Shumway
01df741609 Add simulated numbers to allow list in trial mode 2024-03-13 16:20:39 -06:00
samathad2023
e0ed44763f removed dependencies strenum 2024-03-13 14:21:25 -07:00
Carlo Costino
30ecc218ef Merge pull request #854 from GSA/notify-api-853
fix email notifications missing personalisation (notify-api-853)
03-14-2024
2024-03-13 14:20:18 -04:00
Kenneth Kehl
a8640a65b6 fix email notifications missing personalisation (notify-api-853) 2024-03-13 10:52:55 -07:00
Carlo Costino
8fe70fe14d Merge pull request #851 from GSA/more-terraform-fixes
Fix reference to CF org vs. space
2024-03-13 11:33:27 -04:00
Carlo Costino
9d60e6e8b7 Fix reference to CF org vs. space
This changeset fixes a reference to properly load the Cloud Foundry org for modifying the space.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 11:26:01 -04:00
Steven Reilly
d72521fc1e Merge pull request #849 from GSA/fix-remaining-terraform
Fix remaining Terraform for production and demo
2024-03-13 10:35:43 -04:00
Carlo Costino
0404348ec0 Removed last bit of extraneous config that is not needed
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 10:12:54 -04:00
Carlo Costino
1484c2ffa0 Adjust properties further to only apply to spaces
The SES and SNS modules are strictly for services that are instantiated within a space, while the egress_space is creating a separate space. The shift of the recursive delete from being on a service to being at the space level means that the SES and SNS modules do not have to track it at all, it should only be handled at the space level.  The same goes for the allow_ssh flag.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 10:05:02 -04:00
Carlo Costino
15f8be7aee Explicitly add allow_ssh flag and disable for production
This will also ensure any drift is picked up by our infrastructure verification checks

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 09:51:41 -04:00
Carlo Costino
67135858df Merge pull request #850 from GSA/API-847_Clobbering_bad_enum_data
[Bug] API-847 - Making the enum migration more smooth.
2024-03-12 16:42:55 -04:00
Cliff Hill
111135a9b6 Helping the migration succeed!
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-12 15:05:34 -04:00
Carlo Costino
f0e66886d2 Adding missing variable for egress_space
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:26:28 -04:00
Carlo Costino
68fa12340a Add space data back in - we still need it!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:22:58 -04:00
Carlo Costino
ef46ddcb37 Fixed reference to the Cloud Foundry org instead of space
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:19:59 -04:00
Carlo Costino
61703471bb Fix remaining Terraform for production and demo
This changeset adjusts our Terraform for the production and demo environments so that the new delete_recursive_allowed with the Cloud Foundry Cloud Controller is set to false.  It also updates the shared modules to all explicitly account for this property so that we can set the flag easily.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 13:59:08 -04:00
samathad2023
d3a87b9ffb fix for test_validators 2024-03-12 10:28:31 -07:00
Carlo Costino
d7edf32de4 Merge pull request #842 from GSA/code_coverage
fix code coverage reporting
2024-03-11 14:54:14 -04:00
samathad2023
db06484ebf yml updates 2024-03-11 11:39:13 -07:00
Kenneth Kehl
6c4c8b075a fix code coverage reporting 2024-03-11 10:34:59 -07:00
Carlo Costino
8a6cc76d15 Merge pull request #840 from GSA/notify-admin-1277
fix login.gov to use user uuid instead of email (notify-admin-1277)
2024-03-11 11:53:42 -04:00
samathad2023
b8c5a241a3 updates needs for python version upgrade 2024-03-08 15:09:30 -08:00
Carlo Costino
c84d01b454 Merge pull request #783 from GSA/notify-api-749
remove personalisation from db
2024-03-08 15:37:54 -05:00
Carlo Costino
6d72b0d50b Merge pull request #839 from GSA/API-729_Recursive_Delete_Changes
Api 729 recursive delete changes
2024-03-08 12:12:25 -05:00
Cliff Hill
4d89e6451d Reversing the over-engineering.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 12:04:03 -05:00