-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Enable generic actions and enhance parity for DynamoDB API GW integration #7755
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
Conversation
@@ -1,15 +1,10 @@ | |||
import json |
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.
note: mostly cleanups / refactoring in this file (migrating logic into integrations.py
), practically no functional changes.
4252317
to
f891973
Compare
f891973
to
73e1bcb
Compare
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.
Nice cleanup 💯 and great to have more dynamo actions supported.
Couple of comments, nothing major
|
||
response_template = response_templates.get(APPLICATION_JSON) | ||
s3 = aws_stack.connect_to_service("s3") | ||
uri = apply_request_parameters( |
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.
in next iterations we can start moving from this function to the request parameters resolver
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.
Sounds great, looking forward to it! Do you have this in the pipeline @calvernaz ? Let's coordinate..
Enable generic actions and further enhance parity for DynamoDB API GW integration. Follow-up from #7753
So far, we had support for
dynamodb:action/PutItem
anddynamodb:action/Query
DynamoDB integrations. While working on deploying a more complex AWS sample app against LocalStack, the requirements for further integration operations came up (incl.dynamodb:action/Scan
, among others).Summary of changes:
dynamodb:action/*
integration action that can be executed against DynamoDBPutItem
,Scan
)invocations.py
into separate backend classes inintegrations.py
/cc @calvernaz @bentsku @joe4dev