-
Notifications
You must be signed in to change notification settings - Fork 191
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
FIX: extract reason from error in AWSSdk2Transport #493
FIX: extract reason from error in AWSSdk2Transport #493
Conversation
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
Thank you for submitting this! Can you think of a scenario in which an application might be relying on the previous behavior? As in, could this possibly be a breaking change? |
@wbeckler The only scenario I can think of is when both |
Not really. What you're saying makes sense, but I ask the question in case there's something I'm not thinking of. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just a minor comment.
CHANGELOG.md
Outdated
|
||
>>>>>>> main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Remove this line.
Signed-off-by: George Chen <[email protected]>
Signed-off-by: George Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but needs tests please.
Signed-off-by: George Chen <[email protected]>
@dblock Thanks for the suggestion. I do not find a good strategy to unit test so I put a AwsSdk2SecurityIT that needs to be run against a FGAC without proper permission. |
Signed-off-by: George Chen <[email protected]>
Without looking at the code, do we not have a way to mock a response? If it's really hard, care to open an issue to add tests that exercise all these paths and we'll merge as is? Also @reta wdyt? |
Sounds reasonable @dblock , we may need to come up with some mocks (like test fixtures we do in core) but it may take some efforts. |
LGMT! @chenqi0805 there are conflicts, could you please resolve them? thank you |
Signed-off-by: George Chen <[email protected]>
@reta resolved conflict |
@dblock LGTY? thanks! |
@dblock Need your approval for unblocking merge |
* MAINT: extract reason from error Signed-off-by: George Chen <[email protected]> * MAINT: add change log Signed-off-by: George Chen <[email protected]> * MAINT: remove unwanted string Signed-off-by: George Chen <[email protected]> * TST: AwsSdk2SecurityIT Signed-off-by: George Chen <[email protected]> * MAINT: header Signed-off-by: George Chen <[email protected]> --------- Signed-off-by: George Chen <[email protected]> (cherry picked from commit 89d154d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* MAINT: extract reason from error * MAINT: add change log * MAINT: remove unwanted string * TST: AwsSdk2SecurityIT * MAINT: header --------- (cherry picked from commit 89d154d) Signed-off-by: George Chen <[email protected]> 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>
Description
This is for resolving missing cause message when there is no proper permission to access Fine grained Access Control Amazon Opensearch domain.
Issues Resolved
Closes #473
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.