cr-connect-workflow/crc/scripts
Dan 5e54c90b47 "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running.
Also:
* Assured that arguments are consistent (we always seem to use workflow_spec_id, so I made sure we use that consistently.
* Don't require named parameters - so it's cool to call it like: reset_workflow('my_workflow_id')
* Task Actions (ie create, assign, etc...) are now an enumeration in the models, and not static variables on Workflow Service, so we can reference them consistently from anywhere.
* Removed some repetitive code
* Always try to validate as much as possible in the scripts to save folks time debugging.
*
2022-04-15 15:36:23 -04:00
..
__init__.py Lots and lots of random stuff as I organize code and get things to make sense. 2019-12-18 14:02:17 -05:00
check_study.py Improved Errors - Pick up on the new task_trace information in WorkflowException and pass it on through the api. 2022-03-14 16:00:53 -04:00
complete_template.py An optimization prevented us from picking up a change to the documents associated with a study. This assures that even if scripts run side by side, the document list will get updated, but only on a change. So it's still performant. Also added a sligthly better error message to the workflow service. 2022-02-28 12:17:21 -05:00
data_store_get.py Consolidate data_store scripts 2022-04-13 17:57:22 -04:00
data_store_set.py Consolidate data_store scripts 2022-04-13 17:57:22 -04:00
delete_file.py Improved Errors - Pick up on the new task_trace information in WorkflowException and pass it on through the api. 2022-03-14 16:00:53 -04:00
delete_task_data.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
delete_variables.py Script to delete variables from task data 2022-02-21 12:55:03 -05:00
email.py Merge branch 'convert-timestamp-499' of https://github.com/sartography/cr-connect-workflow into convert-timestamp-499 2021-10-26 15:39:38 -04:00
enum_label.py Cleaning up Print Statements (it was making it hard to see what was happening) 2022-03-08 15:46:36 -05:00
fact_service.py Cleaning up Print Statements (it was making it hard to see what was happening) 2022-03-08 15:46:36 -05:00
failing_script.py Tests for uid in logs. Currently we test for uid in a response. This covers ApiError. 2020-12-11 17:47:53 -05:00
get_dashboard_url.py Changed URL to use HTTPS instead of HTTP 2021-05-06 15:52:27 -04:00
get_email_data.py Improved Errors - Pick up on the new task_trace information in WorkflowException and pass it on through the api. 2022-03-14 16:00:53 -04:00
get_irb_info.py The IRB Info API endpoint can return a dictionary--if the study is **not** yet uploaded, or a list with 1 dictionary if the study **is** uploaded 2022-04-07 14:38:32 -04:00
get_localtime.py Added ordered arguments to the get_localtime script 2021-11-03 08:36:24 -04:00
get_logs_for_study.py Changes to remove pagination for the get_logs scripts. 2022-03-11 14:03:09 -05:00
get_logs_for_workflow.py Remove unused code 2022-03-14 12:03:11 -04:00
get_spec_from_id.py Fix test class names 2022-02-21 12:56:04 -05:00
get_spec_from_workflow_id.py Fix test class names 2022-02-21 12:56:04 -05:00
get_study_associate.py When validating a workflow, don't run the master workflow multiple times, its a huge waste of time. 2021-11-22 17:17:19 -05:00
get_study_associates.py If we receive a study_id during validation, return the associates for the study 2022-03-04 16:27:33 -05:00
get_study_progress_status.py Script to get the new progress_status value 2021-12-10 16:16:33 -05:00
get_study_status.py Fixed the class names 2021-12-03 11:53:21 -05:00
get_workflow_status.py Improved Errors - Pick up on the new task_trace information in WorkflowException and pass it on through the api. 2022-03-14 16:00:53 -04:00
get_zipped_files.py Allow users to pass a `doc_code` to get_zipped_files script 2022-03-28 11:59:10 -04:00
is_file_uploaded.py remove all the @timeit from method calls. 2022-02-24 21:06:22 -05:00
ldap.py Cleaned up what we return from the description, for the tools/list_scripts API endpoint 2021-09-22 12:12:26 -04:00
log.py Remove unused imports 2022-03-14 12:02:48 -04:00
modify_spreadsheet.py Typo calling script with keywords 2022-02-25 08:18:07 -05:00
reset_workflow.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
script.py remove all the @timeit from method calls. 2022-02-24 21:06:22 -05:00
set_study_progress_status.py Improved Errors - Pick up on the new task_trace information in WorkflowException and pass it on through the api. 2022-03-14 16:00:53 -04:00
set_study_status.py Use the actual enum values so we don't have to deal with this the next time we make a change to study status 2022-03-07 13:28:29 -05:00
start_workflow.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
study_info.py rm pi id refs 2022-03-18 12:04:20 -04:00
update_study.py rm pi id refs 2022-03-18 12:04:20 -04:00
update_study_associate.py Cleaned up what we return from the description, for the tools/list_scripts API endpoint 2021-09-22 12:12:26 -04:00
update_study_associates.py Cleaned up what we return from the description, for the tools/list_scripts API endpoint 2021-09-22 12:12:26 -04:00