Commit Graph

251 Commits

Author SHA1 Message Date
jasquat 388cee7018 some more type fixes w/ burnettk 2022-06-22 16:52:50 -04:00
jasquat f78a2b6997 some mypy fixes w/ burnettk 2022-06-22 11:39:46 -04:00
jasquat 9c9597e226 merged postgres branch into main w/ burnettk 2022-06-21 17:52:10 -04:00
jasquat 8eef5f5c36 merged main into branch and resolved conflicts w/ burnettk 2022-06-21 17:40:17 -04:00
jasquat f41490b88e fixed some more types w/ burnettk 2022-06-21 17:28:59 -04:00
mike cullerton c1b5c1ea8c pre commit 2022-06-21 17:26:58 -04:00
mike cullerton a822a10405 fix doc_strings 2022-06-21 17:23:00 -04:00
mike cullerton 949632d08d allow load_spec to accept a process_model_id 2022-06-21 17:08:36 -04:00
mike cullerton 28651de2f9 BPMN file that generates a Python error 2022-06-21 17:08:01 -04:00
mike cullerton 9225931b60 Add skeletons for test_error_handler, and test_process_model_file_create
add fault_or_suspend_on_exception and notification_email_on_exception to create_process_model
allow create_spec to accept file parameters
2022-06-21 17:05:49 -04:00
jasquat 1bc2ca6179 precommit w/ burnettk 2022-06-21 15:17:42 -04:00
jasquat 7bd2a146da monkeytype ftw w/ burnettk 2022-06-21 15:13:02 -04:00
jasquat 5100b40405 precommit is passing w/ burnettk 2022-06-21 14:52:01 -04:00
jasquat 0529e24dd7 precommit is passing w/ burnettk 2022-06-21 13:51:42 -04:00
jasquat 14dfa8ff7e use new updated and created at column names and use integers instead of dates w/ burnettk 2022-06-21 12:45:47 -04:00
jasquat 388edb2df4 added file to load to all models and add event listeners for create and upate w/ burnettk 2022-06-21 12:10:47 -04:00
mike cullerton f06b1c2fc2 pre commit 2022-06-21 10:55:51 -04:00
mike cullerton 8988d3b362 fix doc strings 2022-06-21 10:54:21 -04:00
mike cullerton d73470c051 Merge branch 'main' into cullerton 2022-06-21 10:49:48 -04:00
mike cullerton 4302ef1bf8 test for filtering instances 2022-06-21 10:48:32 -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 4c9f47a32d precommit 2022-06-20 17:17:51 -04:00
burnettk aacb626f3c rm tickets.cvs 2022-06-20 16:51:32 -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 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
jasquat 34248324c0 added sorting to process model w/ burnettk 2022-06-16 16:58:55 -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 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 67403b34a1 test for process model list, with pagination 2022-06-14 17:51:04 -04:00
mike cullerton 9b1b08d61a add pagination object to response for process group list 2022-06-14 16:40:00 -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 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
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 80522c12a6 static analysis 2022-06-10 17:48:36 -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 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 6aa08e7253 fix process model endpoints to include process group id 2022-06-09 15:04:15 -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 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
jasquat 8e246e46b5 added api to get process instances w/ burnettk 2022-06-07 17:28:48 -04:00
jasquat 053571500f cleaned up api to run process model w/ burnettk 2022-06-07 11:07:38 -04:00
jasquat 60c60e7ea3 fixed a couple apis for the react frontend w/ burnettk 2022-06-06 17:16:25 -04:00
jasquat 49524e6fcd added some additional apis for the frontend 2022-06-06 09:05:14 -04:00
jasquat 4c7b1e201e renamed cat to process group w/ burnettk 2022-06-03 13:45:32 -04:00
jasquat 786754a2a0 return process models back with process group w/ burnettk 2022-06-03 13:40:11 -04:00
jasquat 7b3f3410d7 added api to get a single process group w/ burnettk 2022-06-03 12:18:41 -04:00
jasquat f08992f2e5 added api to get process groups w/ burnettk 2022-06-03 10:56:07 -04:00
jasquat 67a9ce68e7 ran precommit and ignoring html files with prettier since it has a hard time with jinja files w/ burnettk 2022-06-02 10:17:53 -04:00
jasquat d235c64915 updated to use spiffworkflow-backend naming w/ burnettk 2022-06-01 11:17:25 -04:00
jasquat 980eff6d23 saving bpmn diagrams work again w/ burnettk 2022-06-01 11:10:00 -04:00
jasquat 2c4f2adeeb some auto linting fixes w/ burnettk 2022-05-31 14:10:00 -04:00
Dan 4c0c58c8e9 a little test cleanup, removing study, getting the previously submitted data, but "next_task" is still none. 2022-05-27 10:58:37 -04:00
jasquat 485ccf5e7b wip: almost can create an instance w/ burnettk 2022-05-26 17:29:54 -04:00
jasquat bb530d1744 wip: attempting to create process instance w/ burnettk 2022-05-26 16:20:30 -04:00
jasquat eb08e08ddd wip: attempting to create process instance w/ burnettk 2022-05-26 14:17:05 -04:00
jasquat 86938792fd added test to create a spec file w/ burnettk 2022-05-25 16:38:03 -04:00
jasquat eb082fe01c added test and code to add a process model w/ burnettk 2022-05-25 15:17:30 -04:00
jasquat 1993dc1bd6 wip for process deploy and fixed code coverage for test_data w/ burnettk 2022-05-25 10:19:35 -04:00
burnettk b7d83e101c unhardcode 2022-05-24 16:03:08 -04:00
burnettk aa232fe292 update tests lint 2022-05-23 19:14:52 -04:00
jasquat 1712182a1e added a permission unit test w/ burnettk 2022-05-23 17:23:13 -04:00
jasquat e3d90a6044 added process models and cleaned up some of the code w/ burnettk 2022-05-23 16:36:23 -04:00
burnettk d4655e4ac4 remove assertion that did not work 2022-05-20 18:11:32 -04:00
burnettk aa9f252e4a maybe it works to update the variable in the foor loop 2022-05-20 18:01:01 -04:00
jasquat 66d16ae409 added configs w/ burnettk 2022-05-19 14:38:47 -04:00
jasquat 2f918f5418 mypy should be passing now 2022-05-18 17:07:35 -04:00
jasquat 74ca1b4201 added tests for api blueprint and annotations w/ burnettk 2022-05-18 12:18:47 -04:00
jasquat 0acef91a88 added remaining init files w/ burnettk 2022-05-18 11:18:14 -04:00
jasquat bdee9ff583 added some annotations using monkeytype w/ burnettk 2022-05-18 10:49:20 -04:00
jasquat 715395335f pre-commit is passing w/ burnettk 2022-05-18 10:21:44 -04:00
jasquat a97605b08b add full acceptance test for adding users and groups w/ burnettk 2022-05-18 10:17:10 -04:00
jasquat 4e6eb974da pre-commit is passing w/ burnettk 2022-05-17 16:47:55 -04:00
jasquat 3c8ded606e extended the api to create users and groups, added some tests, and added some helpful commands w/ burnettk 2022-05-17 16:35:38 -04:00
jasquat 116145e91f initial commit w/ burnettk 2022-05-13 13:42:42 -04:00