Commit Graph

1371 Commits

Author SHA1 Message Date
Aaron Louie 8ec6560f9d Fixes URL 2020-04-15 13:12:50 -04:00
Aaron Louie acd880c405 Set Protocol Builder URL environment variable 2020-04-15 13:11:15 -04:00
Dan Funk 678a45fa76 Merge branch 'master' into feature_personnel_multi_instance 2020-04-15 12:42:36 -04:00
Dan Funk af05a97b3e
Merge pull request #26 from sartography/feature/customer_lookup
Allow configurators to upload xls files into a workflow for defining …
2020-04-15 12:41:47 -04:00
Dan Funk a5f5468e9a
Merge branch 'master' into feature/customer_lookup 2020-04-15 12:41:35 -04:00
Dan Funk 288efff364 Merge branch 'master' into feature_personnel_multi_instance 2020-04-15 12:36:50 -04:00
Aaron Louie 8f0de37011 Updates Pipenv hashes. 2020-04-15 12:12:51 -04:00
Dan Funk c485ff5be6 fixing a test. 2020-04-15 11:59:02 -04:00
Aaron Louie bb0efff839 Enables config items to be set via environment variables 2020-04-15 11:49:45 -04:00
Dan Funk dc2895cb05 Allow configurators to upload xls files into a workflow for defining enumrations of values for dropdown lists in forms. Fixing lots of tests.
Found a problem where the documentation for elements was being processed BEFORE data was loaded from a script.  There still may be some issues here.

