-
Notifications
You must be signed in to change notification settings - Fork 2
Query multiple beamline configurations #72
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
40 commits
Select commit
Hold shift + click to select a range
59308e4
Add db query to fetch all beamline configurations
abbiemery 9d3c923
Add graphql query to get collection of all current beamline configura…
abbiemery 98b95c0
Add configurations query to select multiple bl configs
abbiemery 86dc329
Add configurations gql query to get selection of bl configurations
abbiemery 39b9305
Combine conigurations and all_configurations into a single graphql query
abbiemery 91a3d83
Add templating for super admin access
abbiemery 712bc53
Fix local linting
abbiemery 3fd4981
Add ConfigurationError as test import
abbiemery e5d0c22
Add sqlx query for offline
abbiemery bff480b
Update service_schema
abbiemery 3e990b9
Change auth to check admin and check beamline admin
abbiemery 52b03fc
Return old match so it can be changed in another pr
abbiemery 60ccbe1
Make configurations query once and filter
abbiemery 798e7f7
Fix match
abbiemery d375ce7
Remove unneccesary binding
abbiemery 3bb0c40
Regenerate schema
abbiemery 9f32363
Remove old cfg_attr
abbiemery 928b114
Placate Clippy
abbiemery 045ec02
Use more useful naming for beamline filters
abbiemery 2f05f42
Refactor to utilise BeamlineConfiguration method
abbiemery fe033f6
Remove type
abbiemery 12aaadc
Simplify gql configurations query
abbiemery 6073e5c
Add docstring to CurrentConfiguration
abbiemery bee1435
Update service schema
abbiemery 11dd996
Add initial test for db configurations
abbiemery f6c9cb4
Add all_configurations test to db
abbiemery ee61c9e
Add beamline to configuration graphql test
abbiemery 6a2e0f9
Add configuration tests to graphql
abbiemery a543c39
remove erroneous year from visit template in gql test
abbiemery 8a22737
Fix incorrect config in qgl test
abbiemery 4337f02
Preserve order in serde_json
abbiemery fb407c1
Remove unneccessary pub
abbiemery 80cfba2
Update src/db_service.rs
abbiemery 58ca416
Update src/db_service.rs test match
abbiemery cbc639a
Fix indentation in gql tests
abbiemery aabbd89
Update README with new gql API changes
abbiemery 6d64582
Add test for super admin check
abbiemery 4e2e4f2
Add denied super admin check
abbiemery 1bd9e33
Add unauthorised super admin check test
abbiemery 52f4b2c
Rename check admin tests to match api methods
abbiemery 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
56 changes: 56 additions & 0 deletions
56
.sqlx/query-02d6faf0ffd8fb96031f7a8e824de4e4552ea72176c5e885cea3e517316e7774.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.