-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for querying specific indexes
Why are these changes being introduced: * We need to be able to provide a UI that only queries a specific set of data, so we need to enable that in the API Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/RDI-208 How does this address that need: * Adds `index` to both Search and Retrieve GraphQL endpoints and documents them as being best left out * Updates Opensearch and Retrieve models to use any index value provided and default to the value provided in ENV if none is provided Document any side effects to this change: * The Retrieve model had previously been the same for v1 and v2 but this change required a v2 feature flag for Retrieve to ensure the current behavior continued to work
- Loading branch information
Showing
9 changed files
with
516 additions
and
28 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
96 changes: 96 additions & 0 deletions
96
test/vcr_cassettes/graphql_v2_retrieve_from_default_index.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.