Commit Graph

1256 Commits

Author SHA1 Message Date
jasquat 854b41378f WIP trying to get resetting to a task within a subprocess working w/ burnettk 2023-03-30 16:30:34 -04:00
jasquat c73c0dcad1 fixed some failing tests except for test_send_event 2023-03-30 15:25:44 -04:00
jasquat b4b54f3fff do not save predicted tasks to the db w/ burnettk 2023-03-30 12:41:42 -04:00
jasquat 31cb1ab27c remove pdb w/ burnettk 2023-03-30 11:16:44 -04:00
jasquat e3b8653296 added an init method to task service and move a lot of code from workflow execution to it and fixed up the task running test to check things more thoroughly 2023-03-30 11:15:27 -04:00
jasquat edc0ea83fa Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-30 07:51:05 -04:00
jasquat 1ee8ba252e check if data file value is a string before returning it w/ burnettk 2023-03-29 16:49:33 -04:00
jasquat 7bb7543a42 import missing lib w/ burnettk 2023-03-29 16:03:45 -04:00
burnettk cdf5fc313a use text for sql 2023-03-29 15:51:04 -04:00
burnettk 82ec34e00b i am terrible 2023-03-29 14:18:37 -04:00
burnettk b7d154ff02 delete postgres container if it is there 2023-03-29 14:17:26 -04:00
burnettk 5844cea958 exact match 2023-03-29 13:47:03 -04:00
jasquat a7521cba65 run snyk on backend and added marshmallow dep to remove warning w/ burnettk 2023-03-28 16:55:13 -04:00
jasquat 32029a644b Merge pull request #198 from sartography/feature/safety
Feature/safety
2023-03-28 16:32:58 -04:00
jasquat 98a935e222 use session delete branch of sqlalchemy stubs w/ burnettk 2023-03-28 16:28:41 -04:00
jasquat 14927c5271 remove unnecessary libs from pyproject in root of arena w/ burnettk 2023-03-28 16:12:27 -04:00
jasquat a878790393 add back in sqlalchemy stubs w/ burnettk 2023-03-28 16:05:43 -04:00
Elizabeth Esswein 2cb07478c4 Merge pull request #196 from sartography/bugfix/use-spiff-business-rule-task
import parser from spiff package
2023-03-28 16:02:56 -04:00
jasquat e7fef5b6c4 updated sqlalchemy to 2.0 due to safety complaints w/ burnettk 2023-03-28 15:56:00 -04:00
jasquat 1ee6753c28 Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-28 15:07:36 -04:00
jasquat 9a3f50d5fc some more debugging 2023-03-28 15:07:31 -04:00
burnettk 16b837daca downgrade setuptools closer to where it was to avoid deprecation warnings 2023-03-28 14:58:16 -04:00
burnettk 3371148d4a fix four of five safety issues 2023-03-28 14:51:08 -04:00
burnettk 141bb4fcb8 kill commented out code 2023-03-28 11:22:42 -04:00
burnettk fa5ded0f26 get backend working with new spiff 2023-03-28 10:33:53 -04:00
burnettk 01f8bc0f87 fix all sonar bugs 2023-03-28 10:05:29 -04:00
jasquat 68ff38e65c Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-28 08:27:56 -04:00
jasquat fdd6d92506 resolved merge conflicts 2023-03-28 08:24:53 -04:00
jasquat 3ce25bba7e some more attempts to get reset working 2023-03-28 08:23:09 -04:00
burnettk 5a57fc34b9 remove second, conflicting madhurya account 2023-03-28 08:07:54 -04:00
burnettk 21a97fb4cf lint 2023-03-28 08:04:42 -04:00
burnettk e6cb06c4a3 Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-27 20:27:19 -04:00
burnettk 151cb13255 task_guid is a str, thanks, typeguard 2023-03-27 20:22:12 -04:00
burnettk 4a092a8e2a tests have been broken in ci, and this should fix it 2023-03-27 17:02:29 -04:00
Elizabeth Esswein 7e32c800ac import parser from spiff package 2023-03-27 16:13:17 -04:00
jasquat 2df8d3eabb Merge remote-tracking branch 'origin/main' into feature/fix_process_instance_rewind 2023-03-27 16:10:26 -04:00
jbirddog f0681aec28 Handle the multiple single file upload widget case (#195) 2023-03-27 16:03:22 -04:00
jasquat e54b97ab2e Merge branch 'main' of github.com:sartography/spiff-arena 2023-03-27 15:42:30 -04:00
jasquat 6a6a3f0413 moved common admin users to admin user script w/ burnettk 2023-03-27 15:42:26 -04:00
Kevin Burnett 8c481f29fb Merge pull request #194 from sartography/feature/filter-metadata-columns-by-process-model
Feature/filter metadata columns by process model
2023-03-27 12:37:24 -07:00
jasquat 4d341cf8e4 do not allow uploading a user to keycloak that matches admin user that the script is using w/ burnettk 2023-03-27 14:09:08 -04:00
burnettk 7b7f9f8e3a user cleanup 2023-03-27 11:22:53 -04:00
jasquat 1ae29c1599 process children and tasks of parent subprocesses instead of looking for all tasks with a given state w/ burnettk 2023-03-27 10:37:31 -04:00
burnettk a263696758 add test for filtering columns and clarify that we are doing unit tests with api, whoops 2023-03-24 18:11:11 -04:00
burnettk 54927ef62c filter report column list by process_model_identifier if any 2023-03-24 17:54:37 -04:00
jasquat 85626ba399 couple fixes for running a process model from script w/ burnettk 2023-03-24 12:09:27 -04:00
jasquat 29b33fe2f1 removed debug comment w/ burnettk 2023-03-24 11:11:44 -04:00
jasquat af648c9c32 Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-24 09:10:44 -04:00
jasquat 0ae74f8f35 removed spiff step details w/ burnettk 2023-03-23 16:33:30 -04:00
jasquat 94cd732ebd save timestamps when manually completing a task and some cleanup w/ burnettk 2023-03-23 16:07:25 -04:00
jasquat 3f49f912ea pyl passes w/ burnettk 2023-03-23 15:16:39 -04:00
jasquat 77ae760586 fixed editing task data and skipping tasks, moved task and task data methods from process_api_blueprint to tasks_controller, and updated to favor task_guid over task_id in some places 2023-03-23 14:28:20 -04:00
burnettk 9b5f4c8243 lint 2023-03-23 14:25:45 -04:00
burnettk 9e89c13a65 add test user to keycloak 2023-03-23 14:24:41 -04:00
jasquat f45f2c1cc6 added link to go back to most recent 2023-03-23 13:55:16 -04:00
jasquat 46b49bbfe3 Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-23 13:02:42 -04:00
jasquat 7a14a58518 commented out reset process code and added comment and raise until we get it actually working and fixed issue with viewing at completed task where it was not including the tasks for the parent bpmn processes 2023-03-23 10:44:09 -04:00
jasquat c2612b873f added check result function when running a process model from the shell script 2023-03-23 07:41:59 -04:00
burnettk 152be789ec another take on metrics 2023-03-22 22:40:56 -04:00
jasquat bf84d48a69 added script to create and run a process model w/ burnettk 2023-03-22 15:52:00 -04:00
jasquat 722680a5ac some more debugging for resetting a process to specific task w/ burnettk 2023-03-22 14:39:04 -04:00
jasquat 5ddde2aeaa Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-22 13:53:51 -04:00
jasquat 2fe0300b81 do not fail if cannot get a token for a user in login w/ burnettk 2023-03-22 12:22:27 -04:00
jasquat 61da3d6b6f updated manual task with subprocess bpmn w/ burnettk 2023-03-22 10:45:40 -04:00
jasquat 26af07befd resetting tasks somewhat work 2023-03-22 09:44:13 -04:00
jasquat 034201b01c pyl 2023-03-21 13:34:59 -04:00
jasquat 3bf1c49a75 Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-21 12:17:52 -04:00
burnettk a1f546ba16 add SPIFFWORKFLOW_BACKEND_SENTRY_ENV_IDENTIFIER config 2023-03-21 11:29:14 -04:00
jasquat 8baa38d22b use consistent types for tasks in webui instance show page and mark the to task guid task as ready in backend 2023-03-21 10:45:10 -04:00
jbirddog 992648f087 Optimisticly skip locking/background processing (#190) 2023-03-21 09:37:10 -04:00
jasquat b1e9e8fabe Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-21 09:05:03 -04:00
Dan f9a7b3cb71 checking for "falsy" lists in python will return false if the list is empty -- but we want to clear out the columns and filters if they are empty lists. 2023-03-20 17:47:52 -04:00
jasquat 94caddf9de send to task guid to signify how far to go with the tasks w/ burnettk 2023-03-20 17:29:53 -04:00
jasquat b957954d30 get task data from json data table now w/ burnettk 2023-03-20 17:05:15 -04:00
jasquat bc58de809e use task table for process instance show page. spiff steps are not working yet and neither is data w/ burnettk 2023-03-20 16:51:29 -04:00
jasquat 9765f74bc0 some more updates w/ burnettk 2023-03-20 12:04:22 -04:00
jasquat 50e4d27dbd Merge remote-tracking branch 'origin/main' into feature/remove_spif_step_details 2023-03-20 11:06:02 -04:00
jbirddog 0640836b39 Refresh process_instance after obtaining the background lock (#189) 2023-03-20 10:58:43 -04:00
jasquat 7b3eb4730f fixed broken test w/ burnettk 2023-03-20 10:55:57 -04:00
jasquat 7a891c786d check if process initiator exists before running a process instance report w/ burnettk 2023-03-20 10:53:23 -04:00
jasquat 4c891903c4 some basic changes to test using tasks instead of spiff step details 2023-03-20 09:49:07 -04:00
jasquat 50acac8160 some more index updates and a new migration for it w/ burnettk 2023-03-17 16:52:05 -04:00
jasquat b6ddf3db3a added indexes to foreign key fields w/ burnettk 2023-03-17 16:26:35 -04:00
jasquat bc00f91570 some updates to db indexes w/ burnettk 2023-03-17 16:15:09 -04:00
jasquat 3ca165bb94 recreated migrations to remove spiff logging w/ burnettk 2023-03-17 15:50:05 -04:00
jasquat f8856db032 removed spiff_logging w/ burnettk 2023-03-17 15:49:16 -04:00
jasquat 77e97d7a57 tasks can be skipped and manually executed w/ burnettk 2023-03-17 15:35:27 -04:00
jasquat 6a8676281c fixed tests 2023-03-17 14:03:21 -04:00
jasquat 3782864dc9 added event logs for skipping and manually editing a task 2023-03-17 13:51:56 -04:00
jasquat 88df3bd5c3 added process instance event table 2023-03-17 13:20:06 -04:00
jasquat 3461056beb Merge remote-tracking branch 'origin/main' into feature/use_tasks_as_logs 2023-03-17 12:40:26 -04:00
jbirddog 90aed76e21 UAT bug fix: suspended/terminated instances automagically resume (#186) 2023-03-17 11:55:11 -04:00
jasquat e0dbb6a768 updated log list view in frontend w/ burnettk 2023-03-17 10:30:29 -04:00
jasquat 363428df09 added bpmn_name columns to definition tables and added test for simple logs as well 2023-03-17 10:00:59 -04:00
burnettk 3614ec19c6 add user 2023-03-17 09:42:38 -04:00
burnettk 6bfce59fe3 lint 2023-03-16 22:59:42 -04:00
burnettk c4acbab343 fix all deprecation warnings 2023-03-16 22:42:35 -04:00
jasquat 4b96a0c453 add in missing fields to logs 2023-03-16 17:58:43 -04:00
jasquat d3393fc6d0 added bpmn process definition to bpmn process w/ burnettk 2023-03-16 16:59:37 -04:00
jasquat d75d66c33f pyl w/ burnettk 2023-03-16 16:18:02 -04:00