118 Commits

Author SHA1 Message Date
jasquat
bb7a062838 added api endpoint to send payloads to messages w/ burnettk cullerton 2022-08-25 17:35:24 -04:00
jasquat
352b453643 only update items we specified in the process_model_update api w/ burnettk cullerton 2022-08-23 16:40:42 -04:00
jasquat
70bb2e3681 only save the values to process model that are passed in w/ burnettk cullerton 2022-08-23 16:18:32 -04:00
mike cullerton
4df28a39d6 precommit 2022-08-02 10:49:43 -04:00
mike cullerton
4219ce6ced Use BaseTest in test_process_api
Move base_test into helpers directory
Move find_or_create_user to BaseTest
2022-08-02 10:46:53 -04:00
jasquat
78cde23612 return the next active task for that user when submitting a task so the frontend can cycle through all forms 2022-07-19 16:57:58 -04:00
jasquat
d7fdb618fc return a 400 if a process group cannot be found instead of a 500 2022-07-18 16:23:29 -04:00
burnettk
898b116394 get controller code working 2022-07-10 20:22:16 -04:00
burnettk
5047b9aa8b add process_instance_report_list 2022-07-09 13:17:21 -04:00
burnettk
15866e2297 comment out WIP tests and update report naming 2022-07-09 11:11:05 -04:00
jasquat
d21e1105d0 added test for deleting process instances with task events w/ burnettk 2022-07-07 15:26:53 -04:00
jasquat
ac9c2f7fff attempt to log better with gunicorn w/ burnettk 2022-07-07 14:44:19 -04:00
jasquat
093b96a2f9 added json formatting and turn debug mode off in docker so we can get stack traces to log files w/ burnettk 2022-07-07 12:27:03 -04:00
mike cullerton
020426f374 fix principal/user_id bug
fix typo in test name
2022-06-30 14:21:07 -04:00
jasquat
4cd9e33b9e precommit is passing w/ burnettk 2022-06-30 12:17:14 -04:00
jasquat
e57a64361c started migrating code for updating task form data w/ burnettk 2022-06-30 12:13:14 -04:00
jasquat
ab83f4feea precommit is passing w/ burnettk 2022-06-30 11:21:02 -04:00
mike cullerton
481b88f2e6 pre commit with poetry 2022-06-29 15:47:24 -04:00
mike cullerton
aeb495f262 Assertions for task_event 2022-06-29 15:43:06 -04:00
mike cullerton
16394c0dd8 run precommit with poetry 2022-06-29 12:41:04 -04:00
mike cullerton
9640ffd422 use fixture to clean up db 2022-06-29 12:19:06 -04:00
mike cullerton
963d60f4e5 Merge branch 'main' into cullerton 2022-06-29 11:51:56 -04:00
jasquat
5fd85eadda delete all data in the databases before every test. we may have to control the order better w/ burnettk 2022-06-29 11:47:17 -04:00
mike cullerton
ceef89ff55 methods, etc for running user tasks
needed for task_events
2022-06-29 11:40:52 -04:00
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
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
44117a41b8 get rid of the 150 or so easiest type hint errors ever 2022-06-23 23:29:00 -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
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