Commit Graph

9869 Commits

Author SHA1 Message Date
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
807941ac86 notify-api-413 fix flake8 2023-08-16 10:42:52 -07:00
Kenneth Kehl
e037df8cbc notify-api-413 reduce cyclomatic complexity identified by radon 2023-08-16 09:29:32 -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
Kenneth Kehl
288183b9e5 more fix because local is different for some reason 2023-08-11 12:47:06 -07:00
dependabot[bot]
4ed996bc18 Bump prometheus-client from 0.14.1 to 0.17.1
Bumps [prometheus-client](https://github.com/prometheus/client_python) from 0.14.1 to 0.17.1.
- [Release notes](https://github.com/prometheus/client_python/releases)
- [Commits](https://github.com/prometheus/client_python/compare/v0.14.1...v0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 19:45:41 +00:00
Carlo Costino
e345d91b3f Merge pull request #403 from GSA/dependabot/pip/iso8601-2.0.0
Bump iso8601 from 1.0.2 to 2.0.0
2023-08-11 15:36:43 -04:00
Kenneth Kehl
eaa8df4ab6 more fix because local is different for some reason 2023-08-11 12:34:06 -07:00
Kenneth Kehl
98208cff40 more fix because local is different for some reason 2023-08-11 12:21:54 -07:00
dependabot[bot]
0afd2f66a1 Bump iso8601 from 1.0.2 to 2.0.0
Bumps [iso8601](https://github.com/micktwomey/pyiso8601) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/micktwomey/pyiso8601/releases)
- [Changelog](https://github.com/micktwomey/pyiso8601/blob/main/CHANGELOG.md)
- [Commits](https://github.com/micktwomey/pyiso8601/compare/1.0.2...2.0.0)

---
updated-dependencies:
- dependency-name: iso8601
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 19:20:42 +00:00
Kenneth Kehl
157a4bdb18 more fix because local is different for some reason 2023-08-11 12:07:08 -07:00
Carlo Costino
6715d5b220 Merge pull request #385 from GSA/dependabot/pip/attrs-23.1.0
Bump attrs from 21.4.0 to 23.1.0
2023-08-11 15:00:01 -04:00
Kenneth Kehl
11a9351290 fix test 2023-08-11 11:57:00 -07:00
Kenneth Kehl
85604e5394 more tests 2023-08-11 11:47:57 -07:00