Commit Graph

398 Commits

Author SHA1 Message Date
mike cullerton 4302ef1bf8 test for filtering instances 2022-06-21 10:48:32 -04:00
mike cullerton 0798a934d5 Add ability to filter based on status, and start/end times 2022-06-21 10:46:45 -04:00
burnettk c13553ff6d pre-commit 2022-06-21 07:32:02 -04:00
burnettk c2553cd433 oh that instance path 2022-06-21 00:34:40 -04:00
burnettk aa8f5bebeb fix typo 2022-06-20 23:25:12 -04:00
burnettk 6fae660772 use correct env var and fix bash nounset issue 2022-06-20 22:56:50 -04:00
burnettk 9894b82ab9 try to pass key another way 2022-06-20 22:43:19 -04:00
burnettk a26f620875 start to support postgres 2022-06-20 18:31:09 -04:00
burnettk 1a74f758a7 try to help nox / ci 2022-06-20 17:48:21 -04:00
burnettk e58b55e40c round times for the benefit of sqlite, which will apparently not do this for integer columns 2022-06-20 17:39:18 -04:00
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