-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Optionally require a valid content type for all rest requests with content #22691
Merged
+3,696
−1,022
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
e4b2d08
Require a valid content type for all rest requests with content
jaymode c53e296
start addressing review feedback
jaymode 9448729
review updates for index templates
jaymode 7a267ff
use Objects.requireNonNull for pipeline requests
jaymode 3e78549
deprecate loadFromSource without xcontenttype
jaymode 63ab38a
more deprecations :)
jaymode 99f551f
cleanup deprecated usages and remove source methods without xcontenttype
jaymode 76c9f5e
Merge branch 'master' into content_type
jaymode d4f0e13
more updates and add a sendErrorResponse method
jaymode b5d9e6f
fix line length
jaymode 221f797
fix percolatequerybuilder serialization
jaymode f43bf3b
add a BWC compatibility layer that defaults to auto detection fallback
jaymode 323e634
Merge branch 'master' into content_type
jaymode c6be540
serialization tests and updates
jaymode 8072a05
Merge branch 'master' into content_type
jaymode 0be9af3
review round 2 updates
jaymode 84db4dd
change onOrAfter to after for now
jaymode 2391d2d
rollback change to bwc test version
jaymode 19cdb27
put mapping request can take bytes so we can pass from rest layer
jaymode 0264168
fix reindex parsing of content-type
jaymode b18cae7
docs updates
jaymode 7e94108
fix index request serialization for reindex
jaymode 65bfe9e
make reindex work with the removal of the default value in IndexRequest
jaymode 1d1d47e
add content type message to test
jaymode 7357e4e
fix testing broken mapping to use valid json
jaymode 88a1a56
ensure we consume the source_content_type parameter before checking i…
jaymode 842806a
handle backwards compatibility in rest test client
jaymode 26c6df8
modify rest test framework to ignore deprecated missing source_conten…
jaymode a441458
address more feedback
jaymode 4d37b1b
Merge branch 'master' into content_type
jaymode e208082
address non-reindex comments
jaymode 7b89522
more feedback changes
jaymode d2a3c6f
Merge branch 'master' into content_type
jaymode 5270a44
add comment
jaymode e4f46d3
use writeOptionalWriteable the right way
jaymode 4bd706a
use xcontent type to avoid deprecated method
jaymode dd19f71
add missing setting registration
jaymode 9f862a6
Merge branch 'master' into content_type
jaymode 4699539
Merge branch 'master' into content_type
jaymode fd62a34
use 5.3.0-snapshot for rolling upgrade
jaymode 9bbdd71
Merge branch 'master' into content_type
jaymode ed3ee08
Merge branch 'master' into content_type
jaymode 159b450
add status
jaymode 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 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for cleaning these comments up!