Commit Graph
61 Commits
Author SHA1 Message Date
devansh-jain-18 e063ac18ee feat(rds-data): add RDS Data API support (#1262)
* feat(rds-data): add RDS Data API support

* fix(rds-data): harden Data API validation

* fix(rds-data): harden review findings
2026-06-12 23:39:05 -05:00
Hector Ventura e87e26fcb1 chore: release 1.5.24 2026-06-11 02:16:56 -05:00
Hector Ventura 9f9d0273d5 chore: release 1.5.23 2026-06-07 01:52:30 -05:00
AgustinBertagna 4446404288 feat(appsync): Phase 2 — Schema Registry, Model Fixes, CRUDL completion & AWS Scalars (#1185)
* build: add graphql-java dependency

* feat(appsync): add and extend data models for Phase 2

- Add AdditionalAuthenticationProvider, DomainName, ChannelNamespace, ApiAssociation models
- Add 14 fields to GraphqlApi (apiType, visibility, owner, etc.)
- Change additionalAuthenticationProviders from raw maps to typed list
- Add 6 fields to Resolver (resolverArn, cachingConfig, maxBatchSize, etc.)
- Add dataSourceArn to DataSource
- Rename FunctionConfiguration.arn to functionArn

* feat(appsync): add service and controller changes for Phase 2

* feat(appsync): add service and controller changes for Phase 2

* test(appsync): add Phase 2 integration tests

Add ~60 new tests for:
- Model completeness (new fields, ARNs, functionArn rename)
- Domain names CRUDL + associate/disassociate
- Channel namespaces CRUDL + update
- Merged API associations CRUDL
- Enhanced metrics
- Schema registry parsing with AWS scalars and extensions
- Directive registration (aws_api_key, aws_subscribe, deprecated, unknown)
- Edge cases (null auth providers, maxBatchSize 0, cleanup on delete)

* test(appsync): add AWS scalar unit tests

Test all 17 AWS scalars:
- All registered in AppSyncScalarRegistry
- AWSDateTime, AWSJSON, AWSEmail parse valid/invalid values
- AWSTimestamp and AWSShort range validation
- AWSURL and AWSPhone format validation

* test(appsync): add SDK compatibility tests for Phase 2

Validate that the AWS SDK Java v2 can read:
- dataSourceArn() on CreateDataSource response
- resolverArn() on CreateResolver response
- functionArn() on CreateFunction response
- BadRequestException on invalid schema creation

* docs(appsync): add Phase 2 operations, schema registry, and AWS scalars documentation

- Add Domain Names, Channel Namespaces, Merged API Associations, Enhanced Metrics
- Document AWS scalar types (17 scalars with validation rules)
- Document AppSync directives (8 directives with locations)
- Update Not Implemented section with future phase references
- Add CLI examples for domain names and channel namespaces
- Update cascade delete to include channel namespaces and domain associations

* docs: add AppSync to service tables, env vars, storage config, and SDK README

- README.md: add AppSync to category table, detailed notes, and architecture diagram
- docs/index.md: add AppSync to supported services table, fix count to 52
- docs/configuration/environment-variables.md: add FLOCI_SERVICES_APPSYNC_ENABLED
- docs/configuration/advanced/application-yml.md: add appsync config block
- docs/configuration/storage.md: add AppSync per-service storage override
- compatibility-tests/sdk-test-java/README.md: add AppSyncTest to services table

* fix(appsync): reuse ObjectMapper and fix AWSJSON serialize for non-string values

AWSJSON scalar was creating a new ObjectMapper on every parseValue() call. serialize() used toString() which produces invalid JSON for Map/JsonNode results.

* fix(appsync): strip string literals and comments before unknown directive validation

The regex @(\w+) incorrectly flagged @ mentions inside GraphQL string literals and comments as unknown directives.

* fix(appsync): prevent silent overwrite on creates, validate required fields and input values

- Add existence checks on createDataSource, createResolver, createType,
  createChannelNamespace, createMergedApiAssociation (→ ConflictException 409)
- Validate authenticationType is required on createGraphqlApi
- Validate typeName is required on createResolver
- Validate dataSourceName exists on createResolver and createFunction
- Prevent associateApi from silently overwriting existing association
- Enforce API key limit (max 2 per API)
- Fix expires parsing to accept ISO 8601 strings, throw on invalid values
- Fix castInt overflow detection
- Fix updateApiKey expires validation (was silently swallowing errors)
- Change InvalidNextTokenException to BadRequestException (AWS standard)
- Fix maxResults=0 to return empty page
- Fix getIntrospectionSchema to throw 404 instead of returning null
- Fix tags with null values (was producing literal string "null")

* test(appsync): fix cascade delete test to create data source before function, align with new validation

* refactor(appsync): remove dead code and unused hasSchema()

- Delete AppSyncDirectiveRegistry.java (100 lines, never used)
- Delete DirectiveValidator.java (45 lines, never called)
- Remove hasSchema() from SchemaRegistry (never called)

* fix(appsync): scalar null-safety, type validation, and DNS resolution

- Add null checks to 5 serialize() methods (AWS_TIMESTAMP, AWS_LONG,
  AWS_INTEGER, AWS_BOOLEAN, AWS_FLOAT) to prevent NPE
- Fix AWS_TIMESTAMP parseValue() ClassCastException on String input
- Replace InetAddress.getByName() with regex in AWS IPAddress to
  prevent DNS resolution (SSRF concern)
- AWSBoolean now rejects non-boolean values (matches AppSync behavior)

* refactor(appsync): centralize directive definitions in AppSyncDirective enum

- Add AppSyncDirective enum as single source of truth for directive
  names and SDL definitions
- Update AppSyncSchemaParser to use enum instead of duplicated strings
- Eliminates 3 sources of truth (validateNoUnknownDirectives Set,
  injectDirectiveDefinitions SDL, and formerly AppSyncDirectiveRegistry)

* perf(appsync): cache scalarMap in AppSyncScalarRegistry

- Initialize scalarMap once in constructor as unmodifiableMap
- Avoids recreating HashMap on every call (was called twice per
  schema parse)

* test(appsync): add tests for scalar fixes and behavior changes

- Add tests for null-safety in serialize() (5 scalars)
- Add test for AWSTimestamp parseValue with String input
- Add tests for AWSIPAddress regex validation (IPv4, IPv6, invalid)
- Add tests for AWSBoolean rejecting non-boolean values
- Add test for scalarMap caching

* test(sdk): add AWS scalars schema creation test

Verifies that schemas with AWS scalar types (AWSDateTime, AWSJSON,
AWSIPAddress, AWSBoolean) parse correctly via the SDK.

* fix(appsync): correct API paths to match AWS documentation

- Channel namespaces: /v1/ → /v2/, channelnamespaces → channelNamespaces
- Domain association: /apis → /apiassociation
- Remove ListApiAssociations (not a real AppSync operation)
- Remove GetEnhancedMetricsConfig (not a real AppSync operation)
- Rename Merged API Association to Source API Association with correct paths:
  - AssociateSourceGraphqlApi: POST /v1/mergedApis/{id}/sourceApiAssociations
  - GetSourceApiAssociation: GET /v1/mergedApis/{id}/sourceApiAssociations/{id}
  - ListSourceApiAssociations: GET /v1/apis/{apiId}/sourceApiAssociations
  - DisassociateSourceGraphqlApi: DELETE /v1/mergedApis/{id}/sourceApiAssociations/{id}

* feat(appsync): add SourceApiAssociation models

Add SourceApiAssociation, SourceApiAssociationConfig, and
SourceApiAssociationSummary models to support merged/source API
association operations per AWS AppSync API Reference.

* feat(appsync): add ChannelNamespace support models

Add AuthMode, HandlerConfig, HandlerConfigs, Integration, and
LambdaConfig models for ChannelNamespace handler configuration
per AWS AppSync API Reference.

* fix(appsync): fix ApiAssociation and ChannelNamespace models

ApiAssociation: remove source/merged API fields, keep only domain
association fields (apiId, associationStatus, deploymentDetail,
domainName) per AWS AppSync API Reference.

ChannelNamespace: add missing fields (channelNamespaceArn,
codeHandlers, created, handlerConfigs, lastModified,
publishAuthModes, subscribeAuthModes, tags) per AWS docs.

* feat(appsync): add missing service methods and fix response models

- associateApi now returns full ApiAssociation object
- createMergedApiAssociation returns SourceApiAssociation
- createSourceApiAssociation returns SourceApiAssociation
- getSourceApiAssociation validates mergedApiId
- listSourceApiAssociations returns SourceApiAssociationSummary
- Add updateSourceApiAssociation method
- Add deleteMergedApiAssociation method
- ChannelNamespace: populate arn, timestamps on create/update

* feat(appsync): fix response formats and add missing endpoints

- associateMergedGraphqlApi: response key apiAssociation → sourceApiAssociation
- disassociateSourceGraphqlApi: returns 200 + body (not 204)
- associateApi: returns full ApiAssociation from service
- Add POST /v1/mergedApis/{id}/sourceApiAssociations/{assocId} (UpdateSourceApiAssociation)
- Add DELETE /v1/sourceApis/{id}/mergedApiAssociations/{assocId} (DisassociateMergedGraphqlApi)

* test(appsync): fix and add integration tests for new endpoints

- Fix associateSourceGraphqlApi: use mergedApiId and sourceApiAssociationStatus
- Fix deleteSourceApiAssociation: expect 200 with body (not 204)
- Add updateDomainName test
- Add associateMergedGraphqlApi test
- Add updateSourceApiAssociation test
- Add disassociateMergedGraphqlApi test

* test(appsync): add SDK tests for missing operations

- Add updateDomainName test
- Add associateMergedGraphqlApi test
- Add updateSourceApiAssociation test
- Add disassociateMergedGraphqlApi test
- Fix test ordering for new domain tests
2026-06-07 00:05:51 -05:00
Hector Ventura 86be48ece1 chore(deps): bump quarkus to 3.36.0 and patch build dependencies (#1197)
Applies the native-safe subset of Dependabot's dependency updates:

- io.quarkus.platform            3.34.6 -> 3.36.0
- com.dashjoin:jsonata          0.9.9  -> 0.9.10
- io.swagger.parser.v3:swagger-parser  2.1.41 -> 2.1.43
- maven-surefire-plugin         3.5.5  -> 3.5.6
- maven-enforcer-plugin         3.6.2  -> 3.6.3

Excludes the coupled protobuf 4.x / apicurio 3.x chain
(proto-google-common-protos 2.71.0, protobuf-java(+util) 4.34.1,
apicurio 3.2.3). Those cannot be applied piecemeal: apicurio 3.x breaks
compilation (renamed packages, ContentHandle -> TypedContent) and
protobuf 4.x breaks the GraalVM native image because apicurio 2.6.9
references protobuf-3-only symbols (setPhpGenericServices, GeneratedFile)
removed in 4.x. They require a coordinated upgrade with source migration.

Verified: ./mvnw test, native image build, and native boot + smoke test.
2026-06-05 23:17:23 -05:00
Hector Ventura 60062b3b45 chore: release 1.5.22 2026-06-04 01:48:44 -05:00
Hector Ventura d33d6b67c0 chore: release 1.5.21 2026-05-31 23:03:42 -05:00
Asha Somayajula c7a4ef37f1 fix: Enforce JDK 25 requirement with Maven Enforcer Plugin (#1101) 2026-05-30 16:04:35 -05:00
Hector Ventura b98a096e66 chore: release 1.5.20 2026-05-29 03:15:08 -05:00
Hector Ventura bd5ba4a224 chore: release 1.5.19 2026-05-24 16:59:58 -05:00
Hector Ventura 03b729b8bb chore: release 1.5.18 2026-05-21 01:47:17 -05:00
Hector Ventura c36fa99a95 chore: release 1.5.17 2026-05-18 00:34:41 -05:00
Hector Ventura b6619f8646 fix(floci-core): remove aws sdk from floci project (#846) 2026-05-14 23:39:23 -05:00
Hector Ventura 5d992a5d87 chore: release 1.5.15 2026-05-13 02:20:14 -05:00
Hector Ventura c8adf75370 chore: release 1.5.14 2026-05-10 12:14:11 -05:00
Roméo d7ec2b284f feat(textract): add Textract service support and integration tests (#719)
* feat(textract): add Textract service support and integration tests
* chore(textract): Implement PR suggestions
* fix(textract): remove completed async jobs to prevent memory growth
2026-05-07 21:08:39 -05:00
Hector Ventura c444da222c Release 1.5.13 2026-05-07 01:40:21 -05:00
Hector Ventura 6ba25dba4b chore: release 1.5.12 2026-05-04 01:35:33 -05:00
Tristan BurchandHector Ventura b84d205b89 feat: Glue Schema Registry support (#621)
* feat(glue): add Glue Schema Registry support
* Move Glue SDK coverage to compatibility tests
* Align protobuf compatibility expectations
* Resolve services index merge conflict
* Remove unused Lombok compatibility dependency
* Serialize Glue schema registry timestamps as strings
* Tighten Glue schema registry name validation
* Avoid duplicate schema registry index rebuild
* Limit schema registry in-memory constructor visibility
* Clone Glue tables before resolving schema references
* Align Glue schema registry response shapes
* Extract Glue schema version resolver helper

Both validateSchemaReference and withResolvedSchemaReference duplicated
the latest-version computation and the four-argument getSchemaVersion
call. Pull that into a private resolveSchemaVersion(SchemaReference)
helper so the call sites read at one level of abstraction and a future
change to the resolution rule lands in one place.
* Fix Glue schema version list projection

---------

Signed-off-by: Tristan Burch <tburch@users.noreply.github.com>
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
Co-authored-by: Hector Ventura <hectorvent@gmail.com>
2026-05-03 22:41:19 -05:00
dependabot[bot] 42eccdd0b1 chore(deps): bump the maven-minor-patch group across 1 directory with 5 updates (#679)
Bumps the maven-minor-patch group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [io.quarkus.platform:quarkus-bom](https://github.com/quarkusio/quarkus-platform) | `3.34.5` | `3.34.6` |
| [io.quarkus.platform:quarkus-maven-plugin](https://github.com/quarkusio/quarkus-platform) | `3.34.5` | `3.34.6` |
| software.amazon.awssdk:bom | `2.42.36` | `2.42.41` |
| org.apache.james:apache-mime4j-dom | `0.8.11` | `0.8.14` |
| [io.swagger.parser.v3:swagger-parser](https://github.com/swagger-api/swagger-parser) | `2.1.40` | `2.1.41` |



Updates `io.quarkus.platform:quarkus-bom` from 3.34.5 to 3.34.6
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.5...3.34.6)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.34.5 to 3.34.6
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.5...3.34.6)

Updates `software.amazon.awssdk:bom` from 2.42.36 to 2.42.41

Updates `org.apache.james:apache-mime4j-dom` from 0.8.11 to 0.8.14

Updates `io.swagger.parser.v3:swagger-parser` from 2.1.40 to 2.1.41
- [Release notes](https://github.com/swagger-api/swagger-parser/releases)
- [Commits](https://github.com/swagger-api/swagger-parser/compare/v2.1.40...v2.1.41)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.34.5 to 3.34.6
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.5...3.34.6)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-version: 3.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-version: 3.35.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-version: 3.35.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
- dependency-name: io.swagger.parser.v3:swagger-parser
  dependency-version: 2.1.41
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: org.apache.james:apache-mime4j-dom
  dependency-version: 0.8.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.43.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-02 22:31:09 -05:00
Hector Ventura 0b5f9e183e chore: release 1.5.11 2026-05-02 01:05:26 -05:00
dependabot[bot] 0f07d6b031 chore(deps): bump the maven-minor-patch group across 1 directory with 6 updates (#521)
Bumps the maven-minor-patch group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [io.quarkus.platform:quarkus-bom](https://github.com/quarkusio/quarkus-platform) | `3.34.3` | `3.34.5` |
| [io.quarkus.platform:quarkus-maven-plugin](https://github.com/quarkusio/quarkus-platform) | `3.34.3` | `3.34.5` |
| software.amazon.awssdk:bom | `2.42.33` | `2.42.36` |
| [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) | `1.83` | `1.84` |
| [org.bouncycastle:bcpkix-jdk18on](https://github.com/bcgit/bc-java) | `1.83` | `1.84` |
| [io.swagger.parser.v3:swagger-parser](https://github.com/swagger-api/swagger-parser) | `2.1.39` | `2.1.40` |



Updates `io.quarkus.platform:quarkus-bom` from 3.34.3 to 3.34.5
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.3...3.34.5)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.34.3 to 3.34.5
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.3...3.34.5)

Updates `software.amazon.awssdk:bom` from 2.42.33 to 2.42.36

Updates `org.bouncycastle:bcprov-jdk18on` from 1.83 to 1.84
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Updates `org.bouncycastle:bcpkix-jdk18on` from 1.83 to 1.84
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Updates `io.swagger.parser.v3:swagger-parser` from 2.1.39 to 2.1.40
- [Release notes](https://github.com/swagger-api/swagger-parser/releases)
- [Commits](https://github.com/swagger-api/swagger-parser/compare/v2.1.39...v2.1.40)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.34.3 to 3.34.5
- [Commits](https://github.com/quarkusio/quarkus-platform/compare/3.34.3...3.34.5)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-version: 3.34.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-version: 3.34.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.42.36
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.84'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
- dependency-name: org.bouncycastle:bcpkix-jdk18on
  dependency-version: '1.84'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven-minor-patch
- dependency-name: io.swagger.parser.v3:swagger-parser
  dependency-version: 2.1.40
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-version: 3.34.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: maven-minor-patch
.
2026-05-01 17:16:02 -05:00
Hector Ventura f30bd79d67 chore: release 1.5.10 2026-04-30 00:59:04 -05:00
Hector Ventura 4ca983de48 fix: release 1.5.9 2026-04-28 00:40:41 -05:00
Hector Ventura 51bd80230e fix: release 1.5.8 2026-04-25 23:02:47 -05:00
Hector Ventura ad76540347 chore: release 1.5.7 2026-04-23 02:24:42 -05:00
Hector Ventura f669be1edb fix: release 1.5.6 (#569) 2026-04-23 02:06:25 -05:00
Hector Ventura 86906ebd90 fix(native,acm): fix native image reflection for acm (#559) 2026-04-21 23:03:24 -05:00
Kenshin Okinaka c69580764e feat(ses): SMTP relay for SendEmail and SendRawEmail (#534)
* 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.
2026-04-20 22:47:06 -05:00
Hector Ventura b7774d17b2 fix: release 1.5.5 2026-04-19 23:45:27 -05:00
Hector Ventura 0f70ff75a8 fix: updating docker client dependency (#513) 2026-04-19 01:04:28 -05:00
Hector Ventura e080543ef4 Release 1.5.4 2026-04-17 03:17:23 -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 2127ac995f fix: updating dependencies (#391) 2026-04-12 22:26:59 -05:00
Hector Ventura 6610c3c527 chore: release 1.5.3 2026-04-12 21:34:57 -05:00
TiM c227c3cd4a test(auth): add SigV4 validator unit tests for RDS and ElastiCache proxies (#361)
* 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)
2026-04-12 02:15:49 -05:00
Hector Ventura 494cff2e14 chore: release 1.5.2 2026-04-10 02:36:30 -05:00
GitMarco 8bac81807e Fix(dynamoDB): handle null for Java AWS SDK v2 DynamoDB EnhancedClient correctly (#309)
* 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.
2026-04-09 17:53:48 -05:00
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