Ran into an issue with circular dependencies - handling it with a new workflow_service, and pulling computational logic out of the api_models - it was the right thing to do.
2020-04-15 11:13:32 -04:00
Aaron Louie faf4c0df97 Updates BPMN and DMN files 2020-04-15 10:58:13 -04:00
Dan Funk aa17e30762 Updating libraries, modifying study_info script to save data in a consistent way, waiting on more fixes in spiffworkflow before continuing. 2020-04-13 16:23:31 -04:00
Aaron Louie f6a5fde124 Adds display order to specs 2020-04-10 11:13:43 -04:00
Aaron Louie 9a9922c473 Adds display order to Workflow Spec 2020-04-09 14:25:14 -04:00
Dan Funk 2a6f7d4916 Updating to the latest spiffworkflow so that dot-notation in DMN models works as expected. 2020-04-08 15:25:37 -04:00
Dan Funk 316b9e6e8d Fixing a stupid mistake - must have typed a ' mark during commit.
Script should inherit from object.
Updating the ids so I could more easily test and assure things were working correctly.
2020-04-08 13:39:42 -04:00
Dan Funk c79415a794 throw a sensible error when study is not found on get_study (don't 500)
some ugly fixes in the file_service for improving panda output from spreadsheet processing that I need to revist.
now that the spiff-workflow handles multi-instance, we can't have random multi-instance tasks around.
Improved tests around study deletion.
2020-04-08 13:28:43 -04:00
Aaron Louie 519a034d87 Updates last_updated when file data is saved. Returns last_updated as lastModified in response header for file data endpoint. 2020-04-08 12:58:55 -04:00
Dan Funk bf3066a8b1 Upgrading Spiff to throw better error messages. 2020-04-07 17:15:05 -04:00
Dan Funk 9bf5c9e727 Fixing an error that would prevent the correct counts from displaying if the record didn't come back from the protcol builder. 2020-04-07 14:14:43 -04:00
Dan Funk c7a18709ee Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-07 14:09:28 -04:00
Dan Funk 697127660f Assure that all script tasks place data in a dictionary that is named exactly the same as the class - which is also the same as the Script tag. 2020-04-07 14:09:21 -04:00
Aaron Louie d23b5e747b Replaces deprecated assertEquals with assertEqual 2020-04-06 18:15:32 -04:00
Aaron Louie 0f22c8474b Removes duplicate pytest command. Runs sonar scanner only if tests pass. 2020-04-06 18:14:18 -04:00
Dan Funk c6b6ee5d70 Renamed the required_docs script to just "documents", and it returns all documented in the irb_documents look up table indexed on the "Code" - so details become available in the task data like "documents.IRB_INFOSEC_DOC.required".
Updated the irb_documents with shorter code names, thanks to Alex. Re-worked the DMN models so they can properly read from this new datastructure.
2020-04-06 16:56:00 -04:00
Dan Funk d58a90a727 Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-06 13:24:01 -04:00
Aaron Louie e6550b7e39 Fixes Formly expression syntax error 2020-04-06 13:22:49 -04:00
Aaron Louie 419d619efa Updates BPMN & DMN files with latest from staging 2020-04-06 13:12:34 -04:00
Dan Funk e283b86466 Fixing a bug with deleting a study. 2020-04-06 13:08:17 -04:00
Aaron Louie e866c2c4bb Moves awscli install to install step 2020-04-03 16:43:25 -04:00
Dan Funk a322801c91 Allow a study to be deleted, even if some statistics are laying around. 2020-04-03 16:41:16 -04:00
Dan Funk fae07f289f Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-03 16:24:45 -04:00
Dan Funk 60a10bb688 Marshmallow isn't the right tool when dealing with large models with lots of null values. Rather than fight the process of mamaging the Study Details, I'm letting that fall through, and we can test on an individual value or maybe set up a constants array when that becomes meaningful. 2020-04-03 16:24:38 -04:00
Aaron Louie 07551ed4a8 Moves AWS CLI install step into deploy script 2020-04-03 15:53:24 -04:00
Aaron Louie 222e4635c3 Merge remote-tracking branch 'origin/master' 2020-04-03 15:38:32 -04:00
Aaron Louie 846b64d93a Skips cleanup in deploy step 2020-04-03 15:38:23 -04:00
Dan Funk 5de850cfdb Merge branch 'master' of github.com:sartography/cr-connect-workflow 2020-04-03 13:52:19 -04:00
Dan Funk fe40be752f fixing a bug in the Protocol builder schema, more to fix there, and deserves a test, but this corrects the investigators 2020-04-03 13:52:12 -04:00
Aaron Louie 71d9bbec02 Replaced password with token 2020-04-03 11:29:33 -04:00
Aaron Louie 13542d78c7 Moves awscli install to after script success 2020-04-03 10:14:28 -04:00
Aaron Louie f501fc47fb Removes duplicate build command 2020-04-03 10:09:06 -04:00
Aaron Louie b0e49943a0 Sends message to DCOS when Docker Hub image is updated 2020-04-03 09:53:47 -04:00
Dan Funk b39e4b382f Catch more template processing errors. 2020-04-02 15:06:00 -04:00
Dan Funk 785918cb7f Be sure the validation process examines the data located in the documentation and correctly handles boolean fields. 2020-04-02 14:47:20 -04:00
Dan Funk 534e8493a4 Deleting was broken because statistics were causing an integrity constraint.
Updating IDS bpmn to the latest for testing.
Adding a TODO
2020-04-02 12:58:52 -04:00
Dan Funk af5ab6a2c2
Merge pull request #25 from sartography/feature/status_refactor
Feature/status refactor
2020-03-31 09:31:53 -04:00
Dan Funk c86f3321c5 reworking the test_study_service to run from a clean state, this is growing so complex. Tests really need to be isolated better. 2020-03-30 15:39:50 -04:00
Dan Funk 17796193de fixing a bug that was causing failing tests.
Adding id and spec_version to the workflow metadata.
Refactoring the processing of the master_spec so that it doesn't polute the workflow database.
Adding tests to assure that the status and counts are updated on the workflow model as users make progress.
2020-03-30 14:01:57 -04:00
Dan Funk 34b6ec92bf updating the API
Removing the call for study/workflows - as workflow information is returned with the study by default.
Fixing a bug in the workflow spec model schema.
2020-03-30 10:12:10 -04:00
Dan Funk 2cd5d70a77 missing another migration. This should fix it. 2020-03-30 09:40:56 -04:00