cr-connect-workflow/crc/models
Dan Funk 907e1cbbb3 minor fixes that were breaking when connecting to the front end. 2020-03-27 14:27:50 -04:00
..
__init__.py Refactor models into seperate directories 2019-12-31 16:32:47 -05:00
api_models.py minor fixes that were breaking when connecting to the front end. 2020-03-27 14:27:50 -04:00
file.py Merge remote-tracking branch 'origin/master' into feature/reference_files 2020-03-20 11:07:55 -04:00
protocol_builder.py Removed all self-referential calls in the study_api. One api endpoint should never call another api endpoint. Moved the logic for updating a study to the study Model, rather than checking and setting dictionary values which will become very hard to maintain. 2020-03-26 12:51:53 -04:00
stats.py Resolves marshmallow_sqlalchemy.ModelSchema deprecation warning 2020-03-16 13:37:31 -04:00
study.py Removed all self-referential calls in the study_api. One api endpoint should never call another api endpoint. Moved the logic for updating a study to the study Model, rather than checking and setting dictionary values which will become very hard to maintain. 2020-03-26 12:51:53 -04:00
user.py It became impossible to use the Swagger ui when we started adding authentication to all of the calls. I discovered Connexion and Swagger have a default way of handing JTW authentication and this cleans up our code quite a bit, moves the securing of endpoints into the API Definition, which is quite nice, and removes a whole library dependency (I never get to do that!) I added a SWAGGER_AUTH_KEY that can be used in non-production environments to allow users to quickly authenticate from the Swagger ui. I also removed all api calls to simple little happy api services, because that is just mean and pointless. 2020-03-24 14:15:21 -04:00
workflow.py Merge remote-tracking branch 'origin/master' into feature/status_refactor 2020-03-27 11:55:36 -04:00