Fixed the tenant switching after timeout#1090
Fixed the tenant switching after timeout#1090peternied merged 1 commit intoopensearch-project:mainfrom
Conversation
8f2521d to
a9c1f3e
Compare
cwperks
left a comment
There was a problem hiding this comment.
Looks good. Thanks @RyanL1997!
peternied
left a comment
There was a problem hiding this comment.
Need to add tests to verify this change
|
@RyanL1997 Could you please add the manual testing in the PR description for now and add ITs in a follow up PR if adding ITs will take time? |
Codecov Report
@@ Coverage Diff @@
## main #1090 +/- ##
==========================================
+ Coverage 72.27% 72.43% +0.16%
==========================================
Files 87 88 +1
Lines 1915 1919 +4
Branches 244 246 +2
==========================================
+ Hits 1384 1390 +6
+ Misses 478 474 -4
- Partials 53 55 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
7b6bcf9 to
169abd6
Compare
peternied
left a comment
There was a problem hiding this comment.
Thanks for adding the tests - a couple of comments about theses and I think we should add another test case
39bb689 to
1f8c84b
Compare
5af7e6a to
03610fb
Compare
peternied
left a comment
There was a problem hiding this comment.
Looks good, I think you'll need to rebase 2.4.0 has merged otherwise intergration tests aren't going to work
|
See #1096 |
@cliu123 Sorry for the late reply. I have been working on the unit tests and I just updated the PR with automation tests cases. |
@peternied Got it! Thank you again for the review! |
There was a problem hiding this comment.
Looks good Ryan. Can you please rebase it with https://github.com/cwperks/security-dashboards-plugin/tree/increment-to-2.4.0.0 so ITs can work
@DarshitChanpura I just did the rebase and pushed. Thx DC! |
|
@RyanL1997 The rebase was not done properly. The version bump changes are not supposed to be present in this PR. |
Signed-off-by: Ryan Liang <jiallian@amazon.com>
Hi @cliu123, ty for the review, and I just fixed this. |
Signed-off-by: Ryan Liang <jiallian@amazon.com> (cherry picked from commit 5d018b0)
Signed-off-by: Ryan Liang <jiallian@amazon.com> (cherry picked from commit 5d018b0)
Signed-off-by: Ryan Liang <jiallian@amazon.com> Signed-off-by: Aozixuan Priscilla Guan <aoguan@amazon.com>
Signed-off-by: Ryan Liang jiallian@amazon.com
Description
Fix the issue of user tenant automatically switch back to Private/Global by default after session timeout.
Category
Bug fix
Issues Resolved
Check List
New functionality has been documentedBy 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.