-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support transport action names when registering NamedRoutes #7957
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
peternied
merged 49 commits into
opensearch-project:main
from
DarshitChanpura:legacy-action-names
Jul 5, 2023
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
5603475
Adds ability to register legacy action names along with route
DarshitChanpura 8fee10c
Adds tests to cover legacy action name registration
DarshitChanpura 8087f6a
Merge branch 'opensearch-project:main' into legacy-action-names
DarshitChanpura 3cd35e4
Adds this PR to CHANGELOG
DarshitChanpura d8c3abf
Adds javadoc and addresses PR comments
DarshitChanpura 66b3f88
Renames getter to match variable name
DarshitChanpura 98564f9
Fix spotless errors
DarshitChanpura 411c12a
Makes legacyActionName an optional nullable reference
DarshitChanpura 655da5e
Unregisters action name upon route unregister call
DarshitChanpura 31e9f5e
Adds support for mapping multiple transport action names when registe…
DarshitChanpura a9ab347
Updates tests
DarshitChanpura 97f1383
Merge branch 'main' into legacy-action-names
DarshitChanpura 6e10d89
Fixes test failures
DarshitChanpura becd844
Updates CHANGELOG entry
DarshitChanpura 6444687
Enforces all new routes being registered to have a unique name associ…
DarshitChanpura eff42d6
Modifies existing test and adds a new test to verify correct behaviour
DarshitChanpura 27aeccf
Adds route unique name to the log
DarshitChanpura 041f9b6
Moves RouteHandler class to SDK
DarshitChanpura d7acb47
Merge branch 'main' into legacy-action-names
DarshitChanpura 1c42675
Fixes unregister route logic
DarshitChanpura 33e00dd
Fixes failed tests
DarshitChanpura 320a7bc
Merge branch 'main' into legacy-action-names
DarshitChanpura 5ecb11e
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura 2f515dc
Addresses PR feedback
DarshitChanpura 5f726d6
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura aa3bd2e
Adds deprecated and replaced named routes
DarshitChanpura fe81396
Adds tests for deprecated and replaced named routes
DarshitChanpura c750d47
Adds an interface for named routes
DarshitChanpura 7569781
Replaces all NamedRoute instances with NamedRouteWrapper in ActionModule
DarshitChanpura 1c0269b
Updates registration of deprecated routes to now be deprecated named …
DarshitChanpura 6bb2d53
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura abb3fd3
Fixes broken tests
DarshitChanpura 81f2f22
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura 9d6a210
Rewrites NamedRoutes using builder pattern, and removes named route i…
DarshitChanpura 0acbb14
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura e65a219
Adds missing javadoc to named route class
DarshitChanpura 830fb22
Makes NamedRoute constructor public and fixes tests
DarshitChanpura 356da3e
Makes extensions initialization route a NamedRoute
DarshitChanpura e752075
Makes NamedRoute builder private
DarshitChanpura 36b2202
Adds a handler property to NamedRoute
DarshitChanpura 3abb85e
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura 9203903
Adds tests for handler property
DarshitChanpura 238ebc0
Addresses PR feedback
DarshitChanpura b41aee0
Fixes CHANGELOG entry
DarshitChanpura 804a038
Adds more NamedRoute tests
DarshitChanpura d6e2d08
Addresses PR feedback
DarshitChanpura 0da4388
Merge remote-tracking branch 'upstream/main' into legacy-action-names
DarshitChanpura cb9ad3d
Makes build fail one not setting builder fields
DarshitChanpura aac062a
Addresses PR feedback
DarshitChanpura 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
69 changes: 0 additions & 69 deletions
69
server/src/main/java/org/opensearch/extensions/rest/RouteHandler.java
This file was deleted.
Oops, something went wrong.
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.