-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
APIGW: add SQS X-Amz-JSON test #12649
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,5 +62,62 @@ | |
} | ||
] | ||
} | ||
}, | ||
"tests/aws/services/apigateway/test_apigateway_sqs.py::test_sqs_amz_json_protocol": { | ||
"recorded-date": "20-05-2025, 15:07:32", | ||
"recorded-content": { | ||
"sqs-messages": [ | ||
{ | ||
"MessageId": "<uuid:1>", | ||
"ReceiptHandle": "<receipt-handle:1>", | ||
"MD5OfBody": "<m-d5-of-body:1>", | ||
"Body": { | ||
"context": { | ||
"resourceId": "<resource-id:1>", | ||
"resourcePath": "/sqs", | ||
"httpMethod": "POST", | ||
"extendedRequestId": "<extended-request-id:1>", | ||
"requestTime": "<request-time:1>", | ||
"path": "/testing/sqs", | ||
"accountId": "111111111111", | ||
"protocol": "HTTP/1.1", | ||
"requestOverride": "", | ||
"stage": "testing", | ||
"domainPrefix": "<api-id:1>", | ||
"requestTimeEpoch": "request-time-epoch", | ||
"requestId": "<uuid:2>", | ||
"identity": "", | ||
"domainName": "<domain-name:1>", | ||
"deploymentId": "<deployment-id:1>", | ||
"responseOverride": "", | ||
"apiId": "<api-id:1>" | ||
}, | ||
"identity": { | ||
"cognitoIdentityPoolId": "", | ||
"accountId": "", | ||
"cognitoIdentityId": "", | ||
"caller": "", | ||
"sourceIp": "<source-ip:1>", | ||
"principalOrgId": "", | ||
"accessKey": "", | ||
"cognitoAuthenticationType": "", | ||
"cognitoAuthenticationProvider": "", | ||
"userArn": "", | ||
"userAgent": "python/requests/tests", | ||
"user": "" | ||
}, | ||
"requestOverride": { | ||
"path": "", | ||
"header": "", | ||
"querystring": "" | ||
}, | ||
"responseOverride": { | ||
"header": "" | ||
}, | ||
Comment on lines
+114
to
+116
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. observation: 👀 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes apparently so! We should also add a test fetching the status if not been set, maybe it returns an empty string? I was also surprised by this... 👀 |
||
"authorizer_keys": {} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
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.
😢 VTL Can be a pain like that!