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

[Workspace] add missing method for workspace client interface #9070

Merged
merged 6 commits into from
Dec 25, 2024

Conversation

yubonluo
Copy link
Contributor

Description

add missing method for workspace client interface

Issues Resolved

Screenshot

Testing the changes

Changelog

  • refactor:[Workspace] add missing method for workspace client interface

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: yubonluo <yubonluo@amazon.com>
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.90%. Comparing base (b603c21) to head (ed7732d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9070      +/-   ##
==========================================
- Coverage   60.90%   60.90%   -0.01%     
==========================================
  Files        3808     3808              
  Lines       91180    91180              
  Branches    14397    14397              
==========================================
- Hits        55531    55529       -2     
- Misses      32096    32097       +1     
- Partials     3553     3554       +1     
Flag Coverage Δ
Linux_1 28.99% <ø> (ø)
Linux_2 56.38% <ø> (ø)
Linux_3 38.01% <ø> (-0.01%) ⬇️
Linux_4 29.01% <ø> (ø)
Windows_1 29.00% <ø> (ø)
Windows_2 56.34% <ø> (ø)
Windows_3 38.01% <ø> (ø)
Windows_4 29.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.

Signed-off-by: yubonluo <yubonluo@amazon.com>
Signed-off-by: yubonluo <yubonluo@amazon.com>
ruanyl
ruanyl previously approved these changes Dec 18, 2024
Copy link
Member

@ruanyl ruanyl left a comment

Choose a reason for hiding this comment

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

Nice refactor!

Copy link
Collaborator

Choose a reason for hiding this comment

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

we may not need to expose create, delete, update in core, they may treated as workspace internal methods. what do you think @ruanyl @SuZhou-Joe

Copy link
Member

Choose a reason for hiding this comment

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

From my perspective, it is OK to expose those methods though for now there is not a use case.

SuZhou-Joe
SuZhou-Joe previously approved these changes Dec 24, 2024
@ruanyl ruanyl added the v2.19.0 label Dec 24, 2024
Signed-off-by: yubonluo <yubonluo@amazon.com>
@yubonluo yubonluo dismissed stale reviews from SuZhou-Joe and ruanyl via ed7732d December 24, 2024 12:48
@SuZhou-Joe SuZhou-Joe merged commit c836e60 into opensearch-project:main Dec 25, 2024
68 of 69 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 25, 2024
* add missing method for workspace client interface

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

* Changeset file for PR #9070 created/updated

* fix bootstrap issue

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

* fix error

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

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit c836e60)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Dec 27, 2024
…#9123)

* add missing method for workspace client interface



* Changeset file for PR #9070 created/updated

* fix bootstrap issue



* fix error



---------



(cherry picked from commit c836e60)

Signed-off-by: yubonluo <yubonluo@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
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