Commit Graph
23 Commits
Author SHA1 Message Date
GitMarco 1ddc8a32f7 fix: dynamodb support add function multiple values (#263)
* 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
2026-04-07 23:37:22 -05:00
Mahamed-Belkheir e8c6440489 feat: add scheduled rules support for EventBridge Rules (#217) 2026-04-05 20:08:52 -05:00
Georgios Andrianakis 86b50d46d9 Cleanup quarkus dependencies (#187)
* Remove redundant dependencies
* Replace `quarkus-junit5` dependencies with `quarkus-junit`
2026-04-03 18:20:19 -05:00
thegagne d1d7ec3bd3 feat(APIGW): OpenAPI/Swagger import, models, and request validation (#113)
* feat(APIGW): add AWS integration type for API Gateway REST v1

Add support for the API Gateway REST v1 AWS (non-proxy) integration type,
enabling direct service calls via VTL request/response mapping templates.

New components:
- VtlTemplateEngine: Apache Velocity engine with $input (body, json, path,
  params shorthand), $util (escapeJavaScript, urlEncode, base64, parseJson),
  $context, and $stageVariables
- AwsServiceRouter: parses action-based integration URIs and dispatches to
  13 internal service handlers (states, dynamodb, sqs, sns, events, etc.)

Integration features:
- Content-Type negotiation for request template selection
- passthroughBehavior (WHEN_NO_MATCH, WHEN_NO_TEMPLATES, NEVER)
- Request parameter mapping (method.request.* -> integration.request.*)
- Response parameter mapping with full JSONPath body extraction
- Integration response selection via selectionPattern regex matching
- VTL directives: #set, #foreach, #if/#else

Also fixes SFN timestamps to use epoch float (e.g. 1743263483.047) matching
real AWS format.

* feat(APIGW): add OpenAPI/Swagger import, models, and request validation

Add ImportRestApi (POST /restapis?mode=import) and PutRestApi
(PUT /restapis/{apiId}?mode=overwrite) supporting OpenAPI 3.0 and
Swagger 2.0 specs with x-amazon-apigateway-integration extensions.

- Parse OpenAPI specs via swagger-parser, create resources/methods/integrations
- Import components.schemas as API Gateway Models with JSON Schema
- Import x-amazon-apigateway-request-validators as RequestValidators
- Validator precedence: operation > path > API-level default
- Model CRUD endpoints (create, get, list, delete)
- Request body validation against JSON Schema (Draft 4) at execute-api layer
- Required parameter presence validation (query string, header)
- mode=merge returns 400 with clear error message
- 22 integration tests, 792 total passing

* fix(APIGW): match real AWS behavior for validators and mode=merge

- Remove path-level x-amazon-apigateway-request-validator (AWS only
  supports operation-level > API-level default, verified against real AWS)
- Accept mode=merge in PutRestApi (treated as overwrite for now, since
  real AWS accepts it — returning 400 was incorrect)

Verified: 31/31 compat tests against real AWS, 39/39 against Floci.
2026-03-30 20:12:21 -05:00
Cyril Schumacher 7b2576fb42 feat(lifecycle): add support for startup and shutdown initialization hooks (#128)
* 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
2026-03-30 11:00:44 -05:00
thegagne f82b370ab2 feat: add JSONata query language support for Step Functions (#84)
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.
2026-03-26 13:18:32 -05:00
David Hunter 9bf23d5513 feat: add SES (Simple Email Service) emulation (#14)
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.
2026-03-26 11:38:23 -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
semantic-release-bot 7c95cfe1b6 chore(release): 1.0.11
## [1.0.11](https://github.com/hectorvent/floci/compare/1.0.10...1.0.11) (2026-03-24)

### Bug Fixes

* add S3 GetObjectAttributes and metadata parity ([#29](https://github.com/hectorvent/floci/issues/29)) ([7d5890a](https://github.com/hectorvent/floci/commit/7d5890a6440ca72d565f3d987afa380825ba5861))
2026-03-24 19:29:51 +00:00
semantic-release-bot 91029ccaad chore(release): 1.0.10
## [1.0.10](https://github.com/hectorvent/floci/compare/1.0.9...1.0.10) (2026-03-24)

### Bug Fixes

* return versionId in CompleteMultipartUpload response ([#35](https://github.com/hectorvent/floci/issues/35)) ([6e8713d](https://github.com/hectorvent/floci/commit/6e8713d9fe4e1b3f6536f979899209daa00b0a04)), closes [hectorvent/floci#32](https://github.com/hectorvent/floci/issues/32)
2026-03-24 17:38:32 +00:00
semantic-release-bot 8053ae7c2e chore(release): 1.0.9
## [1.0.9](https://github.com/hectorvent/floci/compare/1.0.8...1.0.9) (2026-03-24)

### Bug Fixes

* add ruby lambda runtime support ([#18](https://github.com/hectorvent/floci/issues/18)) ([38bdaf9](https://github.com/hectorvent/floci/commit/38bdaf9616bdb833dbe1b8d4f13c30659b390768))
2026-03-24 16:23:02 +00:00
semantic-release-bot 93f37272d3 chore(release): 1.0.8
## [1.0.8](https://github.com/hectorvent/floci/compare/1.0.7...1.0.8) (2026-03-24)

### Bug Fixes

* return NoSuchVersion error for non-existent versionId ([5576222](https://github.com/hectorvent/floci/commit/557622299951b50c795204503ef727b8dac9b6b8))
2026-03-24 16:17:08 +00:00
semantic-release-bot 5eeb6828cc chore(release): 1.0.7
## [1.0.7](https://github.com/hectorvent/floci/compare/1.0.6...1.0.7) (2026-03-24)

### Bug Fixes

* s3 unit test error ([0d77526](https://github.com/hectorvent/floci/commit/0d77526e2e457e8827ce82042dc5854d62794fde))
2026-03-24 15:56:06 +00:00
semantic-release-bot d15ed94f52 chore(release): 1.0.6
## [1.0.6](https://github.com/hectorvent/floci/compare/1.0.5...1.0.6) (2026-03-24)

### Bug Fixes

* **s3:** truncate LastModified timestamps to second precision ([#24](https://github.com/hectorvent/floci/issues/24)) ([ad31e7a](https://github.com/hectorvent/floci/commit/ad31e7a7b7ed8850ba668f7f09c3cad6dc8c81b0))
2026-03-24 15:28:36 +00:00
semantic-release-bot 114aa7cee8 chore(release): 1.0.5
## [1.0.5](https://github.com/hectorvent/floci/compare/1.0.4...1.0.5) (2026-03-23)

### Bug Fixes

* fix s3 createbucket response format for rust sdk compatibility ([#11](https://github.com/hectorvent/floci/issues/11)) ([0e29c65](https://github.com/hectorvent/floci/commit/0e29c65266e55f48118ec00a4e6971d6264b08f2))
2026-03-23 22:34:54 +00:00
semantic-release-bot e4446c0377 chore(release): 1.0.4
## [1.0.4](https://github.com/hectorvent/floci/compare/1.0.3...1.0.4) (2026-03-20)

### Bug Fixes

* adding build for development branch ([ae15f4c](https://github.com/hectorvent/floci/commit/ae15f4c79c7a28ba50c0426be5cdf1446cdafdeb))
* adding build for development branch ([95cb2aa](https://github.com/hectorvent/floci/commit/95cb2aaf1e63cf3a8b359bd5ab1c0b9f6cfb506b))
* docker build on native ([525f106](https://github.com/hectorvent/floci/commit/525f106eb4d302192d128a2ee00a80adbcb12c67))
* rename github action ([1fe1f6b](https://github.com/hectorvent/floci/commit/1fe1f6b7d87aa25573f015e2483b1c98a5962c4a))
* update workflow to download artifact into target ([4c18934](https://github.com/hectorvent/floci/commit/4c1893459579a6e5e1fa37145ace2a8433cd56e2))
2026-03-20 01:03:33 +00:00
semantic-release-bot 52062fba45 chore(release): 1.0.4-dev.3
## [1.0.4-dev.3](https://github.com/hectorvent/floci/compare/1.0.4-dev.2...1.0.4-dev.3) (2026-03-17)

### Bug Fixes

* update workflow to download artifact into target ([4c18934](https://github.com/hectorvent/floci/commit/4c1893459579a6e5e1fa37145ace2a8433cd56e2))
2026-03-17 02:51:08 +00:00
semantic-release-bot 8d94e9a3b3 chore(release): 1.0.4-dev.2
## [1.0.4-dev.2](https://github.com/hectorvent/floci/compare/1.0.4-dev.1...1.0.4-dev.2) (2026-03-17)

### Bug Fixes

* rename github action ([1fe1f6b](https://github.com/hectorvent/floci/commit/1fe1f6b7d87aa25573f015e2483b1c98a5962c4a))
2026-03-17 02:13:17 +00:00
semantic-release-bot d97e9f3ce9 chore(release): 1.0.4-dev.1
## [1.0.4-dev.1](https://github.com/hectorvent/floci/compare/1.0.3...1.0.4-dev.1) (2026-03-17)

### Bug Fixes

* adding build for development branch ([ae15f4c](https://github.com/hectorvent/floci/commit/ae15f4c79c7a28ba50c0426be5cdf1446cdafdeb))
* adding build for development branch ([95cb2aa](https://github.com/hectorvent/floci/commit/95cb2aaf1e63cf3a8b359bd5ab1c0b9f6cfb506b))
* docker build on native ([525f106](https://github.com/hectorvent/floci/commit/525f106eb4d302192d128a2ee00a80adbcb12c67))
2026-03-17 01:34:37 +00:00
semantic-release-bot 0b6e6ccf19 chore(release): 1.0.3-dev.1
## [1.0.3-dev.1](https://github.com/hectorvent/floci/compare/1.0.2...1.0.3-dev.1) (2026-03-17)

### Bug Fixes

* adding build for development branch ([ae15f4c](https://github.com/hectorvent/floci/commit/ae15f4c79c7a28ba50c0426be5cdf1446cdafdeb))
* adding build for development branch ([95cb2aa](https://github.com/hectorvent/floci/commit/95cb2aaf1e63cf3a8b359bd5ab1c0b9f6cfb506b))
* improving native image compilation time ([49c69db](https://github.com/hectorvent/floci/commit/49c69db32314f7e2f94114d86d50e88b3e2a3884))
* update git pages config for the docs ([286bef9](https://github.com/hectorvent/floci/commit/286bef9dd7bfcf162f2ca5c2c030ea280e0b6de6))
2026-03-17 01:27:02 +00:00
semantic-release-bot 41729d5e9c chore(release): 1.0.2
## [1.0.2](https://github.com/hectorvent/floci/compare/1.0.1...1.0.2) (2026-03-15)

### Bug Fixes

* docker built action not being triggered ([a6b078f](https://github.com/hectorvent/floci/commit/a6b078fd76f973305ccab2e1ce6b45795e76b9b3))
2026-03-15 23:27:57 +00:00
semantic-release-bot 9a0c755843 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/hectorvent/floci/compare/1.0.0...1.0.1) (2026-03-15)

### Bug Fixes

* github action trigger ([156ceb2](https://github.com/hectorvent/floci/commit/156ceb2d884391864a24787e01b2c64b15b5f0f3))
2026-03-15 23:01:46 +00:00
Hector Ventura 61433f59ab firt commit 2026-03-15 17:43:56 -05:00