Commit Graph

388 Commits

Author SHA1 Message Date
burnettk 4c9f47a32d precommit 2022-06-20 17:17:51 -04:00
burnettk aacb626f3c rm tickets.cvs 2022-06-20 16:51:32 -04:00
jasquat 17e741280d added api endpoint to delete a process instance w/ burnettk 2022-06-20 16:44:25 -04:00
jasquat 65da9ccbaa fixed some precommit 2022-06-20 10:56:32 -04:00
jasquat 5cfe999d34 added process group id to all process-models api routes 2022-06-20 10:50:21 -04:00
burnettk d88095f077 update import scripts 2022-06-19 22:57:57 -04:00
burnettk a38ef72c26 add process_instance_report api method 2022-06-19 19:19:42 -04:00
burnettk 83586eae91 add ticket import system 2022-06-19 19:02:42 -04:00
burnettk eaeb5f2ae3 use better name 2022-06-19 13:47:16 -04:00
burnettk 7cb3c65527 mypy issues, still 172 2022-06-17 22:33:04 -04:00
jasquat 6a5e145664 added wait to be up script w/ burnettk 2022-06-17 10:35:23 -04:00
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