Delete schema elements that don't match target OpenSearch version.#428
Merged
nhtruong merged 13 commits intoopensearch-project:mainfrom Jul 26, 2024
Merged
Delete schema elements that don't match target OpenSearch version.#428nhtruong merged 13 commits intoopensearch-project:mainfrom
nhtruong merged 13 commits intoopensearch-project:mainfrom
Conversation
Contributor
Changes AnalysisCommit SHA: 7cf2517 API ChangesSummaryNO CHANGES ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10104069658/artifacts/1742071927 API Coverage
|
c86af16 to
fcbedee
Compare
9bc5996 to
5edc5ba
Compare
2bd2fd6 to
c0d194b
Compare
nhtruong
reviewed
Jul 18, 2024
nhtruong
reviewed
Jul 18, 2024
nhtruong
reviewed
Jul 18, 2024
36b5cee to
47e5737
Compare
cc915a2 to
19e41ee
Compare
Contributor
Spec Test Coverage Analysis
|
7136d8a to
06c7feb
Compare
Member
Author
|
@nhtruong I think I addressed all the feedback. The updated implementation will delete all refs that don't match semver, then purge all unused refs and finally purge all objects that reference all refs that were removed for the entire resulting spec. |
nhtruong
reviewed
Jul 24, 2024
nhtruong
reviewed
Jul 24, 2024
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
nhtruong
approved these changes
Jul 26, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This change allows us to generates a merged spec that targets a specific version without all the unnecessary parts. It accomplishes a number of goals.
x-version-removedbefore the target server version orx-version-addedafter, effectively testing that the values of these fields are correct.x-versionfields from consumers of the spec. This would allow us to maintain stable releases of clients that are only compatible with OpenSearch 1.x for example with only fixes, without adding any 2.x methods to them.This removes non-matching parameters.
and entire operations
Issues Resolved
Closes #425.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.