-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Versioning] Fix Version.fromString logic for legacy version (#604)
This commit fixes the Version.fromString logic to identify legacy versions. It also adds an optional "distribution" field to the MainRespose for OpenSearch version 1.0.0+. Any preceeding versions that do not contain the distribution label will be handeled as legacy versions appropriately. Signed-off-by: Nicholas Walter Knize <[email protected]>
- Loading branch information
Showing
18 changed files
with
358 additions
and
285 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
13 changes: 13 additions & 0 deletions
13
modules/reindex/src/test/resources/responses/main/OpenSearch_1_0_0.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name" : "Ruphos", | ||
"cluster_name" : "distribution_run", | ||
"version" : { | ||
"distribution" : "opensearch", | ||
"number" : "1.0.0", | ||
"build_hash" : "42e092f", | ||
"build_date" : "2016-05-26T16:55:45.405Z", | ||
"build_snapshot" : true, | ||
"lucene_version" : "8.8.2" | ||
}, | ||
"tagline" : "You Know, for Better Search" | ||
} |
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.