2937 Commits

Author SHA1 Message Date
Dan
12d717b395 Bump version of SpiffWorkflow, and inclode some additional debugging tools for size of json data in BPMN. 2022-04-25 07:55:10 -04:00
Dan
c3e8793110 hot fix for issus with the new serializer. 2022-04-20 15:22:08 -04:00
Dan
0a800a33ed Merge branch 'dev' 2022-04-20 14:27:43 -04:00
Dan
18929580bc Hot fix for another issue with the new serializer. 2022-04-20 14:27:36 -04:00
Dan
2e01ed78bf Merge branch 'dev' 2022-04-20 12:35:40 -04:00
Dan
02703b89d8 Don't bomb out trying to parse the old json format for creating warnings about the task size. 2022-04-20 12:35:34 -04:00
Dan
3adc8df2c3 Merge branch 'dev' 2022-04-20 11:11:40 -04:00
Dan Funk
1b28039cc9
Merge pull request #518 from sartography/feature/new_spiff_serializer
Feature/new spiff serializer
2022-04-20 11:00:51 -04:00
Dan
5686b15de8 Don't return a boolean value for get_irb_info, that's just broken. 2022-04-20 11:00:31 -04:00
Dan
85d11d913f Merge branch 'dev' into feature/new_spiff_serializer 2022-04-20 10:59:58 -04:00
Dan
4524d73838 Merge branch 'dev' 2022-04-15 15:57:19 -04:00
Dan Funk
e351d3ca15
Merge pull request #519 from sartography/feature/710_workflow_resets
"Reset" should not mean "re-start".  Calling the reset_workflow scrip…
2022-04-15 15:56:53 -04:00
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
Dan
e68c95f03c New serialization code, with the ability to load from the old serlializer if needed.
pipenv insisted on updating some other libraries so slight modifications for markupsafe.
2022-04-15 10:26:23 -04:00
mike cullerton
9a45b23ed8 Merge branch 'dev' 2022-04-14 16:04:23 -04:00
Dan Funk
0072f4ecea
Merge pull request #517 from sartography/another-data-store-bug
Another data_store bug
2022-04-14 16:02:51 -04:00
mike cullerton
ae67c8985a forgot the workflow 2022-04-14 15:50:12 -04:00
mike cullerton
a21aea3348 Fixed a bug where we tried to delete a record that did not exist 2022-04-14 15:37:05 -04:00
Dan Funk
7212510469
Merge pull request #516 from sartography/dev
dev to master
2022-04-14 11:36:24 -04:00
Dan Funk
e036d65ec6
Merge pull request #515 from sartography/data-store-bug-fix-709
Data store bug fix #709
2022-04-14 11:35:17 -04:00
mike cullerton
6c1fcc5cee Make sure we don't delete records when value is set to False 2022-04-13 18:10:35 -04:00
mike cullerton
ea657cbbc2 Change value from string 'None' to value None to test deleting data_stores.
This as a work around, because the form field is set to string for other uses
2022-04-13 18:09:18 -04:00
mike cullerton
19da7ecd7e Fix test workflows to use new data_store scripts 2022-04-13 18:07:13 -04:00
mike cullerton
be24b598b8 Fix call to set_data_common - no longer have workflow_spec_id, add type of data set 2022-04-13 18:03:23 -04:00
mike cullerton
076eb8747f Finish bug fix for deleting data_stores when value is None or empty string
Cleanup:
- Make sure workflow_spec_id has a value
- Change extra if conditionals to elif conditionals
2022-04-13 18:01:52 -04:00
mike cullerton
72f9ac33d0 Consolidate data_store scripts 2022-04-13 17:57:22 -04:00
mike cullerton
e87fae0004 *** WIP ***
Modify delete test to check for both None and empty string
2022-04-13 13:52:20 -04:00
mike cullerton
721907bf52 Modify test workflow to use new data_store_set script instead of separate study_data_set, user_data_set, and file_data_set scripts 2022-04-13 13:51:25 -04:00
mike cullerton
916daf002c Clean up parameters for set_data_common
Use key, value instead of args[0], args[1]
2022-04-13 13:48:35 -04:00
Dan
8df20977c3 Missing a valid user name and password for git. 2022-04-12 15:01:10 -04:00
Dan
b455b73c7b Don't freak out if there are not files to delete. 2022-04-12 14:43:34 -04:00
Dan Funk
bf898993c4
Merge pull request #514 from sartography/get-irb-info-issue-702
Get irb info issue #702
2022-04-12 08:14:14 -04:00
Dan Funk
41f190d3f5
Merge pull request #513 from sartography/delete-data-store-700
Delete data store #700
2022-04-12 08:11:16 -04:00
mike cullerton
138dfc220d Tests expect 1 record now
Add test for error state when study is not yet uploaded
2022-04-07 14:40:47 -04:00
mike cullerton
ed49ebcc23 Fix mock data to only return 1 record
Add mock record for error state when study is not yet uploaded
2022-04-07 14:39:39 -04:00
mike cullerton
e9ea95d1d7 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
mike cullerton
da7c0a50ae Workflows for new tests 2022-04-05 18:17:54 -04:00
mike cullerton
946e74118f Test updating records
Test deleting records when setting with empty value
Test deleting 'extra' records
2022-04-05 18:17:31 -04:00
mike cullerton
d04b447c8c Update data stores, rather than creating new ones
Delete 'extra' data stores
2022-04-05 18:15:58 -04:00
mike cullerton
3c418f7611 Rename workflow/test_workflow_data_store_validation to test_data_store_service 2022-04-05 11:35:41 -04:00
Dan Funk
6694dc6cb3
Merge pull request #510 from sartography/git-error-filenotfound-690
Git error filenotfound #690
2022-04-04 16:53:36 -04:00
Dan Funk
095105e3e6
Merge pull request #508 from sartography/validation-with-data-store-396
Validation with data store #396
2022-04-04 16:51:57 -04:00
Mike Cullerton
65da5a34ce
Merge pull request #512 from sartography/bug/same_uid_different_roles
Study Associates Bug
2022-04-04 16:23:00 -04:00
Dan
e1f9dcded5 Assure we can associate the same person with a workflow under two different roles. 2022-04-04 16:01:48 -04:00
Mike Cullerton
0b4caae19f
Merge pull request #511 from sartography/review-type-updates-692
Review type updates #692
2022-03-30 10:49:25 -04:00
mike cullerton
51c6871d06 Update mock data to use new valid review type 2022-03-30 10:30:27 -04:00
mike cullerton
dd26f8fef7 Update review types
Remove review types 23, 24
Add review type 21
2022-03-30 10:29:53 -04:00
mike cullerton
70e8f6b35e Fix typo in test: delete -> remove 2022-03-29 12:34:05 -04:00
mike cullerton
689aa54d50 Modified tests to work with the bug fix 2022-03-29 09:49:29 -04:00
mike cullerton
ae66934bf9 Fix bug where we tried to add files to the index that were removed from the repo 2022-03-29 09:49:05 -04:00