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

Move tenant-related utils to common folder #1184

Merged

Conversation

cliu123
Copy link
Member

@cliu123 cliu123 commented Nov 2, 2022

Description

[Describe what this change achieves]

Category

[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation] Refactoring

Why these changes are required?

What is the old behavior before changes and new behavior after changes?

Issues Resolved

[List any issues this PR will resolve (Is this a backport? If so, please add backport PR # and/or commits #)]

Testing

UT, IT, Cypress tests

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cliu123 cliu123 requested a review from a team November 2, 2022 20:11
@cliu123
Copy link
Member Author

cliu123 commented Nov 2, 2022

@kavilla Please test these changes with the build script and see if they unblock you. Thanks!

@cliu123 cliu123 added the v2.4.0 'Issues and PRs related to version v2.4.0' label Nov 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2022

Codecov Report

Merging #1184 (30fd8f5) into main (d46e60a) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1184      +/-   ##
==========================================
- Coverage   71.82%   71.80%   -0.02%     
==========================================
  Files          88       88              
  Lines        2023     2011      -12     
  Branches      268      270       +2     
==========================================
- Hits         1453     1444       -9     
+ Misses        508      505       -3     
  Partials       62       62              
Impacted Files Coverage Δ
public/apps/configuration/utils/tenant-utils.tsx 67.64% <ø> (-1.11%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cliu123
Copy link
Member Author

cliu123 commented Nov 2, 2022

@kavilla confirmed that this PR resolved the release build failures. Thanks for finding and bringing up this issue!
@opensearch-project/security Please review. Thanks!

@cwperks
Copy link
Member

cwperks commented Nov 2, 2022

@cliu123 @kavilla Is it possible to add a new check to validate this as part of the CI?

@RyanL1997
Copy link
Collaborator

RyanL1997 commented Nov 2, 2022

@cliu123 @kavilla Is it possible to add a new check to validate this as part of the CI?

Same question from me, if we can figure out a solution for check with our own build, that would also be helpful on create our own reusable CI workflow as this issue(#1156) mentioned.

@cliu123 cliu123 merged commit f815e3c into opensearch-project:main Nov 2, 2022
@cliu123 cliu123 deleted the move_utils_to_common_folder branch November 2, 2022 21:37
@cliu123
Copy link
Member Author

cliu123 commented Nov 2, 2022

created an issue to track the follow-up action items: #1169

cliu123 added a commit to cliu123/security-dashboards-plugin that referenced this pull request Nov 3, 2022
cliu123 added a commit to cliu123/security-dashboards-plugin that referenced this pull request Nov 3, 2022
peternied pushed a commit that referenced this pull request Nov 3, 2022
* Saved Object Aggregation View (#1146)
* Move tenant-related utils to common folder (#1184)
* [Saved Object Aggregation View] Use namespace registry to add tenant filter (#1169)

Signed-off-by: Chang Liu <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Yan Zeng <[email protected]>

Co-authored-by: Ryan Liang <[email protected]>
Co-authored-by: Ryan Liang <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Co-authored-by: Yan Zeng <[email protected]>
peternied pushed a commit that referenced this pull request Nov 3, 2022
* Saved Object Aggregation View (#1146)
* Move tenant-related utils to common folder (#1184)
* [Saved Object Aggregation View] Use namespace registry to add tenant filter (#1169)

Signed-off-by: Chang Liu <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Yan Zeng <[email protected]>

Co-authored-by: Ryan Liang <[email protected]>
Co-authored-by: Ryan Liang <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Co-authored-by: Yan Zeng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.4.0 'Issues and PRs related to version v2.4.0'
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants