Commit Graph

915 Commits

Author SHA1 Message Date
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
mike cullerton 3232130130 ignore instance 2022-06-09 15:14:44 -04:00
mike cullerton 6aa08e7253 fix process model endpoints to include process group id 2022-06-09 15:04:15 -04:00
jasquat 1bd4314778 sort process instances by id if same start times w/ burnettk 2022-06-09 15:03:00 -04:00
jasquat a0927638aa pre-commit is passing 2022-06-09 09:31:42 -04:00
burnettk 4829ff1e0e pre-commit, let all tests pass, remove test json 2022-06-08 18:47:38 -04:00
mike cullerton 7fde291c14 add delete endpoints and renaming 2022-06-08 18:20:02 -04:00
mike cullerton 22f45d7b68 Fix some tests due to renaming methods
Add test to delete process_model, process_group
Add helper method to create a process_group
2022-06-08 18:17:46 -04:00
mike cullerton abc8a0d457 Rename spec => process_model
Change methods to verb last
2022-06-08 18:11:44 -04:00
mike cullerton 8ef7e4d081 Renaming changes to match the changes in api.yml
Added delete methods for process_group and process_model
Grouped methods by group, model, and instance
2022-06-08 18:10:34 -04:00
mike cullerton 49504cf1be Renaming to Process Groups, Process Models, and Process Instances
Rename methods to verb last. I.e., add_process_group => process_group_add
Added some comments displaying the method names when code is folded
2022-06-08 18:06:37 -04:00
Mike Cullerton c475c98fbc add process-group endpoint 2022-06-08 12:14:39 -04:00
jasquat 726da1007f added api to edit a bpmn file w/ burnettk 2022-06-08 11:08:12 -04:00