Skip to content

Commit

Permalink
chore(deps): update opensearch.version to v1.4.0 (#1241)
Browse files Browse the repository at this point in the history
* chore(deps): update opensearch.version to v1.4.0

* feat : fix issue

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Raja Kolli <[email protected]>
  • Loading branch information
renovate[bot] and rajadilipkolli authored May 22, 2024
1 parent 7e71bd0 commit 0121218
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions boot-opensearch-sample/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- "9600:9600"
environment:
- discovery.type=single-node
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=admin
- "DISABLE_SECURITY_PLUGIN=true"
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"

Expand Down
8 changes: 7 additions & 1 deletion boot-opensearch-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<java.version>21</java.version>
<springdoc-openapi.version>2.5.0</springdoc-openapi.version>
<opensearch.version>1.3.0</opensearch.version>
<opensearch.version>1.4.0</opensearch.version>

<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
<spotless.version>2.43.0</spotless.version>
Expand Down Expand Up @@ -66,6 +66,12 @@
<artifactId>spring-data-opensearch-starter</artifactId>
<version>${opensearch.version}</version>
</dependency>
<!-- remove when SB updates -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.17.1</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class ContainersConfig {

@Container
public static OpensearchContainer<?> openSearchContainer =
new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.12.0"));
new OpensearchContainer<>(DockerImageName.parse("opensearchproject/opensearch:2.14.0"))
.withEnv("OPENSEARCH_INITIAL_ADMIN_PASSWORD", "admin");

static {
openSearchContainer.start();
Expand Down

0 comments on commit 0121218

Please sign in to comment.