Commit Graph

1384 Commits

Author SHA1 Message Date
jasquat f14d05c793
add extensions back onto task before returning task show w/ burnettk 2023-04-24 12:58:07 -04:00
jasquat afc7391806
backend tests are passing w/ burnettk 2023-04-24 12:41:33 -04:00
jasquat ecade1631a
merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
jasquat 8952aab807
tests for good error messages are mostly working w/ burnettk 2023-04-24 11:13:01 -04:00
jasquat e247c074ae
added TaskModelException to replace WorkflowTaskException to create exceptions with db w/ burnettk 2023-04-24 10:52:30 -04:00
burnettk 2e5491fc88
truncate task_line_contents so it does not explode on the db interaction 2023-04-23 23:59:09 -04:00
burnettk 5a2f499b69
allow deleting instances with human tasks, and debug failing test 2023-04-23 23:04:31 -04:00
Dan 96703f8e70 run pyl 2023-04-23 12:27:40 -04:00
Dan fb7c600e99 * Was doing things a bit out of order - so we weren't always displaying messages as we should have on the interstitial page.
* Do a better job of catching all the error messages when they happen.
2023-04-23 12:22:43 -04:00
Dan f57aff1a36 run_pyl 2023-04-23 11:46:29 -04:00
Dan d2a8001d2d run_pyl 2023-04-22 15:45:20 -04:00
Dan e9aae6123e * Scroll to the top on each update of a process result.
* When displaying an error, scroll to the top of the page.
* Rename a few of the filter titles to better match the titles of the table on the process instances list page.
* Add error_message to the task object - so if a task is in an error state and has a message, we send it to the front end.
* Handle errors on the Interstitial page - so if an error happens during execution it is diplayed, and if an error happened previously, we show it.
* Return the last Errored Tasks if no READY or WAITING tasks exists when calling the Interstitial endpoint.
2023-04-22 15:38:51 -04:00
burnettk 5deb55c170
fix lint 2023-04-21 18:20:07 -04:00
jasquat 3b48f9e4eb
fixed one test w/ burnettk 2023-04-21 16:48:12 -04:00
jasquat 3cb9b2ebf7
some pyl stuff. tests are failing w/ burnettk 2023-04-21 16:32:29 -04:00
jasquat 09d5ba8409
Revert "some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk"
This reverts commit 5a561fb833.
2023-04-21 15:56:32 -04:00
jasquat 5a561fb833
some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk 2023-04-21 15:54:31 -04:00
jasquat c7aae99774
set buffering header to no for interstitial page response. w/ burnettk danfunk 2023-04-21 11:03:53 -04:00
jasquat 79d3c907c6
pyl 2023-04-21 09:32:22 -04:00
Dan Funk 113939fc7c
Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
burnettk f1e1a158e7
fixing TypeError: type of value sent to generator must be str 2023-04-20 23:16:45 -04:00
burnettk 92e0f13006
lint 2023-04-20 18:25:44 -04:00
burnettk d0e2b5050a
add test to ensure your database is case sensitive 2023-04-20 17:43:11 -04:00
Dan 7b5c1e102e Fixing formatting? 2023-04-20 17:05:05 -04:00
Dan 7cccc2a6a2 fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
Dan b9a3b4fbf8 Merging with main. 2023-04-20 16:06:22 -04:00
Dan c8d4ee050c pyl 2023-04-20 15:42:57 -04:00
Dan fade40ccb8 * Because end events won't always have information, allow the interstitial api endpoint to return the last task, even if it doesn't have any end user information. This prevents us from just redirecting everthing back to the home page and encourages better end event messaging.
* Cleaning up icons so they are a little smaller and more consistent.
* Always show that action column.
* Improve the state managment and layout of the interstitial page.
2023-04-20 15:27:32 -04:00
jasquat f3d3c31dd5
fixed sqlalchemy warning w/ burnettk 2023-04-20 15:00:12 -04:00
jasquat ba893eda4f
updated SpiffWorkflow w/ burnettk 2023-04-20 14:49:34 -04:00
jasquat f8ba4a04bb
merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 0320116b79
fixed tests and added test to ensure we are saving error events to the db on error w/ burnettk 2023-04-20 13:32:45 -04:00
jasquat a5e0574981
flake8 and mypy fixes w/ burnettk 2023-04-20 13:01:05 -04:00
jasquat dc2c1be497
properly save task and instance exceptions to the db and display in the frontend w/ burnettk 2023-04-20 11:49:34 -04:00
jasquat 2e1620a519
store stacktrace as a json array so we can reverse it when displaying and fixed up display of errors 2023-04-20 08:31:55 -04:00
jasquat 5049f1dc49
some debug stuff 2023-04-20 07:35:39 -04:00
Dan 5956326450 * add a user section to the acceptance tests, this is all that is required to allow the cypress tests to run against the built-in open-id.
* If the interstitial page does not receive any tasks, it should redirect the main home page.  I think this allows all the cypress tests to pass - as the most common moment for this to occur is when an end event has no documentation on it.
2023-04-19 18:46:08 -04:00
jbirddog 61a4243e6d
Called elements (#218) 2023-04-19 18:07:15 -04:00
Dan c7457daa31 run pyl. 2023-04-19 17:00:09 -04:00
jasquat 19e3b7da1e
fixed test w/ burnettk 2023-04-19 15:52:11 -04:00
jasquat 94414ea86b
display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
Dan bab5646ac0 Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
Dan cb1311fb56 getting all the tests to pass. 2023-04-19 15:13:00 -04:00
jasquat 49d954fdd6
added api to get error details for an event and added simple modal on frontend to show it 2023-04-19 13:56:00 -04:00
Dan 22d9cda529 Add a test for the interstitial endpoint.
Assure all "GO" buttons lead to the interstial page, and display differently depending on if there is anything you can actually do.
2023-04-19 13:52:29 -04:00
jasquat 430bd9c12a
store process instance errors in the db w/ burnettk 2023-04-19 11:24:54 -04:00
Dan 18f3b34c4a make sure we can properly display lanes. 2023-04-18 19:36:31 -04:00
Dan b6480fb9fe cleaing up the design a little bit so it looks pretty and in keeping with the rest of the site. 2023-04-18 16:58:59 -04:00
jasquat d189adb174
updated SpiffWorkflow w/ burnettk 2023-04-18 15:24:29 -04:00
jasquat 279c75135b
fixed broken test w/ burnettk 2023-04-18 12:41:39 -04:00
jasquat 7b4905451c
log filtering is working and downgraded react-router-dom since it broke editing bpmn diagrams w/ burnettk 2023-04-18 12:36:45 -04:00
jasquat e06ad98021
merged in main and resolved conflicts w/ burnettk 2023-04-18 11:04:44 -04:00
jasquat 6aac21ebef
updated missing columns on homepage to go to instance page and fixed waiting for me table returning incorrect tasks 2023-04-18 10:27:38 -04:00
jasquat b23dcb5a34
added api to get task types and added combo box w/ burnettk 2023-04-17 17:26:05 -04:00
jasquat 49045eacd3
Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:41:06 -04:00
burnettk ea3a9ed7aa
ignore annoying logger with useless output 2023-04-17 16:40:51 -04:00
jasquat 0a8610492e
Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:29:58 -04:00
jasquat 4efdbdc48e
try to make single process hash unique within full process model hash 2023-04-17 15:42:58 -04:00
jbirddog 9291741209
spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00
jasquat 25316cd520
use the full bpmn process path to determine most recent task w/ burnettk 2023-04-17 14:46:18 -04:00
Dan 481d55b9bf Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-17 14:43:40 -04:00
Dan bfb2213321 Assure we save after every chunk of tasks get completed on the interstital endpoint.
Fix a merge screwup in the workflow execution service
Add an instructions for end user component so we can reuse the logic in multiple places.
Split up the intersitital page so that it clears out the interval timer.
2023-04-17 14:43:30 -04:00
jasquat 02ebf41f74
only query for active human tasks on in-progress home page 2023-04-17 13:45:54 -04:00
jasquat 3c8aab1048
added new column to bpmn process definition to store the full bpmn process hash digest w/ burnettk 2023-04-17 12:01:36 -04:00
jasquat daf57f14bc
some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan b77789ff30 drop completed_tasks from the task_api object
Show the "next" task if no task is provided on the task_show api endpoint
Adding interstitial endpoint
Rename run to run_and_save
Remove repeated code from execution strategy
Adding interstital frontend page
2023-04-14 15:44:59 -04:00
jasquat 961c1986be
moved the recursive run task method to the greedy strategy so not all strategies have to do it 2023-04-14 14:13:42 -04:00
jasquat 38c748b0cf
added script to add passwords to keycloak user list and moved user lists out of this repo w/ burnettk 2023-04-14 12:09:51 -04:00
jasquat 0aa0698557
Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-14 09:20:30 -04:00
Elizabeth Esswein 66aaaa0dd9
Merge pull request #211 from sartography/feature/process-map-enhancements
Feature/process map enhancements
2023-04-13 18:47:04 -04:00
jasquat 24022a73ec
pyl and turn back on autoreload for homepage w/ burnettk 2023-04-13 16:56:49 -04:00
jasquat 91ed5d1bc2
updated text on home page w/ burnettk 2023-04-13 16:36:46 -04:00
burnettk 12b3a2b271
bump spiff 2023-04-13 15:31:40 -04:00
jasquat 9204bc490a
displaying process instances instead of tasks functionality is mostly complete. still need to update text on homepage and some cleanup 2023-04-13 14:12:09 -04:00
burnettk 2556012880
lint 2023-04-13 12:38:31 -04:00
jasquat 091efb3d01
updated all instance reports for the in progress instances page 2023-04-13 07:42:41 -04:00
Elizabeth Esswein c848115eb6 exclude tasks from out of date subprocesses 2023-04-12 17:05:41 -04:00
jasquat cc380465d2
some initial work for home page refactor w/ burnettk 2023-04-12 14:32:34 -04:00
jasquat d61d420032
ensure we save the process instance on error when in dequeue w/ burnettk 2023-04-12 11:16:39 -04:00
jasquat 7ccbc86c48
sub out git protocol from the uri for https when publishing w/ burnettk 2023-04-11 16:27:54 -04:00
Kevin Burnett 082a6434cf
Merge pull request #208 from sartography/feature/prometheus-metrics
Feature/prometheus metrics
2023-04-11 19:51:35 +00:00
jasquat 10d0bb8dae
added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jasquat a9fc10aa55
dequeue in background processor instead of init to avoid lock issues when a read only object is necessary w/ burnettk jbirddog 2023-04-11 14:40:38 -04:00
jasquat 29ae12e78a
Merge remote-tracking branch 'origin/main' into feature/prometheus-metrics 2023-04-11 13:23:06 -04:00
jasquat 33964a08bb
remove predicted children when processing the parent instead of when processing the children w/ burnettk 2023-04-10 16:34:52 -04:00
jasquat 932beaee6f
updated spiffworkflow 2023-04-10 13:06:14 -04:00
jasquat c7005aae80
using spiffworkflow run-boundary-events-from-engine-steps branch and tests pass w/ burnettk 2023-04-10 12:22:33 -04:00
jasquat 0f57eb1529
pyl w/ burnettk 2023-04-07 16:13:01 -04:00
jasquat 092f558632
replace periods with underscores in version info w/ burnettk 2023-04-07 16:09:30 -04:00
jasquat ff70c20acd
create the app verison file in the correct directory w/ burnettk 2023-04-07 15:48:18 -04:00
jasquat 3ff855350a
attempt to get git docker labels into version json file w/ burnettk 2023-04-07 15:32:28 -04:00
jasquat e2b8f17a7e
merged in main and resolved conflicts w/ burnettk 2023-04-07 14:59:49 -04:00
jasquat 9a664e3354
updated spiffworkflow to send events to top level workflow w/ burnettk 2023-04-07 14:53:05 -04:00
jasquat 81de98176c
set process instance status to error if it cannot be initialized properly w/ burnettk 2023-04-07 14:13:04 -04:00
Jakub Sokołowski 93584072e3
backend: log oauth payload on invalid_token error
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-07 18:42:18 +02:00
burnettk 807c74dc5d
remove unreferenced permissions files 2023-04-07 11:12:31 -04:00
burnettk 26bf63c52e
get rid of a lot of cruft in config files, w/ jason 2023-04-07 11:11:23 -04:00
jasquat 4d9ea03a8f
give a better error message with unknown workflow exceptions w/ burnettk 2023-04-06 16:00:54 -04:00
jasquat a47a00bd7f
a couple minor fixes w/ burnettk 2023-04-06 15:45:16 -04:00
jasquat 98b30d4a34
delete tasks that do not have an end time when restting a process instance 2023-04-06 14:10:51 -04:00