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

[Backport 2.16] [Workspace] refactor saved object client addToWorkspaces and deleteFromWorkspaces function params structure #7519

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 2268738 from #7484.

…omWorkspaces function params structure (#7484)

* update saved object client function params structure

Signed-off-by: tygao <tygao@amazon.com>

* delete options workspace field

Signed-off-by: tygao <tygao@amazon.com>

* delete options workspace field

Signed-off-by: tygao <tygao@amazon.com>

* delete workspace in create

Signed-off-by: tygao <tygao@amazon.com>

* Update src/core/server/saved_objects/service/saved_objects_client.ts

Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
Signed-off-by: Tianyu Gao <tygao@amazon.com>

* Update src/core/server/saved_objects/service/saved_objects_client.ts

Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
Signed-off-by: Tianyu Gao <tygao@amazon.com>

* update type

Signed-off-by: tygao <tygao@amazon.com>

* update params

Signed-off-by: tygao <tygao@amazon.com>

* remove workspace field in overwrite create

Signed-off-by: tygao <tygao@amazon.com>

---------

Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: Tianyu Gao <tygao@amazon.com>
Co-authored-by: SuZhou-Joe <suzhou@amazon.com>
(cherry picked from commit 2268738)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Project coverage is 64.20%. Comparing base (9eae9ec) to head (26782cf).

Files Patch % Lines
...rver/saved_objects/service/saved_objects_client.ts 81.81% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.16    #7519      +/-   ##
==========================================
- Coverage   64.21%   64.20%   -0.01%     
==========================================
  Files        3615     3615              
  Lines       78748    78752       +4     
  Branches    12443    12446       +3     
==========================================
+ Hits        50565    50566       +1     
+ Misses      25177    25133      -44     
- Partials     3006     3053      +47     
Flag Coverage Δ
Linux_1 30.92% <0.00%> (-0.01%) ⬇️
Linux_2 55.71% <81.81%> (-0.01%) ⬇️
Linux_3 40.67% <0.00%> (-0.02%) ⬇️
Linux_4 31.90% <9.09%> (-0.01%) ⬇️
Windows_1 30.93% <0.00%> (-0.01%) ⬇️
Windows_2 55.66% <81.81%> (-0.01%) ⬇️
Windows_3 40.68% <0.00%> (-0.01%) ⬇️
Windows_4 31.90% <9.09%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@SuZhou-Joe SuZhou-Joe merged commit c1eeef0 into 2.16 Jul 26, 2024
67 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports failed changeset seasoned-contributor v2.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants