-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
AWS SDK V2 Upgrade #4939
AWS SDK V2 Upgrade #4939
Conversation
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Thank you for your contribution! 🙏 We will review your PR as soon as possible.
While you are waiting, make sure to:
Learn more about: |
Semgrep found 6
Consider to use well-defined context Ignore this finding from context-todo. |
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
/run-e2e aws |
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
return attributeValues, nil | ||
} | ||
|
||
func attributeValueFromInterface(value interface{}) (types.AttributeValue, error) { |
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.
Does the SDK have something like this internally?
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.
@JorTurFer Found this package. But few test cases are failing when using that.
"github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue"
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.
Do they fail because the behavior has changed?
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.
TestParseDynamoMetadata test case was failing.
May be I am not using this "attributevalue" package correctly. But with my code, all the test cases are working fine.
If any one suggest easy way to replace this method, happy to do that.
/run-e2e aws |
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
/run-e2e aws |
/run-e2e aws |
tests/scalers/aws/aws_dynamodb_streams_pod_identity/aws_dynamodb_streams_pod_identity_test.go
Show resolved
Hide resolved
…db_streams_pod_identity_test.go Co-authored-by: Jorge Turrado Ferrero <[email protected]> Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Semgrep found 6
Consider to use well-defined context Ignore this finding from context-todo. |
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
…#4922) Co-authored-by: Jorge Turrado Ferrero <[email protected]>
…ring (kedacore#4584) * fix RabbitMQ Scaler, allow subpaths along with vhost in connection string (kedacore#4584) Signed-off-by: Roman Bielyi <[email protected]> * Fix CHANGELOG.md, remove redundant/wrong pieces that were made during rebase, this fix is aimed to resolve failed workflow's Static Check (validate-changelog) test Signed-off-by: Roman Bielyi <[email protected]> --------- Signed-off-by: Roman Bielyi <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
Signed-off-by: Jeevan Reddy Ragula <[email protected]>
@JorTurFer I have cancelled it and raised a fresh review. |
In the Keda project, we are currently using below AWS Go SDK version.
github.com/aws/aws-sdk-go v1.44.287
But AWS released a V2 version long back which has few advantages over V1.
This PR is to update the code to use AWS SDK V2.
Checklist
Fixes #4905
Relates to #4905