-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pipeline for fetching and transforming submission portal entry (#247
) * Add stub Dagster resource for accessing submission portal data API This is just pulling from a hardcoded sample file until the data API's authentication scheme is worked out * Add Dagster op to wrap data API call to get metadata * Add Translator subclass for submission portal metadata Currently this includes logic to generate a Study object. Translating Biosample objects still to do. * Use shared fake ID minting test fixture in translator tests * Add translation of biosamples to SubmissionPortalTranslator * Add tests for SubmissionPortalTranslator helper methods * Add integration test case for submission portal translator * Handle multivalued slots * Add graph and job for submission portal metadata transformation * Add ops for metadata submission and run status polling * Split portal ingest graph into dry run and actual submit graphs * Clean up empty strings and lists in submission portal translator * Add docstrings for submission portal translator * Update submission metadata graph names and add job descriptions * Add validation step to submission ingest dry run job * Get portal session cookie from launch config instead of environment * Add smoke test for submission data translation job * fix: hash checking is problematic * regen reqs * remove mongo dep from test container * feat: no need for mongo in `test` image * resolve * finish merge * Remove fields that should be null from submission portal translator expected output * Pass submission id through op config in test * style: black autofmt * feat: better startup invocation * Remove unnecessary raise_for_status calls * fix: double type recognized * test double-type fix * style: refactor mgmt stuff --------- Co-authored-by: Donny Winston <[email protected]>
- Loading branch information
1 parent
05e8906
commit 84267cf
Showing
26 changed files
with
14,593 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.