Skip to content

refactor: api elasticsearch to opensearch#5036

Merged
brunozoric merged 52 commits into
nextfrom
bruno/refactor/api-elasticsearch/opensearch
Mar 26, 2026
Merged

refactor: api elasticsearch to opensearch#5036
brunozoric merged 52 commits into
nextfrom
bruno/refactor/api-elasticsearch/opensearch

Conversation

@brunozoric
Copy link
Copy Markdown
Contributor

Changes

Changed api-elasticsearch to api-opensearch. Underlying package is now OpenSearch official one - latest.

How Has This Been Tested?

Jest and manually.

@brunozoric brunozoric force-pushed the bruno/refactor/api-elasticsearch/opensearch branch from 6a63c69 to e49979f Compare March 21, 2026 10:00
@Pavel910 Pavel910 added this to the 6.0.0 milestone Mar 21, 2026
@brunozoric brunozoric force-pushed the bruno/refactor/api-elasticsearch/opensearch branch from 188e6c8 to 5b5f94d Compare March 24, 2026 11:36
brunozoric and others added 27 commits March 24, 2026 12:39
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add src/client.ts with AwsSigv4Signer-based OpenSearch client factory,
and src/types.ts with native opensearch types replacing elastic-ts.
Also add tsconfig.build.json, webiny.config.js and .babelrc.js required
for the build toolchain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Port sort, where, operators, indices, limit, cursors, compression, sharedIndex, indexPrefix, and indexConfiguration from api-elasticsearch with Elasticsearch -> OpenSearch renames.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Port all 22 test files from packages/api-elasticsearch/__tests__/ to
packages/api-opensearch/__tests__/, replacing all Elasticsearch-prefixed
type and class names with OpenSearch equivalents. Add a self-contained
createOpenSearchClient test helper (mirrors project-utils elasticsearch
client helper) and copy the vitest.config.ts from api-elasticsearch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@brunozoric brunozoric self-assigned this Mar 24, 2026
@brunozoric brunozoric marked this pull request as ready for review March 25, 2026 08:53
@github-actions
Copy link
Copy Markdown

Jest tests have been initiated (for more information, click here). ✨

@github-actions
Copy link
Copy Markdown

Cypress E2E tests have been initiated (for more information, click here). ✨

@brunozoric
Copy link
Copy Markdown
Contributor Author

/e2e

@github-actions
Copy link
Copy Markdown

Cypress E2E tests have been initiated (for more information, click here). ✨

@github-actions
Copy link
Copy Markdown

Vitest tests have been initiated (for more information, click here). ✨

@github-actions
Copy link
Copy Markdown

Cypress E2E tests have been initiated (for more information, click here). ✨

@brunozoric brunozoric merged commit 3e7c959 into next Mar 26, 2026
64 checks passed
@brunozoric brunozoric modified the milestones: 6.0.0, 6.1.0 Mar 30, 2026
@brunozoric brunozoric deleted the bruno/refactor/api-elasticsearch/opensearch branch May 5, 2026 07:01
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.

2 participants