* feat(ses): add SMTP relay configuration to EmulatorConfig
Add smtp-host, smtp-port, smtp-user, smtp-pass, and smtp-starttls
settings to SesServiceConfig. smtp-host is Optional — when absent or
empty, relay is disabled and emails are stored only (existing behavior).
* feat(ses): implement SMTP relay with Vert.x MailClient and Mime4j
Add SmtpRelay that forwards SES emails to a configured SMTP server
using a dedicated Vert.x MailClient built from EmulatorConfig settings.
Simple emails are sent as MailMessage with From/To/Cc/Bcc/ReplyTo/
Subject/Text/Html. Raw MIME emails are parsed with Apache Mime4j to
extract headers and body, then sent via the same MailClient. When SES
Destinations is provided, it is used as the authoritative envelope
recipient list (MIME Cc headers do not add extra SMTP recipients).
Relay is dispatched asynchronously on a dedicated daemon thread with
a 30-second send timeout. Failures are logged with stack traces but
never affect the API response. The executor and MailClient are only
created when smtp-host is configured and ses.enabled is true, and
shut down in @PreDestroy.
SesService calls SmtpRelay.relay/relayRaw after storing emails so
the inspection endpoint always has the data regardless of relay.
Tests: SmtpRelayTest (12 cases) covers simple/raw relay, disabled
path, error swallowing, base64 decoding, HTML content type, envelope
fallback. SesServiceSmtpTest (5 cases) verifies relay integration
and store persistence.
* docs(ses): document SMTP relay configuration
Add SMTP Relay section to docs/services/ses.md with configuration
example, docker-compose snippet with Mailpit, and behavioral notes.
Add SMTP settings to the YAML sample and environment variable table
in docs/configuration/application-yml.md.
* fix(ses): preserve body against attachment overwrite and extract Bcc from raw MIME
- extractBodyFromEntity now only sets text/html when not already set, so a
text-typed attachment in multipart/mixed cannot clobber the body picked up
from multipart/alternative.
- doRelayRaw now reads Bcc from MIME headers alongside To/Cc when the caller
did not supply Destinations.
* fix(ses): initialize Vert.x NTLMEngineImpl at run time for native image
The vertx-mail-client dependency brings in io.vertx.ext.mail.impl.sasl.NTLMEngineImpl,
whose static state embeds a SecureRandom instance. GraalVM native-image rejects
build-time Random/SecureRandom objects because the cached seed makes runtime
behavior unpredictable. Mark the class for run-time initialization, matching the
existing entry for the Apache HttpClient NTLM engine.
* feat: implement local Data Lake stack (Athena, Glue, and Firehose)
* fix: adding athena, firehose and glue documentation
* fix: updating dataLateTest
* test(auth): add SigV4 validator unit tests for RDS proxy
Direct unit tests against RdsSigV4Validator that bypass the disabled
global floci.auth.validate-signatures flag (application.yml:36). Real
SigV4-sensitive behavior cannot be asserted from the running Floci
test harness, so validator-level tests are the only path to real-auth
coverage.
Covers three cases:
- accept: token signed with host:port
- reject: signature omits port from canonical host header
- reject: expired token (beyond X-Amz-Expires)
* 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.
* 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"
* Fixes DynamoDB support for adding values to a list for the SET ... ADD query/command
* feat(lifecycle): add support for startup and shutdown initialization hooks
* test(lifecycle): add unit tests for initialization hooks
* test(lifecycle): add integration tests for initialization hooks
* docs: add documentation and configuration for initialization hooks
Thanks again, @thegagne!
This is a great addition to Floci. Your continued support really makes a difference. Hope to see you around soon!
---
* feat: add JSONata query language support for Step Functions
Add JSONata as an alternative query language for Step Functions, matching
the AWS feature launched in late 2024. When a state machine definition
sets "QueryLanguage": "JSONata", the JSONPath fields (InputPath,
Parameters, ResultSelector, ResultPath, OutputPath) are replaced by
Arguments and Output, with expressions wrapped in {% %} delimiters.
Implementation:
- Add dashjoin jsonata-java 0.9.9 dependency (zero-dep, 160KB)
- New JsonataEvaluator: handles {% %} expression evaluation, Jackson↔Map
conversion, $states variable binding, recursive template resolution
- AslExecutor: dual query language branches for all state types (Pass,
Task, Choice, Wait, Map, Parallel, Succeed, Fail)
- $states.input, $states.result, $states.context (Execution, StateMachine,
State metadata) all supported
- Definition validation: rejects JSONPath-only fields in JSONata mode,
rejects JSONata→JSONPath per-state override (only JSONPath→JSONata
is allowed, matching AWS behavior)
All behavior validated against real AWS Step Functions.
* fix: return error and cause fields in DescribeExecution response
DescribeExecution was not returning the error and cause fields for
failed executions. AWS includes these in the response so the SDK can
surface them via DescribeExecutionResponse.error() and .cause().
Add error/cause fields to the Execution model and include them in the
JSON handler response when present.
Thanks again, @daphid4!
This is a great addition to Floci. Your continued support really makes a difference. Hope to see you around soon!
---
* feat: add SES (Simple Email Service) emulation
Implements SES v1 Query protocol with the following actions:
- VerifyEmailIdentity, VerifyEmailAddress, VerifyDomainIdentity
- DeleteIdentity, ListIdentities, GetIdentityVerificationAttributes
- SendEmail, SendRawEmail
- GetSendQuota, GetSendStatistics, GetAccountSendingEnabled
- ListVerifiedEmailAddresses, DeleteVerifiedEmailAddress
- SetIdentityNotificationTopic, GetIdentityNotificationAttributes
- GetIdentityDkimAttributes
Identities are auto-verified in the emulator for local development.
Sent emails are stored in-memory and accessible via statistics APIs.
All 20 integration tests passing, full suite (537 tests) green.
* feat: add ACM support
* fix: address code review issues - pagination, idempotency TTL, AES-256
- BouncyCastle static initialization to prevent race conditions
- Cursor-based pagination for ListCertificates
- Idempotency token 1-hour TTL with lazy expiration
- AES-256-CBC encryption replacing Triple-DES
- 58 tests passing with new edge case coverage
* fix: address PR #21 review feedback
- Add GraalVM native image hints for BouncyCastle (initialize-at-run-time, reflection config)
- Add runtime initialization for AcmService and CertificateGenerator (SecureRandom fix)
- Log security warning lazily on first certificate creation/import (not at startup)
- Add AcmStorageConfig interface for consistency with other services
---
🎉 Merged! Thank you so much, @cahna!
This is exactly the kind of contribution that helps Floci grow — your work is genuinely appreciated.
If you're up for it, there's plenty more to dig into:
- 👀 Check out the open issues — some are tagged as good first steps for contributors
- 💬 If you have ideas or ran into something while working on this, feel free to open an issue or start a discussion
- 🔧 PRs for documentation, tests, and bug fixes are always welcome
Hoping to see your name pop up again soon. Welcome to the Floci community! 🙌