295 Commits

Author SHA1 Message Date
mike cullerton
e374813609 Pre commit with poetry 2022-06-27 13:26:00 -04:00
mike cullerton
58b418aad3 Add test for suspend 2022-06-27 13:24:56 -04:00
mike cullerton
cfa738f128 run precommit 2022-06-27 12:56:13 -04:00
mike cullerton
3bc11edaf9 Merge branch 'main' into cullerton 2022-06-27 12:54:15 -04:00
mike cullerton
59863dfcf1 run mypy with poetry 2022-06-27 12:53:47 -04:00
jasquat
91db8a2815 fixed api method signature w/ burnettk 2022-06-27 12:34:15 -04:00
mike cullerton
d21ad20525 run pre commit 2022-06-27 11:15:00 -04:00
mike cullerton
77227c545a Merge branch 'main' into cullerton
# Conflicts:
#	tests/spiffworkflow_backend/integration/test_process_api.py
2022-06-27 11:06:17 -04:00
mike cullerton
c95e9bfebb test sending email on exception 2022-06-27 10:37:40 -04:00
mike cullerton
af0d29d2ec Change handlers from classes to methods. 2022-06-27 10:37:14 -04:00
mike cullerton
61fcf75721 Add an email service 2022-06-27 10:36:13 -04:00
mike cullerton
99cd2ac6fa Add flask mail to app 2022-06-27 10:35:53 -04:00
burnettk
432de93c6a readme 2022-06-26 18:46:41 -04:00
github-actions[bot]
751fba0511
Merge pull request #24 from sartography/dependabot/pip/pep8-naming-0.13.0
Bump pep8-naming from 0.12.1 to 0.13.0
2022-06-25 05:02:43 +01:00
dependabot[bot]
1ff7945806
Bump pep8-naming from 0.12.1 to 0.13.0
Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.12.1 to 0.13.0.
- [Release notes](https://github.com/PyCQA/pep8-naming/releases)
- [Changelog](https://github.com/PyCQA/pep8-naming/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/pep8-naming/compare/0.12.1...0.13.0)

---
updated-dependencies:
- dependency-name: pep8-naming
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 03:57:59 +00:00
github-actions[bot]
0b8e4f2b0f
Merge pull request #6 from sartography/dependabot/pip/pytest-7.1.2
Bump pytest from 6.2.5 to 7.1.2
2022-06-25 04:54:33 +01:00
dependabot[bot]
c25b547dd4
Bump pytest from 6.2.5 to 7.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 03:45:11 +00:00
burnettk
10b40d9af3 flask-sqlalchemy-stubs was actually screwing up the other package that provided stubs, it seems 2022-06-24 23:41:47 -04:00
jasquat
c838c55953 precommit is passing w/ burnettk 2022-06-24 17:41:44 -04:00
jasquat
bf291fbd8e only load fixture data when starting the server w/ burnettk 2022-06-24 17:41:14 -04:00
jasquat
b798ea4e45 precommit is passing w/ burnettk 2022-06-24 17:22:02 -04:00
jasquat
2cbf2a2129 typehints complete w/ burnettk 2022-06-24 17:21:35 -04:00
jasquat
ba75d5a9fc tests are passing w/ burnettk 2022-06-24 17:13:50 -04:00
burnettk
c4a933ec4c any 2022-06-24 17:09:24 -04:00
jasquat
7682e368c7 finished typehints for process_api_blueprint w/ burnettk 2022-06-24 16:46:30 -04:00
jasquat
8884d32cd6 fixed minor types w/ burnettk 2022-06-24 16:16:05 -04:00
jasquat
caf317c545 monkeytype w/ burnettk 2022-06-24 15:29:22 -04:00
jasquat
7f4dc0a380 fixed test w/ burnettk 2022-06-24 15:25:45 -04:00
jasquat
0a3c96b162 precommit w/ burnettk 2022-06-24 15:24:35 -04:00
jasquat
6641b9c6d4 added fixture data helper and some other changes related to acceptance tests w/ burnettk 2022-06-24 15:19:26 -04:00
mike cullerton
b80d1b2823 pre commit 2022-06-24 11:44:16 -04:00
mike cullerton
9b08c79ad0 Merge branch 'main' into cullerton
# Conflicts:
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
2022-06-24 11:42:29 -04:00
mike cullerton
610f47bb98 run_precommit_with_poetry 2022-06-24 11:20:39 -04:00
mike cullerton
f47b53e11e fix python doc_strings 2022-06-24 10:47:40 -04:00
mike cullerton
4c2def9706 Test for error_handler 2022-06-24 10:45:38 -04:00
mike cullerton
0fe6bce578 On unhandled exceptions, set instance.status and raise an ApiError
Still need to finish the notification piece
2022-06-24 10:45:16 -04:00
burnettk
4fd629d427 pre-commit 2022-06-23 23:29:48 -04:00
burnettk
44117a41b8 get rid of the 150 or so easiest type hint errors ever 2022-06-23 23:29:00 -04:00
burnettk
49b59136a4 3 mypy files 2022-06-23 22:59:48 -04:00
mike cullerton
aaddf2d871 run_precommit_with_poetry 2022-06-23 17:14:46 -04:00
mike cullerton
4273b67c4f fix_python_docstrings 2022-06-23 17:10:59 -04:00
mike cullerton
26f630c63c a little more with the handler 2022-06-23 16:44:06 -04:00
mike cullerton
7d019ea998 Change notification_email_on_exception to exception_notification_addresses 2022-06-23 16:43:46 -04:00
jasquat
cc7e920df7 added ability to create fixture data for e2e acceptance tests w/ burnettk 2022-06-23 16:35:02 -04:00
jasquat
f832ff4b39 precommit w/ burnettk 2022-06-23 15:29:11 -04:00
jasquat
a9d40937a2 added status endpoint for checking if webserver is running w/ burnettk 2022-06-23 15:27:53 -04:00
mike cullerton
cc43ec5510 Change process_instance.status column to string
Add `faulted` and `suspended` to ProcessInstanceStatus
Fix services and models to match this change
2022-06-23 15:21:54 -04:00
jasquat
0f1ed7a662 allow overriding docker-compose configs with env vars w/ burnettk 2022-06-23 14:53:13 -04:00
mike cullerton
792e6eaedc Add test for process_instance_run
Fix asserts for tests that used process_instance_create
2022-06-23 11:56:30 -04:00
mike cullerton
5974640e01 Separate process_instance_create into process_instance_create and process_instance_run
Add get_process_instance
Add ProcessInstanceModelSchema
2022-06-23 11:55:46 -04:00