-
Notifications
You must be signed in to change notification settings - Fork 129
Validate fields based on their mappings and the dynamic templates set #2285
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 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2c3f76e
Add dynamic templates as parameter
mrodm 41d7b88
Add validation for each dynamic template depending on the parameters
mrodm ff5298e
Fixes for dynamic templates
mrodm af04d66
Compare fields with dynamic templates
mrodm f21c712
Remove multi_fields from flattened fields
mrodm aa28db6
Test without filtering dynamic templates
mrodm 3767111
Ensure properties subfields are validated accordingly
mrodm 9fb80b4
Restore filtering and add tests
mrodm 2ad28ac
Disable unmatch_mapping_type and match_mapping_type and continue look…
mrodm 8bdad65
Merge upstream/main into validate-dynamic-mappings
mrodm 151e59e
Refactors and remove log statements
mrodm d0ff6b9
Fix function naming
mrodm b474b4b
Add test with match_pattern regex
mrodm 066b5a0
Add comment in tests
mrodm a7eb191
Remove loading schema from create validator for mappings method
mrodm 7666ac2
Separate parsing and validation of dynamic templates
mrodm a718796
Support match_pattern for the other settings
mrodm 0a5e775
fix test
mrodm 131cc9c
Update tests for multi-fields
mrodm 38db8df
Review multi-fields logic
mrodm 9ff3d0c
Revisit multi-fields logic in ECS
mrodm 5165612
Report all errors related to multi-fields comparing with ECS
mrodm ce557c9
Ignored validation of multi-fields with ECS
mrodm ebda859
Fix multi-field test
mrodm 019ffd4
Rephrase errors
mrodm 8f36c18
Validate fully dynamic objects (preview) with dynamic templates
mrodm d96ffbf
Rephrase debug message
mrodm dbca4fe
Add logging - to be removed
mrodm 8fce0ec
Merge remote-tracking branch 'upstream/main' into validate-dynamic-ma…
mrodm c333707
Revisited log messages
mrodm 0569cfb
Remove comments
mrodm 1aea303
Remove more debug statements
mrodm 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
Add validation for each dynamic template depending on the parameters
- Loading branch information
commit 41d7b8878f42cd0cca57f256cccc2f95fc7718eb
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
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.