You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make an inventory of modules, classes & functions that are common between various services (cwl-WES, proTES and proWES, and to a lesser extent TEStribute).
Add list items here:
- api.register_openapi
- config.config_parser
- config.log_config
- database.db_utils
- errors.errors
- factories.celery_app
- factories.connexion_app
- security.cors
- security.decorators
- Dockerfile
Note for Contributors: While adding the common modules, please write unit tests along with them; let's shoot for 100% coverage.
Looks good. Probably a good idea to start with the config parser (you can open an issue for that). Not sure whether we should include any of the Celery stuff, at least not at this point. Do you know if the authorization decorators are in any of these modules? Because those should for sure also go into the archetype.
A pass through cwl-WES etc. did not reveal any other code blocks for general use, except for generating random identifiers, which has been implemented (Generate random identifier #84).
Activity
uniqueg commentedon Feb 9, 2020
Looks good. Probably a good idea to start with the config parser (you can open an issue for that). Not sure whether we should include any of the Celery stuff, at least not at this point. Do you know if the authorization decorators are in any of these modules? Because those should for sure also go into the archetype.
sarthakgupta072 commentedon Feb 9, 2020
I'll update the list as soon as I find them.
#8 - Add config_parser
1 remaining item
sarthakgupta072 commentedon Feb 11, 2020
#10 - Add database module(s)
#12 - Add error module(s)
sarthakgupta072 commentedon Mar 29, 2020
#25 - Add security package module(s)
sarthakgupta072 commentedon May 16, 2020
#31 - Add factories module(s)
kushagra189 commentedon May 29, 2020
#41 - Add tasks module(s)
uniqueg commentedon Jun 11, 2020
#34 - Add Dockerfile
uniqueg commentedon Jun 15, 2020
#40 - Add OpenAPI registration
uniqueg commentedon Jun 19, 2020
We are pretty much done with the main modules, but I think there are a few more things for general use:
pydanticsBaseSettingsinstead ofBaseModel)uniqueg commentedon Nov 14, 2020
Will close the issue: