Commit Graph

483 Commits

Author SHA1 Message Date
Aaron Louie e9548b2172 Never mind. It's set by FLASK_ENV already 2020-04-15 21:02:39 -04:00
Aaron Louie 3a9d2c0b4d Sets ENV variable 2020-04-15 20:59:13 -04:00
Aaron Louie b4fdba0fc9 Sets production environment variable 2020-04-15 17:22:41 -04:00
Aaron Louie 2a15f3a488 Sets dev and testing environment variables 2020-04-15 16:49:03 -04:00
Dan Funk d38f5f31d6 Improving tests to see what works with Multi-Instance 2020-04-15 16:32:29 -04:00
Aaron Louie 6dd11094fd Dumps contents of instance directory to console 2020-04-15 15:59:27 -04:00
Aaron Louie 35fa241a4c Printing out some more stuff for debugging 2020-04-15 14:43:09 -04:00
Aaron Louie dffba7dc92 Prints some more config settings for debugging 2020-04-15 14:14:58 -04:00
Aaron Louie 5e924b3646 Prints some config settings for debugging 2020-04-15 14:03:04 -04:00
Aaron Louie 90b2a1d744 Explicitly sets port. Prints some config settings for debugging. 2020-04-15 13:49:32 -04:00
Aaron Louie 4428dfe819 Removes eval. Just casting string to bool works. 2020-04-15 13:36:39 -04:00
Aaron Louie 38f9a70511 Converts dev flag to boolean 2020-04-15 13:25:12 -04:00
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