Files
floci/compatibility-tests/sdk-test-java/src/test
Matt Lishman f8a2f2d5c4 fix(apigw-v2): populate pathParameters in Lambda proxy event for HTTP API integrations (#1067)
* fix(apigw-v2): populate pathParameters in Lambda proxy event for HTTP API integrations

buildV2ProxyEvent never called extractV2PathParams, so pathParameters was always
absent from the Lambda event payload. Frameworks that rely on it for routing (e.g.
the tRPC AWS Lambda adapter via ANY /{proxy+}) failed with path routing errors.

Wire extractV2PathParams into buildV2ProxyEvent after the queryStringParameters
block, mirroring how dispatchHttpProxyV2 already uses it. Also relax the method
visibility to package-private to allow the new unit tests to call it directly.

* test(ec2): scope Ec2NetworkInterfacePaginationTest to its own VPC

DescribeNetworkInterfaces was called without a filter, so the tests
counted ENIs created by other concurrently-running sdk-test-java tests
(e.g. sdk-test-instance from Ec2DescribeNetworkInterfacesTest), causing
intermittent failures when test ordering meant those ENIs existed at
assertion time.

Adds a vpc-id filter helper scoped to the VPC created in @BeforeAll so
each test only sees the 6 ENIs it owns.
2026-05-28 23:41:44 -05:00
..