Commit Graph

9770 Commits

Author SHA1 Message Date
Steven Reilly
4ae369d35d Merge pull request #426 from GSA/notify-api-388
notify-api-388 remove gds metrics
2023-08-21 15:51:37 -04:00
Carlo Costino
facc79233b Merge pull request #430 from GSA/notify-api-427
notify-api-427 bug with worker failures
2023-08-18 11:56:50 -04:00
Kenneth Kehl
6b0a315281 fix flake8 2023-08-18 08:37:54 -07:00
Kenneth Kehl
f573e45fd5 merge from main 2023-08-18 08:36:23 -07:00
Kenneth Kehl
245125fe38 downgrade a flask-marshmallow and psycopg2 to what UK notify has 2023-08-18 08:31:46 -07:00
Kenneth Kehl
3f62a3f55a fix flake8 2023-08-18 08:01:42 -07:00
Kenneth Kehl
721e572796 notify-api-427 bug with worker failures 2023-08-18 07:50:48 -07:00
Kenneth Kehl
c84090e496 Merge pull request #419 from GSA/dependabot/pip/moto-4.1.14
Bump moto from 3.1.9 to 4.1.14
2023-08-17 11:37:38 -07:00
Kenneth Kehl
1765dba476 fix references to gds 2023-08-17 09:01:53 -07:00
dependabot[bot]
619d5fe8c5 Bump moto from 3.1.9 to 4.1.14
Bumps [moto](https://github.com/getmoto/moto) from 3.1.9 to 4.1.14.
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getmoto/moto/compare/3.1.9...4.1.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 15:01:00 +00:00
Tim Lowden
ebbada841f Merge pull request #415 from GSA/update-flask-plugins
Update Flask plugins and related dependencies
2023-08-17 10:42:58 -04:00
Kenneth Kehl
e4a37c84ca initial 2023-08-17 07:41:38 -07:00
Carlo Costino
206d5fccb7 Simplify test config for now
This is in prep for switching to running a single test worker for the time being.  We will spend time figuring out how to get multiple concurrent workers going again separately as we seem to have several issues taking place right now with that type of test setup.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-16 16:49:35 -04:00
Carlo Costino
17e13c3b3b Round 2 of attempting to fix CI test runs
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-16 16:49:35 -04:00
Carlo Costino
5519d17e09 Fix database URI for concurrent test workers
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-16 16:49:35 -04:00
Carlo Costino
d9abca9dbe Fix comments and imports causing build errors
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-16 16:49:35 -04:00
Carlo Costino
114aa45f19 Update Flask plugins and related dependencies
This changeset updates a few of the Flask plugins we rely on to their latest versions, as well as the psycopg2-binary library.  It required a few adjustments to how our tests are configured and run, which are probably due for a larger refactor given how much has changed with these libraries and the anticipated change of going from SQLAlchemy 1.4.x to 2.0.x.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-16 16:49:27 -04:00
Carlo Costino
574e0b92fc Merge pull request #404 from GSA/notify-api-391
notify-api-391 increase code coverage to 95%
2023-08-16 16:40:33 -04:00
Kenneth Kehl
d1040c797c Merge pull request #420 from GSA/dependabot/pip/vulture-2.8
Bump vulture from 2.7 to 2.8
2023-08-16 12:12:16 -07:00
Kenneth Kehl
22f301189a code review feedback remove british fake email addresses 2023-08-16 07:19:18 -07:00
dependabot[bot]
5755b7c9dd Bump vulture from 2.7 to 2.8
Bumps [vulture](https://github.com/jendrikseipp/vulture) from 2.7 to 2.8.
- [Release notes](https://github.com/jendrikseipp/vulture/releases)
- [Changelog](https://github.com/jendrikseipp/vulture/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jendrikseipp/vulture/compare/v2.7...v2.8)

---
updated-dependencies:
- dependency-name: vulture
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 22:13:44 +00:00
Kenneth Kehl
f2f0e5a0f1 code review feedback 2023-08-15 14:50:41 -07:00
Kenneth Kehl
c5008da8df cleanup 2023-08-15 11:44:47 -07:00
Kenneth Kehl
fbf2f99d7b more 2023-08-15 10:35:34 -07:00
Kenneth Kehl
b9ba7d018b more tests 2023-08-14 15:32:22 -07:00
Carlo Costino
7df3943c0b Merge pull request #410 from GSA/dependabot/pip/alembic-1.11.2
Bump alembic from 1.7.7 to 1.11.2
2023-08-14 18:18:35 -04:00
dependabot[bot]
19729e0b31 Bump alembic from 1.7.7 to 1.11.2
Bumps [alembic](https://github.com/sqlalchemy/alembic) from 1.7.7 to 1.11.2.
- [Release notes](https://github.com/sqlalchemy/alembic/releases)
- [Changelog](https://github.com/sqlalchemy/alembic/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/alembic/commits)

---
updated-dependencies:
- dependency-name: alembic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 22:10:14 +00:00
Carlo Costino
cb3af17dab Merge pull request #411 from GSA/dependabot/pip/cffi-1.15.1
Bump cffi from 1.15.0 to 1.15.1
2023-08-14 17:35:27 -04:00
dependabot[bot]
c5495368fb Bump cffi from 1.15.0 to 1.15.1
Bumps [cffi](http://cffi.readthedocs.org) from 1.15.0 to 1.15.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 21:26:39 +00:00
Carlo Costino
db4e0594e4 Merge pull request #409 from GSA/dependabot/pip/click-8.1.6
Bump click from 8.1.3 to 8.1.6
2023-08-14 17:17:16 -04:00
Steven Reilly
9c40bf60c2 Merge pull request #408 from GSA/switch-to-fips
Switch to using FIPS-enabled endpoints
2023-08-14 15:59:27 -04:00
Carlo Costino
ff64ea684f Removed all non-FIPS-enabled endpoints
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-14 15:10:37 -04:00
Steven Reilly
b731dd5abe Merge pull request #402 from GSA/notify-api-387
notify-api-387 Scan projects for unused code
2023-08-14 13:52:38 -04:00
Steven Reilly
d955ede5c3 Merge pull request #400 from GSA/notify-api-386
Scan projects for code complexity
2023-08-14 13:50:26 -04:00
Kenneth Kehl
b4a2f37ca9 get coverage up to 94% 2023-08-14 09:04:06 -07:00
Kenneth Kehl
e1ce20f5e3 try a couple more 2023-08-14 07:41:17 -07:00
Kenneth Kehl
46f4d72292 try putting back a file based test 2023-08-14 07:21:18 -07:00
Kenneth Kehl
f94b0bfc59 remove the multiple workers from the tests 2023-08-11 15:02:34 -07:00
Kenneth Kehl
5c7cfb7b9e remove the multiple workers from the tests 2023-08-11 14:42:21 -07:00
dependabot[bot]
7723382df2 Bump click from 8.1.3 to 8.1.6
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.3...8.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 21:23:50 +00:00
Kenneth Kehl
0f257c20f8 remove the multiple workers from the tests 2023-08-11 14:23:16 -07:00
Kenneth Kehl
dc80e7e00a remove the multiple workers from the tests 2023-08-11 14:07:32 -07:00
Kenneth Kehl
f7b822b950 more fix because local is different for some reason 2023-08-11 13:58:35 -07:00
Kenneth Kehl
00a2f99346 more fix because local is different for some reason 2023-08-11 13:48:45 -07:00
Kenneth Kehl
a9dd560edf more fix because local is different for some reason 2023-08-11 13:25:48 -07:00
Carlo Costino
6c14a12b0f Fix use of botocore Config object
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-11 16:24:46 -04:00
Carlo Costino
d4848a67b5 Switch to using FIPS-enabled endpoints
This changeset switches AWS service touchpoints to use their FIPS-enabled counterparts.  Note that S3 has some specific configuration associated with it.

This changeset also updates our allow ACLs to cover the FIPS-enabled endpoints.  We should investigate removing the non-FIPS endpoints as a part of this.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-11 16:24:45 -04:00
Carlo Costino
d8dcde4403 Merge pull request #405 from GSA/dependabot/pip/prometheus-client-0.17.1
Bump prometheus-client from 0.14.1 to 0.17.1
2023-08-11 16:17:55 -04:00
Kenneth Kehl
dcb9563f9c more fix because local is different for some reason 2023-08-11 13:14:04 -07:00
Kenneth Kehl
66fc5abb0a more fix because local is different for some reason 2023-08-11 12:57:26 -07:00