Skip to content

Commit

Permalink
Add newer versions of server to compatibility matrix (#635)
Browse files Browse the repository at this point in the history
* Add newer versions of server to compatibility matrix

Signed-off-by: Vacha Shah <[email protected]>

* Fixing tests with >=2.9.0 and adding 2.10.0 to compatibility matrix

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit 063db02)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 30, 2023
1 parent 2fbe403 commit 54bf9ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- { opensearch_version: 1.0.1, java: 11 }
- { opensearch_version: 1.1.0, java: 11 }
- { opensearch_version: 1.2.4, java: 11 }
- { opensearch_version: 1.3.9, java: 11 }
- { opensearch_version: 1.3.13, java: 11 }
- { opensearch_version: 2.0.1, java: 11 }
- { opensearch_version: 2.1.0, java: 11 }
- { opensearch_version: 2.2.1, java: 11 }
Expand All @@ -21,6 +21,9 @@ jobs:
- { opensearch_version: 2.5.0, java: 11 }
- { opensearch_version: 2.6.0, java: 11 }
- { opensearch_version: 2.7.0, java: 11 }
- { opensearch_version: 2.8.0, java: 11 }
- { opensearch_version: 2.9.0, java: 11 }
- { opensearch_version: 2.10.0, java: 11 }
steps:
- name: Checkout Java Client
uses: actions/checkout@v3
Expand Down
10 changes: 2 additions & 8 deletions COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ The below matrix shows the compatibility of the [`opensearch-java-client`](https

| Client Version | OpenSearch Version |
|----------------|--------------------|
| 1.0.0 | 1.0.0-1.3.9 |
| 2.0.0 | 1.3.9-2.0.1 |
| 2.1.0 | 1.3.9-2.3.0 |
| 2.2.0 | 1.3.9-2.5.0 |
| 2.3.0 | 1.3.9-2.7.0 |
| 2.4.0 | 1.3.9-2.7.0 |
| 2.5.0 | 1.3.9-2.7.0 |
| 2.6.0 | 1.3.9-2.7.0 |
| 1.0.0 | 1.x |
| 2.x.0 | 1.3.13-2.10.0 |

## Upgrading

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import java.util.TreeSet;

public abstract class OpenSearchJavaClientTestCase extends OpenSearchRestTestCase implements OpenSearchTransportSupport {
private static final List<String> systemIndices = List.of(".opensearch-observability", ".opendistro_security");
private static final List<String> systemIndices = List.of(".opensearch-observability", ".opendistro_security", ".plugins-ml-config");
private static OpenSearchClient javaClient;
private static OpenSearchClient adminJavaClient;

Expand Down

0 comments on commit 54bf9ec

Please sign in to comment.