-
Notifications
You must be signed in to change notification settings - Fork 0
AAI-302 update registration code to create database records #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bc8618d
Separate organization parsing into a helper function
marius-mather 9200555
Merge remote-tracking branch 'origin/main' into user-db-registration
marius-mather de3d708
create_user() endpoint for auth0 client
marius-mather 3639f90
Create DB user from Auth0 data - separate creation from the API call
marius-mather bf0586d
Docstrings for create user methods
marius-mather 60150f5
Update BPA register function to add user to the DB
marius-mather 33c9ed2
Update registration test
marius-mather a5ea2b6
Update error handling in BPA register endpoint
marius-mather e1e8af0
Always override get_management_token when using test_client
marius-mather f446e65
Update BPA registration tests
marius-mather 622d6f9
Rework Galaxy registration to add a user record in the DB
marius-mather 124396d
Improved test fixtures: better naming of Auth0 clients, freezegun com…
marius-mather ebe7f6d
Clean up auth0 and other fixtures in tests
marius-mather 0fe8bee
Make sure test_db_session is used for tests that use the DB
marius-mather 4178ab8
Rework DB setup to make sure we don't accidentally use it in tests
marius-mather 223072a
Add test_db_session to tests that need it
marius-mather a838cd7
Method to add platform membership for user
marius-mather fd34f50
Add galaxy membership during registration and test it
marius-mather 0db00c6
Save history when adding platform membership to user
marius-mather fa3da69
Update comment on test
marius-mather ac0ac00
Clean up user record creation in Galaxy registration
marius-mather fbb6103
Create platform membership for BPA when creating user + test
marius-mather a7e603e
Make sure we dump to JSON when returning user data
marius-mather 176964c
Don't double up on adding platform membership to user
marius-mather File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.