* test(rds): add JDBC-based IAM auth compat suite
New RdsJdbcCompatTest drives a real JDBC connection through the RDS
proxy. IAM auth happens at the JDBC wire layer, not through RdsClient
management calls, so this is the only way to actually verify IAM
auth behaves against Floci.
Covers:
- create DB instance with IAM authentication enabled
- generate an auth token via the AWS SDK GenerateAuthenticationToken
path and open a JDBC connection using that token as the password
- reject connections with a tampered/expired auth token
- proxy port allocation per instance, released on delete
- ModifyDbInstance toggling IAM authentication mid-lifecycle
Uses postgresql JDBC driver (already declared in
sdk-test-java/pom.xml:186). Gated on Docker being available so CI
jobs without a docker daemon skip.
* fix(test): address review findings for RDS JDBC compat suite
Restructure IAM toggle test to start with IAM disabled, verify
rejection, then enable via modify and verify success. Relax port
reuse assertion from exact equality to range check (7000-7099) to
avoid coupling to allocator implementation detail. Increase
connection timeout from 45s to 60s for Docker environments.
* fix(test): address round 6 review findings for RDS JDBC compat suite
Fix stale proxyPort after instance replacement (Codex + Gemini).
Restructure IAM tests: create with IAM enabled for positive tests,
add dedicated non-IAM instance test for negative case. Mark IAM
toggle-via-modify test as @Disabled since RdsAuthProxy.iamEnabled
is final and modifyDbInstance does not restart the proxy. Add
port-parameterized connection helpers for multi-instance tests.
* fix(test): assert old password rejection after ModifyDBInstance
Codex review flagged that the password-change test proved the new
password works but never verified the old one stops working. Add an
explicit assertion that connecting with the pre-modify password throws
SQLException before verifying the new password succeeds.
* fix(test): relax non-IAM rejection assertion to accept TCP-level refusal
When IAM is disabled, the proxy may reject at the TCP level ("connection
attempt failed") rather than the PostgreSQL auth level ("password
authentication failed"). Both are valid rejection modes.
* test(appconfig): add edge case coverage for polling, deployments, empty configs
Extends both AppConfigIntegrationTest (internal Quarkus) and the
compat-suite AppConfigTest with five additional cases:
- stale configuration token is rejected with BadRequestException once
a newer next-poll token has been issued
- syntactically invalid configuration token is rejected
- updated deployment is visible when polling with the next-poll token
(create v2 hosted config, start deployment, confirm response body
flips to v2 payload and Version-Label header updates)
- RequiredMinimumPollIntervalInSeconds is accepted in the start
configuration session request but NOT enforced on subsequent polls
(pins current Floci behavior per PLAN_FLOCI_2 Phase 1 decision:
storing-but-not-enforcing is the behavior under test, enforcement
would be a separate feature PR)
- empty configuration profile (no hosted config version, no
deployment) returns an empty octet-stream body with empty
Version-Label
No changes to AppConfigDataService or any main sources; this is
test-only expansion over existing scaffolding.
* fix(test): address review findings for AppConfig edge case tests
Document poll-interval 15s as known emulator deviation (AWS returns
the requested value, emulator always returns 15). Add explicit
nextPollIntervalInSeconds() assertions to the SDK compat test.
Clarify null vs "" Version-Label difference between SDK and HTTP
transport layers.
* feat(lambda): add PutFunctionConcurrency stub
Add PutFunctionConcurrency, GetFunctionConcurrency, and
DeleteFunctionConcurrency endpoints:
PUT /2017-10-31/functions/{FunctionName}/concurrency
DELETE /2017-10-31/functions/{FunctionName}/concurrency
GET /2019-09-30/functions/{FunctionName}/concurrency
The stored ReservedConcurrentExecutions value is persisted on
LambdaFunction and echoed back, but it is not enforced at invocation
time — invocation slots in LambdaExecutorService / WarmPool are not
bounded, and the account-level concurrent execution limit is not
validated.
* fix(lambda): tighten PutFunctionConcurrency validation
* Fixes DynamoDB support for adding values to a list for the SET ... ADD query/command
* Revert "Fixes DynamoDB support for adding values to a list for the SET ... ADD query/command"
* fix(dynamoDB): support Java AWS SDK v2 enhanced client null values
* fix(dynamoDB): added compatibility integration test for DynamoDB EnhancedClient. Including suggestion for default host+port for test fixture, so `mvn test -q` can work even without setting the env variable set.
* feat: Implement S3 Lambda notifications
Add support for S3 event notifications to AWS Lambda functions.
- Introduce `LambdaNotification` model to represent Lambda configurations.
- Update S3 controller to parse and serialize `CloudFunctionConfiguration` in notification XML.
- Implement logic in `S3Service` to extract Lambda ARN details and invoke functions upon matching S3 events.
- Add unit and integration tests for Lambda notification configuration persistence and event triggering.
* test(s3-notifications): Add S3 bucket notification compatibility tests
Introduces `S3NotificationsTest` to verify S3 event notifications for SQS, SNS, and Lambda targets.
Includes tests for notification configuration round-trip and Lambda invocation with object filters.
Adds `s3NotificationLoggerZip` to `LambdaUtils` for creating a test Lambda function.
Co-authored-by: Hector Ventura <hectorvent@gmail.com>
* feat(eventbridge): add InputTransformer support for rule targets
Support InputPathsMap + InputTemplate on EventBridge targets so events
can be projected to a subset of fields before delivery to SQS/SNS/Lambda.
- Add InputTransformer model with inputPathsMap and inputTemplate fields
- Parse and serialize InputTransformer in PutTargets / ListTargetsByRule
- Apply transformer in invokeTarget: extract JSONPath variables, substitute
<varName> placeholders in the template
- Use Jackson JsonPointer for JSONPath resolution ($.a.b.c → /a/b/c)
- Add unit tests for extractJsonPath and applyInputTransformer edge cases
- Add integration tests covering full put/list/deliver/transform flow
Fixes#140
* feat(lambda): add missing runtimes, fix handler validation, long path extraction, and code signing config
* fix: removed unrequired go.sum and package-lock.json from compatibility test
* feat(scheduler): add EventBridge Scheduler ScheduleGroup CRUD
Introduces the scheduler service skeleton with ScheduleGroup CRUD over
the REST JSON protocol at /schedule-groups/{Name}. The default group is
lazily seeded on first access, mirroring the EventBridge default bus
pattern. Covers Create/Get/Delete/List, region scoping, name validation,
and the default-group delete guard.
* feat(scheduler): add Java SDK compatibility tests for ScheduleGroup CRUD
* feat(scheduler): add Schedule CRUD operations
* test: move compatibility tests into this repo
* fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler
* fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest
* test: add sdk tests for multipart S3 copy coverage
* fix: cover and fix smithy cbor and multipart s3 copy regressions
* test: migrate more test coverage to new folder
* test: add missing ec2 expectation in healthcheck test
* docs: update READMEs in `./compatibility-tests`