Skip to content

Conversation

eddumelendez
Copy link
Contributor

@eddumelendez eddumelendez commented Nov 13, 2024

  • Add property spring.ai.vectorstore.opensearch.aws.domain-name
  • Require AwsCredentialsProvider to enable AwsOpenSearchConfiguration
  • Add Testcontainers Service Connection support
  • Add Docker Compose Service Connection support

…se and Testcontainers

* Add property `spring.ai.vectorstore.opensearch.aws.domain-name`
* Require `AwsCredentialsProvider` to enable `AwsOpenSearchConfiguration`
* Add Testcontainers Service Connection support
* Add Docker Compose Service Connection support
@eddumelendez eddumelendez changed the title opensearch localstack service connection Add LocalStack OpenSearch Service Connection support for Docker Compose and Testcontainers Nov 13, 2024
@markpollack markpollack added this to the 1.0.0-M4 milestone Nov 15, 2024
org.testcontainers.containers.Container.ExecResult execResult = localstack
.execInContainer(describeDomainCmd);
String response = execResult.getStdout();
JSONArray processed = JsonPath.read(response, "$.DomainStatus[?(@.Processing == false)]");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eddumelendez Thanks for the PR. This test consistently times out here. I believe this is probably an environment issue but want to check with you.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eddumelendez suggested to increase the timeout value as the localstack tries to pull the open search binaries could take longer depending on the internet bandwidth. It worked after increasing to a longer timeout on my local. Thanks!

@ilayaperumalg
Copy link
Member

@eddumelendez Thanks for the PR! The changes look good to me. Ran the tests locally to validate, rebased and merged as 6261ce0

@eddumelendez eddumelendez deleted the opensearch-localstack-service-connection branch November 19, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants