Dan
0ad9843569
Dealing with some changes in SpiffWorkflow's latest release. I think this gets all tests passing again, and behaving as expected.
2022-02-16 10:46:46 -05:00
Dan
093741fa90
By default the system will start up the scheduled tasks, which is usually what you want, but in development
...
it can be kind of irritating for this stuff to be spinning up when you are trying to debug something, so just set
PROCESS_WAITING_TASKS to false in instance/config.py and voila!!
2022-02-15 14:07:09 -05:00
Dan
4f2602c2f8
Assure sync_file_root can be set from an environment variable.
2022-02-11 10:19:25 -05:00
Dan
1b993ea227
updating readme
2022-02-11 09:47:49 -05:00
Dan
9a9e90dc30
Assure the import test has reference files.
2022-02-10 10:49:15 -05:00
Dan
f12c4aba52
Refactor the workflow_spec_service so it doesn't cache anything, it always reads what it needs from the file system.
2022-02-09 21:06:55 -05:00
alicia pritchett
112226e9b0
libraries on a spec are now just strings in a list
2022-02-08 11:38:43 -05:00
Dan
d64853fa5b
two passing tests around the WorkflowSpecService
2022-02-07 13:34:13 -05:00
Dan
abc17a8aff
load the workflow_spec_service from app to avoid frequent file scans.
2022-02-07 12:30:20 -05:00
Dan
ed07907ee2
at least allow the tests to spin up, even if they all fail.
2022-02-07 11:00:19 -05:00
Dan
6765afbd02
WIP - Move the categories and specifications out of the database.
2022-02-04 13:51:39 -05:00
Dan Funk
58b3378fbf
Merge pull request #448 from sartography/get-spec-from-workflow-id-589
...
Get spec from workflow id #589
2022-01-24 16:40:53 -05:00
mike cullerton
209ea49962
Test for new script
2022-01-24 12:41:08 -05:00
mike cullerton
73e250a54c
Test for missing library hint in the error message
2022-01-24 10:35:11 -05:00
mike cullerton
91fa44b2ab
** WIP **
...
Committing so I can work on another ticket.
2022-01-21 14:37:11 -05:00
Dan
962d05c875
1. Created a TaskLoggingService to encapsulate what we are doing with Task Logging through BPMN Script calls and API calls from the front end.
...
2. Added two api endpoints that will allow us to get all the logs for a specific workflow or study.
3. Assured that requests for logs are paginated, sortable, and can be limited to a specific code if needed.
4. Assure that we only use logging levels that match the log levels of Python.
2022-01-10 13:16:54 -05:00
Dan
212be423f7
bumping spiffworkflow to support transcations and cancels properly.
2021-12-30 13:01:38 -05:00
Dan
3480e1c8ab
use a signal, in addition to firing off a cancel notify when a workflow is restarted.
2021-12-23 15:30:09 -05:00
Dan
c46800171d
Merge remote-tracking branch 'origin/dev' into bug/fix-task-data
2021-12-13 13:18:00 -05:00
mike cullerton
acbb8898e4
Merge branch 'more-study-statuses-562' into waiting-workflow-errors-566
2021-12-10 16:52:07 -05:00
mike cullerton
daef419993
Tests and workflow for the changes
2021-12-10 16:18:05 -05:00
mike cullerton
61975093f9
Renamed some files to include the word progress
2021-12-10 15:47:34 -05:00
alicia pritchett
cacd57ce6f
fix this bpmn
2021-12-10 12:31:35 -05:00
mike cullerton
52baf25459
In WorkflowService.do_waiting
, if a workflow causes an exception, change its status from waiting
to erroring
so we don't continue to call it in do_waiting
.
2021-12-09 15:33:39 -05:00
mike cullerton
49ba36c95e
Use one of the new statuses in the test.
...
Fix bug in validation test
2021-12-09 13:33:20 -05:00
Dan Funk
0cfa59bfea
Merge pull request #429 from sartography/chore/clear-form-data-553
...
Fixes #553 - Don't load Form data
2021-12-08 10:37:44 -05:00
Dan Funk
b28ddef842
Merge pull request #430 from sartography/study-status-scripts-556
...
Study status scripts #556
2021-12-08 10:36:53 -05:00
Dan
ffafc1674a
assure we don't overwrite task data with a previous form submission if that data already exists.
2021-12-07 17:04:20 -05:00
mike cullerton
d0ddc7a00f
Updated to match new UVA API endpoint
2021-12-06 14:39:49 -05:00
alicia pritchett
22320efad4
test for this ticket
2021-12-03 12:23:57 -05:00
mike cullerton
fa61aa0354
Tests for set_study_status
2021-12-03 11:45:39 -05:00
mike cullerton
1ed76bf534
test for get_study_status
2021-12-02 15:31:14 -05:00
Dan
cf3f8ce444
Missing the bpmns for a test.
2021-11-30 13:29:31 -05:00
Dan Funk
8c30df011b
Merge pull request #427 from sartography/workflow-status-script-548
...
Workflow status script #548
2021-11-30 10:51:57 -05:00
Dan Funk
c8c8c8b244
Merge pull request #424 from sartography/xls-xlsx-issue-540
...
Xls xlsx issue #540
2021-11-30 10:50:33 -05:00
mike cullerton
0f1ccd7db5
New script to check workflow status.
...
Includes test and test workflow
2021-11-30 08:54:15 -05:00
Dan
8ec58fd6d7
Assure better error messages when parsing word documents with jinja syntax.
...
I also have a pull request into the folks that run the python docx library to improve their error messages that we depend on here.
2021-11-23 14:38:48 -05:00
Dan
5e97953c19
Merge branch 'dev' into xls-xlsx-issue-540
2021-11-16 15:59:06 -05:00
Dan
8e2e3519f6
fixes to our tests related to updates in SpiffWorkflow
2021-11-16 15:57:37 -05:00
Dan
3569c82e80
fixing additional tests
2021-11-16 15:46:02 -05:00
mike cullerton
df0800f071
New test and xls file for failing test
2021-11-16 11:57:24 -05:00
mike cullerton
4e13ea6704
Fixing test mocks
...
- study_details returned in a list
- added `Q_COMPLETE` and `HSRNUMBER` to user_studies
- `required_docs` totally different from what we had
2021-11-08 09:55:06 -05:00
mike cullerton
1f9c80d70d
Added ordered arguments to the get_localtime script
...
Modified the workflow so the first task is a form with booleans that allows me to test all the permutations.
Modified tests to cover all the permutations for calling the script
2021-11-03 08:36:24 -04:00
Dan Funk
c4f3a3ad0d
Merge pull request #413 from sartography/logging-script-513
...
Logging script #513
2021-11-01 15:41:38 -04:00
mike cullerton
629fe6f571
Tests and workflows
2021-10-27 16:39:50 -04:00
mike cullerton
a3c3a9a75d
Test and workflow for the new logging script
2021-10-27 12:22:17 -04:00
Mike Cullerton
45fd317dc6
Merge branch 'dev' into convert-timestamp-499
2021-10-26 14:35:33 -04:00
mike cullerton
f88aba1db0
Cleanup validation for get_locatime.
...
Make sure we send the same type of values back for validation.
2021-10-26 14:29:38 -04:00
alicia pritchett
7959f8ca3f
Merge pull request #405 from sartography/refactor/enums_as_key_value
...
Death to enumerated dictionaries
2021-10-25 15:17:17 -04:00
Dan
84ce24243f
add an enum_label script that will return the label given a value selection.
2021-10-21 13:57:49 -04:00