Commit Graph
45 Commits
Author SHA1 Message Date
Hector Ventura f5ec6fc887 feat(codebuild,codedeploy): add management APIs (#622) 2026-04-28 00:09:12 -05:00
Hector Ventura d39bdf1c22 feat(elbv2): Elastic Load Balancing v2 management API (Phase 1) (#617)
* feat(elbv2): add Elastic Load Balancing v2 management API (Phase 1)
* fix: adding new service to health check test
2026-04-27 22:52:52 -05:00
Hector Ventura 2dfb4fc248 chore: wrong default storage on Readme 2026-04-25 23:33:30 -05:00
Hector Ventura 1ddbec0efb feat(athena): real SQL execution via floci-duck DuckDB sidecar (#584)
* feat(athena): real SQL execution via floci-duck DuckDB sidecar

  - Lazy-start floci/floci-duck:latest on first StartQueryExecution call;
    reuse the running container for all subsequent queries
  - Inject Glue tables as CREATE OR REPLACE VIEW statements via setup_sql
    before the user SQL so DDL runs outside the COPY(...) wrapper
  - SerDe-aware format inference: inferReadFunction now checks
    SerdeInfo.SerializationLibrary in addition to InputFormat, so standard
    AWS JSON tables (TextInputFormat + JsonSerDe) map to read_json_auto
  - ImageCacheService: skip Docker Hub pull when image is already present
    locally, preventing local builds from being overwritten
  - Add AthenaIntegrationTest (5 unit integration tests)
  - Add AthenaTest and DataLakeTest SDK compatibility tests
  - Update docs: athena.md (full rewrite), glue.md, README, CHANGELOG

* fix: docker image check fix
2026-04-25 08:28:20 -05:00
Kenshin OkinakaandKenshin OKINAKA 763ea379d7 feat(ses): implement email template CRUD with stored, inline, and ARN variants (#573)
* feat(ses): implement email template CRUD with stored, inline, and ARN variants

Adds CreateTemplate / GetTemplate / UpdateTemplate /
DeleteTemplate / ListTemplates on both V2 REST JSON
(/v2/email/templates) and V1 Query.

SendEmail / SendTemplatedEmail resolve templates in three forms
with Mustache-style {{var}} substitution against TemplateData:
  - TemplateName references a stored template
  - TemplateArn extracts the name from the template/<name>
    segment of an SES template ARN (region and account segments
    are not validated, mirroring how KMS / Secrets Manager
    handle ARNs in Floci)
  - TemplateContent (V2 only) supplies inline subject / text /
    html without storing the template first

V2 Content.Template requires exactly one of TemplateName,
TemplateArn, or TemplateContent; violations return
BadRequestException (400). V1 SendTemplatedEmail accepts
TemplateArn either alone or alongside Template (name) — the
name is used for resolution when both are present, matching
AWS where boto3 and the Java SDK keep Template as a required
field and treat TemplateArn as supplementary for cross-account
addressing.

Templates persist region-scoped via StorageFactory in
ses-templates.json. Template names reject leading/trailing
whitespace (same rule as identities) and are validated through
a single validateTemplateName helper reachable from every
resolution path. listTemplates is sorted by CreatedTimestamp
with TemplateName as a tiebreaker for deterministic output.

Error codes: the service layer throws V1-style codes
(TemplateDoesNotExist / AlreadyExists / InvalidTemplate /
InvalidParameterValue); SesController remaps them to
NotFoundException (404) / AlreadyExistsException (400) /
BadRequestException (400) for V2 callers.

* test(ses): add Python and Java SDK compatibility tests for templates

Covers boto3 (ses / sesv2) and AWS Java SDK v2 (SesClient /
SesV2Client) against the SES email template CRUD, inline
TemplateContent, and TemplateArn paths. Happy path,
duplicate-create rejection, missing-template lookups,
Mustache-style variable substitution, and 3-way selector
conflicts on V2 Content.Template are exercised on both SDK
surfaces.

Adds:
- Python: ses_client / sesv2_client conftest fixtures and a
  tests/test_ses_templates.py suite covering V1 + V2
- Java: sesv2 Maven dependency, SesV2Client factory in
  TestFixtures, and a SesTemplateTest covering V1 + V2

* docs(ses): document email template CRUD and templated send

Adds the new V1 template actions (CreateTemplate / GetTemplate
/ UpdateTemplate / DeleteTemplate / ListTemplates /
SendTemplatedEmail) and the V2 /v2/email/templates endpoints
to the SES service reference, and extends the README service
matrix to mention template support on the SES / SES v2 rows.

* fix(ses): add template actions to SES_ACTIONS for unsigned request routing

Unsigned clients (curl, aws --no-sign-request) were falling through to
the SQS handler because the six template Query actions were not
registered in SES_ACTIONS.

* fix(ses): narrow exception catch to JsonProcessingException in template endpoints

Broad Exception catch was masking unexpected errors (e.g. NPE) as 400
responses. Narrowed to JsonProcessingException which is the only
checked exception from objectMapper.readTree().

* test(ses): add template variable substitution edge cases and cross-region isolation

Add SesServiceTemplateTest with 14 unit tests for applyTemplateData
covering undefined variables, spaced/hyphenated names, unclosed braces,
non-string JSON values, regex metacharacters, and case sensitivity.

Add cross-region isolation integration test verifying templates created
in one region are not visible in another.

* test(ses): add awscli compatibility tests for template CRUD and templated send

Cover create, get, update, list, delete template and send-templated-email
via the AWS CLI. Uses JSON parameter format to avoid awscli parser issues
with Mustache-style {{variable}} syntax.

---------

Co-authored-by: Kenshin OKINAKA <kenshin_okinaka@realcross.co.jp>
2026-04-24 20:59:49 -05:00
Hector Ventura f669be1edb fix: release 1.5.6 (#569) 2026-04-23 02:06:25 -05:00
Hector Ventura b7774d17b2 fix: release 1.5.5 2026-04-19 23:45:27 -05:00
Hector Ventura ee08d3ad44 feat(opensearch): add real os with docker image (#528)
* feat(opensearch): add real os with docker image
* fix: fix opensearch network issue
2026-04-19 19:04:31 -05:00
Hector Ventura 63ed81c59d feat(eks): implement EKS service with real k3s data plane support (#493)
* feat(eks): implement EKS service with real k3s data plane support
* fix: adjusting eks volume issues
2026-04-18 01:35:25 -05:00
Hector Ventura e080543ef4 Release 1.5.4 2026-04-17 03:17:23 -05:00
Fred Peña 37dc19925f docs(readme): add direct Docker run instructions (#473)
* docs(readme): add direct Docker run instructions
* docs(readme): Add AWS SDK examples for Go, Rust, and Bash
* docs(readme): expand SDK examples with complete working code

Add full working examples for Java (DynamoDB), Python (SSM), Node.js (SQS producer/consumer), Go (S3), and Rust (Secrets Manager). Include complete setup, operations, and output demonstrations for each SDK.
2026-04-16 17:26:48 -05:00
TiM c565398beb feat(bedrock-runtime): stub Converse and InvokeModel for #87 (#486)
Adds a bedrock-runtime service stub so AWS SDK and CLI clients can target
Floci for local development of Bedrock Runtime callers. Dummy responses
only: no real model inference.

- Register bedrock-runtime in ResolvedServiceCatalog under both "bedrock"
  and "bedrock-runtime" credential scopes (boto3 signs with signingName
  "bedrock" while some clients use the endpoint id)
- POST /model/{modelId}/converse returns a fixed assistant message plus
  synthetic usage and latency metrics matching the AWS Converse contract
- POST /model/{modelId}/invoke returns an Anthropic-shaped body for
  anthropic.* and *.anthropic.* model ids, generic {"outputs": [...]}
  otherwise. Request body is passed through as opaque bytes
- {modelId:.+} path regex accepts full ARNs (inference profiles,
  provisioned throughput) in addition to plain ids
- converse-stream and invoke-with-response-stream return 501 so SDKs
  get a clear error instead of 404
- Response building uses JsonNode rather than typed POJOs, avoiding
  native-image reflection registration

13 new integration tests (Converse + InvokeModel happy paths, validation,
inference-profile ids and ARNs, 501 streaming responses). Full suite
remains green: 2263 tests, 0 failures.
2026-04-16 17:13:17 -05:00
Hector Ventura ea597c67d6 feat: implement local Data Lake stack (Athena, Glue, and Firehose) (#429)
* feat: implement local Data Lake stack (Athena, Glue, and Firehose)
* fix: adding athena, firehose and glue documentation
* fix: updating dataLateTest
2026-04-15 01:22:10 -05:00
Hector Ventura 91071aaae7 feat: implement Amazon MSK service with Redpanda orchestration (#419)
* feat: implement Amazon MSK service with Redpanda orchestration
* fix: adding missing msk service on the test
2026-04-13 20:22:37 -05:00
Hector Ventura 6610c3c527 chore: release 1.5.3 2026-04-12 21:34:57 -05:00
Conor Heine a0ed51e9d1 feat: ecr (#337) 2026-04-11 09:59:05 -05:00
TiM a32b7f1f3b docs: comprehensive audit sweep + CHANGELOG backfill (1.1.0-1.5.2) (#326)
CHANGELOG.md was empty for the 1.1.0-1.5.2 release cycle and service docs
had drifted from code behaviour. This sweep reconciles docs against the
current codebase on upstream/main.

- Backfill CHANGELOG.md for 1.1.0 through 1.5.2 from git history
- Correct exact operation counts in docs/services/index.md: S3 (~30 -> 58),
  Lambda (~25 -> 30), API Gateway v1 (~24 -> 62). Counts now come from the
  actual dispatch handlers rather than @Path annotation counts.
- Rewrite README "Supported Services" table to drop per-service op counts
  (they drift too fast); point readers at docs/services/index.md
- Update 24 service docs for accuracy, add "Not Implemented" sections
  where relevant (s3.md, lambda.md, api-gateway.md)
- Refresh configuration and getting-started docs
- Add EventBridge Scheduler and AppConfig to mkdocs nav
- Add AppConfig / AppConfigData rows to README and services index
  following the 1.5.2 upstream release
2026-04-10 10:52:34 -05:00
Hector Ventura e4d8d44724 feat: adding appconfig service (#324)
* feat: adding appconfig service
* fix: unittest appconfig service
2026-04-10 02:43:08 -05:00
Louis Garret e7ab687a6a feat: add SES V2 REST JSON protocol support (#265)
* feat: add SES V2 REST JSON protocol support
* fix: address SES V2 review feedback
2026-04-07 13:59:28 -05:00
Kenshin Okinaka 48b6ca3475 feat(scheduler): add EventBridge Scheduler service (#260)
* 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
2026-04-07 12:36:59 -05:00
Conor Heine eeefb729c4 test: move compatibility tests into this repo (#225)
* 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`
2026-04-06 09:35:53 -05:00
Hector Ventura 9b2a987fec docs: updating readme with ec2 service 2026-04-06 00:39:10 -05:00
Cristian de la Hoz df8abca110 Merge pull request #212 from fredpena/docs/update_reference
docs: update README configuration documentation links
2026-04-05 11:33:31 -04:00
Fred Peña d575c9fcdc Fix link to per-service storage overrides
Update link to per-service storage overrides in README.
2026-04-05 11:30:33 -04:00
Hector Ventura 07a7a97b47 feat(ecs): adding ecs service (#209)
* feat(ecs): adding ecs service
* feat(ecs): adding ecs service
2026-04-05 10:25:41 -05:00
fredpena e960fa101a docs: update README configuration documentation links 2026-04-05 11:08:41 -04:00
Fred Peña 625474b001 docs: refresh README badges and community links for floci-io and improve configuration table wording (#211) 2026-04-05 09:56:17 -05:00
Hector Ventura 46e7f7e040 doc: improve readme showing better test description 2026-04-03 23:48:26 -05:00
John Coyne 52d53f9a69 fic: env var for base lambda overwrite (#189)
* 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
2026-04-03 08:25:57 -05:00
Dixit R Jain 4fc9398df4 feat: officially support Docker named volumes for Native images (#155)
* feat: officially support Docker named volumes for Native images

* Pre-creates /app/data and assigns 1001 ownership in Dockerfile.native and Dockerfile.native-package before declaring VOLUME and dropping to USER 1001. This natively fixes the AccessDeniedException when utilizing Docker named volumes instead of local bind mounts, aligning container architecture flawlessly with tools like LocalStack.
* Standardizes named volumes as officially documented optional alternatives across docker-compose templates in quick-start, index, and README documentation for a cleaner repository drop-in replacement footprint.

* feat: natively support Docker named volumes via recursive permissions

* Pre-creates /app/data and applies recursive 1001:root ownership and g+rwX permissions in Dockerfile.native and Dockerfile.native-package before declaring VOLUME and dropping to USER 1001. This elegantly resolves AccessDeniedException crashes when mapping Docker named volumes instead of local binds, natively supporting frictionless LocalStack-style drop-in architecture.
* Standardizes named volumes as officially documented optional alternatives across docker-compose templates in quick-start, index, and README documentation for a cleaner repository drop-in replacement footprint.
2026-04-01 08:56:38 -05:00
Fred Peña ccd630c3bf docs: expand community section with GitHub Discussions (#150) 2026-03-31 16:02:34 -05:00
Cristian de la Hoz a1c488994f Merge pull request #142 from hectorvent/docs/add-stars-history
docs: add stars chart history to `README.md`
2026-03-31 07:18:50 -04:00
Cristian de la Hoz 11aaebb37c docs: add stars chart history to README.md
Signed-off-by: Cristian de la Hoz <cyrondelahoz@gmail.com>
2026-03-31 07:18:13 -04:00
Hector Ventura 68b8ed883a feat: add opensearch service emulation (#85) (#132) 2026-03-31 00:48:41 -04:00
Hector Ventura 293aeeb6c6 docs: updating readme with supported services and new banner 2026-03-30 00:25:28 -05:00
Fred Peña 8047bef7e8 Add contributors section to README
Signed-off-by: Fred Peña <f.ant.pena@gmail.com>
2026-03-29 00:35:33 -04:00
Fred Peña 21ac169604 Update contributor badge link in README.md
Signed-off-by: Fred Peña <f.ant.pena@gmail.com>
2026-03-29 00:29:25 -04:00
Fred Peña c4d8ab46b9 Add GitHub Contributors badge to README 2026-03-29 00:21:09 -04:00
Ben Rozenboim 20b40c1565 feat: add HOSTNAME_EXTERNAL support for multi-container Docker setups (#82)
Hey @justmeben, thanks for opening this! 

Great that you're willing to work on it. Feel free to go ahead, the issue is yours!

--
* feat: add HOSTNAME_EXTERNAL support for multi-container Docker setups

SQS, SNS, S3, EventBridge, and Lambda services all use `baseUrl` to
construct URLs in API responses (e.g. SQS QueueUrl). This URL defaults
to `http://localhost:4566`, which breaks in multi-container Docker
Compose setups where "localhost" resolves to the wrong container.

Add `hostnameExternal` config property (env: FLOCI_HOSTNAME_EXTERNAL)
that overrides the hostname in all response URLs. When set to the
Docker service name (e.g. "floci"), SQS returns
`http://floci:4566/000000000000/queue` instead of
`http://localhost:4566/...`.

This is equivalent to LocalStack's HOSTNAME_EXTERNAL and is essential
for any multi-container integration testing setup.

Closes #81

* rename to FLOCI_HOSTNAME to match LocalStack's LOCALSTACK_HOSTNAME
2026-03-26 09:18:17 -05:00
Fred Peña c21a0c3064 docs: add slack community links to readme (#85) 2026-03-26 07:44:18 -05:00
Conor Heine 8a8d55d972 feat: add ACM support (#21)
* 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! 🙌
2026-03-25 10:10:34 -05:00
fredpena a1e4d4f388 docs: add compatibility testing section to README
Include details about the floci-compatibility-tests suite, supported SDK modules, and infrastructure tooling validation.
2026-03-24 10:10:49 -04:00
Hector Ventura c4d9ccc08c chore: updating readme info 2026-03-24 01:04:58 -05:00
Hector Ventura 7b9b58bde2 chore: improve documentation 2026-03-17 18:01:05 -05:00
Hector Ventura 61433f59ab firt commit 2026-03-15 17:43:56 -05:00