* 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
The init hook executor defaulted to /bin/bash, which is not available on
Alpine-based Docker images (eclipse-temurin:25-jre-alpine). This caused
startup hooks to fail with "No such file or directory". /bin/sh is
universally available and POSIX-compatible.
* 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`
Support Create and Delete actions in GlobalSecondaryIndexUpdates
parameter for the DynamoDB UpdateTable operation. The Update action
(throughput modification) is accepted and ignored since the emulator
does not enforce throughput limits.
Also handles AttributeDefinitions updates required when adding new
GSI key attributes.
Closes#221
On native Linux Docker, host.docker.internal doesn't exist (only Docker Desktop
provides it). Detect this and use the bridge IP (172.17.0.1) instead, so Lambda
containers can reach the Runtime API without manual configuration.
* feat(sfn): add StartSyncExecution and fix per-state QueryLanguage override
- Remove incorrect validation that blocked per-state QueryLanguage: JSONPath
overrides when the top-level machine uses JSONata — AWS allows this
- Implement StartSyncExecution for EXPRESS state machines: extract doExecute
from executeAsync, add executeSync that blocks until the execution finishes,
wire up handler and service method
- Document remaining DynamoDB output shape issues (singleton unwrap, getItem
key format) in issues/ for follow-up
AWS Subscribe returns the existing subscription when called with the
same TopicArn, Protocol, and Endpoint. Floci was always creating a new
subscription, causing duplicates to accumulate across test re-runs.
* Use more idiomatic map creation in HealthController
* Remove unnecessary `@Inject` from HealthController
The annotation is not needed as there is a single constructor
* feat: support GenerateSecretString and Description for AWS::SecretsManager::Secret in CloudFormation
* fix: reject both SecretString and GenerateSecretString per AWS spec
* feat: AWS ECR Override for Lambda images
To support users who wish to pull AWS Lambda images from private registries (eg Artifactory hosted proxy repos), a new config option / environment variable is introduced.
resolves#165
Add the newer resource-based tag operations (ListTagsForResource,
TagResource, UntagResource) to the CloudWatch Logs handler. These
operations use ARN-based resource identification instead of the older
log group name-based operations (ListTagsLogGroup, TagLogGroup,
UntagLogGroup).
The implementation extracts the log group name from the resource ARN
and delegates to the existing tag service methods.
Fixes#77
* fix(s3Notification): ensure filter in the XML body does not crash the xml parser
* fix(S3): notification configuration should support filtering by key name
* refacto: use a generic xml parser method as a base, instead of creating a while new XML parser
* fix(s3): return CommonPrefixes in ListObjects when delimiter is specified
ListObjects with a delimiter silently dropped nested keys instead of
grouping them into CommonPrefixes entries. Refactor the delimiter logic
to properly separate direct objects from common prefixes and include
them in the XML response, matching real S3 ListObjectsV2 behavior.
docs(s3): add reference link for using prefixes in ListObjects
* refactor(s3): following copilot review, sort common prefixes and all objects in ListObjects response. Update integration tests to reflect changes in object ordering.
* feat(s3): implement maxKeys limit for ListObjects with delimiter as suggested by copilot in the scope of CommonPrefix fix. Added a test to cover it
* fix(s3): enhance delimiter handling in ListObjects to correctly separate direct objects and common prefixes. Update logic to maintain maxKeys behavior and ensure proper sorting of results, aligning with S3 ListObjectsV2 specifications.
* fix(s3): update ListObjectsResult to include isTruncated flag and adjust XML response in S3Controller to reflect this change. Enhance tests to verify truncation behavior aligns with S3 ListObjectsV2 specifications.
* fix(s3): ensure Prefix element in ListBucketResult is not null by providing an empty string fallback when prefix is null following test results in floci-compatibility-tests
* fix(sns): pass messageDeduplicationId from FIFO topics to SQS FIFO queues
SnsService.deliverMessage was passing null as the messageDeduplicationId
to sqsService.sendMessage when delivering to FIFO SQS subscriptions.
This caused the SQS service to throw an InvalidParameterValue exception
for queues without ContentBasedDeduplication enabled. The exception was
silently swallowed by the catch block, resulting in silent message loss.
Thread the resolved deduplication ID through deliverMessage for both
publish() and publishBatch() call sites.
* fix(sns): resolve ContentBasedDeduplication in publishBatch and add FIFO dedup tests
* feat: add /_floci/health endpoint and Dockerfile.seed for persistence
* chore: remove Dockerfile.seed and persistence docs, keep health endpoint only
* fix: address PR review comments on health endpoint
- Change edition from 'community' to 'floci-open-source'
- Show all services in health response (enabled='running', disabled='available')
- Support both /_floci/health and /_localstack/health paths for backward compatibility
* fix: use floci-always-free edition value per reviewer preference
* test: assert full JSON response in health endpoint tests
* test: use raw JSON string for health endpoint assertion
* fix(s3): resolve file/folder name collision on local filesystem
When using floci persistent option with Scala Spark. Spark creates S3 keys doing a PutObject
for something like `output.parquet/part-0001.parquet` and then another PutObject for
`output.parquet`. It work on S3 since it allows it.
Append a `.s3data` suffix to all stored data files on disk to prevent collision
* fix(s3): add test for object marker and child file conflict resolution
* fix(s3): refactor versioned file test to use separate S3Service instance
Startup hooks that make HTTP calls back to floci (e.g. aws cli) deadlocked
because they ran synchronously during StartupEvent, before the HTTP server
bound to port 4566. Hooks now run on a virtual thread that polls for port
readiness first. When no hooks are configured, behavior is unchanged.