Commit Graph

627 Commits

Author SHA1 Message Date
burnettk c75c1a03ae mypy 174 to 172 errors 2022-06-17 09:02:50 -04:00
jasquat 34248324c0 added sorting to process model w/ burnettk 2022-06-16 16:58:55 -04:00
jasquat 9777750adf added sorting to process groups list api w/ burnettk 2022-06-16 11:20:13 -04:00
burnettk 74d4e4a563 pre-commit 2022-06-15 23:28:53 -04:00
burnettk af0ef56d3d get tests passing 2022-06-15 23:27:34 -04:00
burnettk 28fbc06ff8 mypy 178 to 174 errors, but it is apparently skipping others 2022-06-15 23:25:35 -04:00
burnettk 061722f965 update a bunch of packages, mypy issues from 183 to 178 from adding stubs 2022-06-15 22:59:11 -04:00
mike cullerton f12cc156c5 Merge branch 'cullerton'
# Conflicts:
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
#	tests/spiffworkflow_backend/integration/test_process_api.py
2022-06-14 18:01:47 -04:00
mike cullerton 928e920f35 run pre-commit 2022-06-14 17:57:02 -04:00
mike cullerton 784de3afb7 fix docstrings 2022-06-14 17:54:35 -04:00
mike cullerton b665c37f33 renamed get_specs -> get_process_models
allowed us to pass in a process_group_id to limit the models to a group
2022-06-14 17:51:50 -04:00
mike cullerton 67403b34a1 test for process model list, with pagination 2022-06-14 17:51:04 -04:00
mike cullerton ba8d947bcc add process model list api endpoint, with pagination 2022-06-14 17:48:36 -04:00
mike cullerton 9b1b08d61a add pagination object to response for process group list 2022-06-14 16:40:00 -04:00
mike cullerton 2e1fb9c102 run pre-commit 2022-06-14 13:53:18 -04:00
mike cullerton 3c5ca0c90b fix doc strings 2022-06-14 13:49:36 -04:00
mike cullerton 781e7faee9 skeleton for test_process_model_list 2022-06-14 13:47:36 -04:00
mike cullerton e634e40aa0 test process group list (with pagination) 2022-06-14 13:46:52 -04:00
mike cullerton 21a8d01afe Make create_process_model reusable in other tests.
Return the response
Move the asserts into test_process_model_add
2022-06-14 13:24:25 -04:00
mike cullerton 3e65a4612a Add skeleton method for process model list 2022-06-14 12:12:41 -04:00
mike cullerton 1524b12a4a Add endpoint for listing process models in a group
Add pagination for listing process groups
2022-06-14 12:11:55 -04:00
mike cullerton 20810fd999 Changed ProcessModelService.get_spec to get_process_model 2022-06-14 12:10:01 -04:00
mike cullerton 0afd8e11b5 run pre-commit 2022-06-14 10:00:33 -04:00
mike cullerton 8831f122eb Fix python doc strings 2022-06-14 09:44:36 -04:00
mike cullerton 17d1a6dcbb missing import 2022-06-13 15:44:19 -04:00
mike cullerton 0852e0c049 make sure we don't delete models with existing instances 2022-06-13 15:43:09 -04:00
mike cullerton 2882f12dfd create_process_instance uses the group and model, and returns the instance
moved asserts to test method
2022-06-13 15:42:29 -04:00
mike cullerton da1191ab48 Raise an error if we try to delete a model with existing instances 2022-06-13 15:40:03 -04:00
jasquat 512ac5f3c1 do not filter files on process model show and added sorting to files w/ burnettk 2022-06-13 14:58:07 -04:00
mike cullerton 7a96a6f756 Remove unused print statements 2022-06-13 09:47:43 -04:00
burnettk f3ef5f6634 pre-commit 2022-06-12 07:39:30 -04:00
burnettk 4f1c513abb hammer run_monkeytype 2022-06-10 18:27:06 -04:00
burnettk d87bcc3a2d ran fix_mypy_with_poetry 2022-06-10 18:20:18 -04:00
burnettk 80522c12a6 static analysis 2022-06-10 17:48:36 -04:00
burnettk 0006182ead auto-merge dependabot pull requests when tests pass 2022-06-10 17:42:19 -04:00
jasquat 85172c6e9b added deploy script and try depending on a healthy db before bringing up the backend w/ burnettk 2022-06-10 17:19:20 -04:00
jasquat 8e5da896a2 added docker restart command w/ burnettk 2022-06-10 17:00:00 -04:00
jasquat c94aebacb9 do not allow updating files with blank contents w/ burnettk 2022-06-10 14:08:09 -04:00
mike cullerton a3d76b5e85 pre commit with poetry 2022-06-10 12:51:38 -04:00
mike cullerton 785b7f17ed fix python docstrings 2022-06-10 12:50:29 -04:00
mike cullerton c3697e1a3f cleanup, remove commented code 2022-06-10 12:19:00 -04:00
mike cullerton 771986d0cb process group update 2022-06-10 12:18:37 -04:00
mike cullerton ad5eea56a2 Return 200 and OkTrue on successful delete 2022-06-10 12:17:49 -04:00
mike cullerton b118e74dab run precommit 2022-06-10 10:34:09 -04:00
mike cullerton f351af5561 fix python docstrings 2022-06-10 10:32:45 -04:00
mike cullerton b057eeccd5 process model update 2022-06-10 10:31:27 -04:00
mike cullerton 6313492a70 run pre commit 2022-06-10 08:15:06 -04:00
mike cullerton c35c7d0d1f fix_python_docstrings 2022-06-10 08:13:21 -04:00
mike cullerton a0eaee3646 fixed create process instance 2022-06-10 08:11:26 -04:00
mike cullerton 7c82415757 Merge branch 'dev'
# Conflicts:
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
#	tests/spiffworkflow_backend/integration/test_process_api.py
2022-06-09 15:23:45 -04:00