Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement opensearch serverless support #212

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

hvital
Copy link
Contributor

@hvital hvital commented Jan 24, 2024

Fixes # 136

This PR adds an existingOpensearchServerlessCollection option to support importing existing OpenSearch Serverless collections.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (a4df397) 93.91% compared to head (dd4c5d3) 93.82%.

Files Patch % Lines
src/common/helpers/opensearch-helper.ts 82.85% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
- Coverage   93.91%   93.82%   -0.09%     
==========================================
  Files          18       19       +1     
  Lines        5654     5766     +112     
  Branches      136      152      +16     
==========================================
+ Hits         5310     5410     +100     
- Misses        344      356      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


beforeAll(() => {
const ragTestStack = new cdk.Stack(undefined, undefined, {
env: { account: cdk.Aws.ACCOUNT_ID, region: cdk.Aws.REGION },
Copy link
Collaborator

Choose a reason for hiding this comment

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

@hvital hvital force-pushed the feature/add-existingOpensearchServerlessCollection branch from 72b4111 to 63db8b2 Compare January 24, 2024 23:54
@hvital hvital marked this pull request as ready for review January 25, 2024 00:55
@hvital hvital requested a review from a team as a code owner January 25, 2024 00:55
@hvital hvital force-pushed the feature/add-existingOpensearchServerlessCollection branch from f5b95cb to 469a305 Compare January 25, 2024 19:06
@hvital hvital enabled auto-merge January 25, 2024 19:08
Copy link
Collaborator

@scottschreckengaust scottschreckengaust left a comment

Choose a reason for hiding this comment

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

LGTM, next PR increase the code coverage

@hvital hvital force-pushed the feature/add-existingOpensearchServerlessCollection branch from 469a305 to dd4c5d3 Compare January 25, 2024 19:55
Copy link
Contributor

@dineshSajwan dineshSajwan left a comment

Choose a reason for hiding this comment

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

LGTM

@hvital hvital merged commit 4b6575d into main Jan 25, 2024
14 of 16 checks passed
@hvital hvital deleted the feature/add-existingOpensearchServerlessCollection branch January 25, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants