110 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
59863dfcf1 run mypy with poetry 2022-06-27 12:53:47 -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
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
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
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
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
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
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
jasquat
016ec34d95 precommit and some cleanup w/ burnettk 2022-06-23 10:30:57 -04:00
mike cullerton
8bbf15ed29 remove app from test method calls. It isn't used anywhere 2022-06-23 09:58:22 -04:00
mike cullerton
79af7efb26 Merge branch 'main' into cullerton 2022-06-23 08:26:18 -04:00
mike cullerton
775808b8dc stub for test_process_instance_run 2022-06-23 08:22:52 -04:00
mike cullerton
a1798cc1ea assertions for test_process_model_file_create 2022-06-23 07:58:31 -04:00
burnettk
97bbf1ba45 rename exception to match conventions 2022-06-22 21:59:01 -04:00
burnettk
51109d26d7 type hints, raise exception when thing not found in model 2022-06-22 21:46:40 -04:00
jasquat
f3111ee836 some more type fixes w/ burnettk 2022-06-22 17:15:15 -04:00
jasquat
388cee7018 some more type fixes w/ burnettk 2022-06-22 16:52:50 -04:00
jasquat
f78a2b6997 some mypy fixes w/ burnettk 2022-06-22 11:39:46 -04:00
jasquat
9c9597e226 merged postgres branch into main w/ burnettk 2022-06-21 17:52:10 -04:00
jasquat
8eef5f5c36 merged main into branch and resolved conflicts w/ burnettk 2022-06-21 17:40:17 -04:00
jasquat
f41490b88e fixed some more types w/ burnettk 2022-06-21 17:28:59 -04:00
mike cullerton
c1b5c1ea8c pre commit 2022-06-21 17:26:58 -04:00
mike cullerton
a822a10405 fix doc_strings 2022-06-21 17:23:00 -04:00
mike cullerton
949632d08d allow load_spec to accept a process_model_id 2022-06-21 17:08:36 -04:00
mike cullerton
9225931b60 Add skeletons for test_error_handler, and test_process_model_file_create
add fault_or_suspend_on_exception and notification_email_on_exception to create_process_model
allow create_spec to accept file parameters
2022-06-21 17:05:49 -04:00
jasquat
1bc2ca6179 precommit w/ burnettk 2022-06-21 15:17:42 -04:00
jasquat
7bd2a146da monkeytype ftw w/ burnettk 2022-06-21 15:13:02 -04:00
jasquat
5100b40405 precommit is passing w/ burnettk 2022-06-21 14:52:01 -04:00