Skip to content

Commit

Permalink
Bump version to 2.0.2 and update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Nov 21, 2023
1 parent f8137cf commit e33eaa0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ The [opensearch-testcontainers](https://github.com/opensearch-project/opensearch

|opensearch-testcontainers|OpenSearch|testcontainers|JDK|
|---|---|---|---|
|2.0.1-SNAPSHOT|2.0.0+|1.17.2+|11+|
|2.0.2-SNAPSHOT|2.0.0+|1.17.2+|11+|
|2.0.1|2.0.0+|1.19.2+|11+|
|2.0.0|2.0.0+|1.17.2+|11+|
|2.0.0|1.3.2+|1.17.2+|11+|
|1.0.1-SNAPSHOT|1.3.2+|1.17.2+|8+|
Expand All @@ -22,7 +23,7 @@ The [opensearch-testcontainers](https://github.com/opensearch-project/opensearch
<dependency>
<groupId>org.opensearch</groupId>
<artifactId>opensearch-testcontainers</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -35,7 +36,7 @@ Follow the [JUnit 4 Quickstart](https://www.testcontainers.org/quickstart/junit_

```java
@Rule
public OpensearchContainer<?> opensearch = new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.0.0"));
public OpensearchContainer<?> opensearch = new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.11.0"));

```

Expand All @@ -45,7 +46,7 @@ Follow the [JUnit 5 Quickstart](https://www.testcontainers.org/quickstart/junit_

```java
@Container
public OpensearchContainer<?> opensearch = new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.0.0"));
public OpensearchContainer<?> opensearch = new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.11.0"));

```

Expand All @@ -69,7 +70,7 @@ import org.opensearch.client.Request;
import org.opensearch.client.Response;
import org.opensearch.client.RestClient;

private static final DockerImageName OPENSEARCH_IMAGE = DockerImageName.parse("opensearchproject/opensearch:2.0.0");
private static final DockerImageName OPENSEARCH_IMAGE = DockerImageName.parse("opensearchproject/opensearch:2.11.0");

// Create the Opensearch container.
try (OpensearchContainer<?> container = new OpensearchContainer<>(OPENSEARCH_IMAGE).withSecurityEnabled()) {
Expand Down Expand Up @@ -112,7 +113,7 @@ import org.opensearch.client.Request;
import org.opensearch.client.Response;
import org.opensearch.client.RestClient;

private static final DockerImageName OPENSEARCH_IMAGE = DockerImageName.parse("opensearchproject/opensearch:2.0.0");
private static final DockerImageName OPENSEARCH_IMAGE = DockerImageName.parse("opensearchproject/opensearch:2.11.0");

// Create the OpenSearch container.
try (OpensearchContainer<?> container = new OpensearchContainer<>(OPENSEARCH_IMAGE)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ private static Stream<Arguments> containers() {
DockerImageName.parse("opensearchproject/opensearch").withTag("2.0.1")),
Arguments.of(
"2.1.0",
DockerImageName.parse("opensearchproject/opensearch").withTag("2.1.0")));
DockerImageName.parse("opensearchproject/opensearch").withTag("2.1.0")),
Arguments.of(
"2.11.0",
DockerImageName.parse("opensearchproject/opensearch").withTag("2.11.0")));
}

private RestClient getClient(OpensearchContainer<?> container)
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.0.1
version=2.0.2

0 comments on commit e33eaa0

Please sign in to comment.