Commit Graph
82 Commits
Author SHA1 Message Date
semantic-release-bot e0aab2e27d chore(release): 1.6.0
# [1.6.0](https://github.com/floci-io/floci/compare/1.5.34...1.6.0) (2026-08-06)

### Bug Fixes

* **1790:** better populate describe alarm responses ([#1792](https://github.com/floci-io/floci/issues/1792)) ([fcb22be](https://github.com/floci-io/floci/commit/fcb22be76b3ce5d3e9f2cd3e740d992817d7c140))
* **apigateway:** fall through to less specific resources on method mi… ([#1630](https://github.com/floci-io/floci/issues/1630)) ([96c7aa6](https://github.com/floci-io/floci/commit/96c7aa68ee58bbc03f7bcdff4ac17af18bf56976)), closes [#1547](https://github.com/floci-io/floci/issues/1547)
* **apigateway:** import authorizers and security requirements from OpenAPI ([#1798](https://github.com/floci-io/floci/issues/1798)) ([91e06eb](https://github.com/floci-io/floci/commit/91e06ebebf5725ee0de4899f4caf92616a70c96a))
* **apigateway:** use last duplicate header value ([#1806](https://github.com/floci-io/floci/issues/1806)) ([6a214e8](https://github.com/floci-io/floci/commit/6a214e84d6315faa69ffc17f114c1a0d1825ed90))
* **athena:** report the result CSV object key as OutputLocation ([#1895](https://github.com/floci-io/floci/issues/1895)) ([418ec1b](https://github.com/floci-io/floci/commit/418ec1bdae3dde388ddda7d235cf13f3d5f6f485)), closes [#1752](https://github.com/floci-io/floci/issues/1752)
* **cloudformation:** AWS::IAM::ManagedPolicy exposes PolicyArn for Fn::GetAtt ([#2056](https://github.com/floci-io/floci/issues/2056)) ([f719033](https://github.com/floci-io/floci/commit/f71903379c5bbf3ef5009f3ee721e5d83a2a7c59))
* **cloudformation:** keep uniqueness suffix when truncating generated resource names ([#1802](https://github.com/floci-io/floci/issues/1802)) ([48b2139](https://github.com/floci-io/floci/commit/48b2139b4fbabb4fb30c71e9963bc78f614fa57f)), closes [#1825](https://github.com/floci-io/floci/issues/1825)
* **cloudformation:** preserve subnet public IP setting ([#2031](https://github.com/floci-io/floci/issues/2031)) ([b62d1e7](https://github.com/floci-io/floci/commit/b62d1e762e61e5262b326f07997d349949fd752d))
* **cloudformation:** provision AWS::ApiGatewayV2::Authorizer and wire Route.AuthorizerId ([#1760](https://github.com/floci-io/floci/issues/1760)) ([7f51c74](https://github.com/floci-io/floci/commit/7f51c746cdc2d568b1d9add083365a9df16fa8c8)), closes [#1773](https://github.com/floci-io/floci/issues/1773)
* **cloudformation:** resolve Fn::GetAtt [Vpc, DefaultSecurityGroup] ([#1977](https://github.com/floci-io/floci/issues/1977)) ([bdad066](https://github.com/floci-io/floci/commit/bdad0666947e69215eb454adf3a6a97b93a4f035)), closes [#1976](https://github.com/floci-io/floci/issues/1976)
* **cloudformation:** treat delete of an already-removed DynamoDB table or Lambda function as idempotent ([#1803](https://github.com/floci-io/floci/issues/1803)) ([5cb26ff](https://github.com/floci-io/floci/commit/5cb26ff1170d51cfd5a69430b588793e1e18dfeb))
* **codebuild:** stabilize start and retry responses ([#2052](https://github.com/floci-io/floci/issues/2052)) ([fa96b79](https://github.com/floci-io/floci/commit/fa96b791b467ffc54809ae5541b0bf56e08dae23))
* **cognito:** reject unconfirmed users in SRP auth ([#2027](https://github.com/floci-io/floci/issues/2027)) ([733c72d](https://github.com/floci-io/floci/commit/733c72d02a422c71f4c360b58a263be2d2a10833))
* **dockerfile:** ensure docker-java compatibility ([#2096](https://github.com/floci-io/floci/issues/2096)) ([7ade290](https://github.com/floci-io/floci/commit/7ade290312726732b5ad79688ae75a85ce5673bb))
* **dynamodb:** resolve nested document paths in ADD and DELETE update actions ([#1908](https://github.com/floci-io/floci/issues/1908)) ([c052259](https://github.com/floci-io/floci/commit/c0522593e5c0c03d5635bbb44ff4c8d752f595d9))
* **ec2:** DescribeKeyPairs returns InvalidKeyPair.NotFound for missing names/ids ([#1932](https://github.com/floci-io/floci/issues/1932)) ([7d96106](https://github.com/floci-io/floci/commit/7d961068e1f177d01e4ed8e44b8342fad4a099bf)), closes [#1911](https://github.com/floci-io/floci/issues/1911)
* **ec2:** return AWS-parity MissingParameter for CreateSubnet without VpcId ([#2094](https://github.com/floci-io/floci/issues/2094)) ([88408d8](https://github.com/floci-io/floci/commit/88408d85748d35418dc166bf5eb4150d8d4b02c1)), closes [#2089](https://github.com/floci-io/floci/issues/2089)
* **ecs:** resolve Secrets Manager JSON-key selectors in task definition secrets ([#2133](https://github.com/floci-io/floci/issues/2133)) ([e3c180b](https://github.com/floci-io/floci/commit/e3c180b952ed20319d7a8f8b235aed622c65de7c)), closes [#1912](https://github.com/floci-io/floci/issues/1912)
* **lambda:** carry the owning account into published version snapshots ([#2041](https://github.com/floci-io/floci/issues/2041)) ([f4e8bd8](https://github.com/floci-io/floci/commit/f4e8bd8edfd8fa5bb8e930da0a1dd3523007bad3)), closes [#2040](https://github.com/floci-io/floci/issues/2040)
* **lambda:** report resolved executed version ([#2026](https://github.com/floci-io/floci/issues/2026)) ([2889fbd](https://github.com/floci-io/floci/commit/2889fbdef8fd3cffa1e2185c6f2adeed7501d2e5))
* **lambda:** reset volatile DynamoDB Streams ESM checkpoints on restart ([#2077](https://github.com/floci-io/floci/issues/2077)) ([847c30a](https://github.com/floci-io/floci/commit/847c30a52d29ac39034dacc109b48fc47bab361c))
* **pipes:** register kafka-clients reflection metadata for native image ([#2068](https://github.com/floci-io/floci/issues/2068)) ([ab73379](https://github.com/floci-io/floci/commit/ab733798a38d2498901ede719e2841f04c003a31))
* **s3:** accept a percent-encoded bucket/key separator in copy sources ([#2060](https://github.com/floci-io/floci/issues/2060)) ([a8ed218](https://github.com/floci-io/floci/commit/a8ed218c5790ae3db6202e75aad1b062f655cdbb)), closes [#2038](https://github.com/floci-io/floci/issues/2038)
* **s3:** apply CreateBucketConfiguration tags on bucket creation ([#2115](https://github.com/floci-io/floci/issues/2115)) ([79031a2](https://github.com/floci-io/floci/commit/79031a240ab03a7a6d97758c15b3b100bf158b73))
* **s3:** include EventBridgeConfiguration in GetBucketNotification response ([#2072](https://github.com/floci-io/floci/issues/2072)) ([b8edd37](https://github.com/floci-io/floci/commit/b8edd37b0c9ff8dc0f40b2e56bff085a7ff8ec18))
* **s3:** recognize virtual-hosted-style requests over HTTP/2 ([#1954](https://github.com/floci-io/floci/issues/1954)) ([5f7d4d2](https://github.com/floci-io/floci/commit/5f7d4d2dc85a318db455fdd8bee83839ecb13903)), closes [#1866](https://github.com/floci-io/floci/issues/1866)
* **ssm:** report invalid batch parameter names ([#2075](https://github.com/floci-io/floci/issues/2075)) ([04873bf](https://github.com/floci-io/floci/commit/04873bfd092792eff42824b0405f2050e5fe897c))
* **tls:** reuse the persisted self-signed certificate across restarts ([#1799](https://github.com/floci-io/floci/issues/1799)) ([a4356f2](https://github.com/floci-io/floci/commit/a4356f25fb3cc277b0f6277469ec5fc49f43c7ca))

### Features

* Add AWSCloudFormationReadOnlyAccess as a managed policy. ([#2057](https://github.com/floci-io/floci/issues/2057)) ([0142dc4](https://github.com/floci-io/floci/commit/0142dc434f98ba14a13236196c72036839a1e84b))
* **apigateway:** support floci:override-id for v1 and v2 ([#2045](https://github.com/floci-io/floci/issues/2045)) ([02385da](https://github.com/floci-io/floci/commit/02385da37b1e14ba01938f408b8a5695218619bf)), closes [#1593](https://github.com/floci-io/floci/issues/1593)
* **bedrock:** add proxy backend for real LLM responses via OpenAI-compatible API ([#1789](https://github.com/floci-io/floci/issues/1789)) ([875e0f2](https://github.com/floci-io/floci/commit/875e0f2d3b63ae5fbf7ca1bffb9a1df3a83b8bc2))
* **cloudcontrol:** include EC2 resource tags ([#1933](https://github.com/floci-io/floci/issues/1933)) ([205a8f1](https://github.com/floci-io/floci/commit/205a8f174b926a6f27bfcf830e78289497dcc706))
* **cloudformation:** provision AWS::EC2::LaunchTemplate ([#1973](https://github.com/floci-io/floci/issues/1973)) ([4e0a815](https://github.com/floci-io/floci/commit/4e0a815f20f38b9952a2a899b9a38de4175b27e5)), closes [#1971](https://github.com/floci-io/floci/issues/1971)
* **cloudformation:** provision AWS::EC2::VPCGatewayAttachment ([#1972](https://github.com/floci-io/floci/issues/1972)) ([1a99721](https://github.com/floci-io/floci/commit/1a99721ae04659e986afcc37afbe4c7e5f8560c4)), closes [#1970](https://github.com/floci-io/floci/issues/1970)
* **cloudformation:** provision AWS::SecretsManager::SecretTargetAttachment ([#1804](https://github.com/floci-io/floci/issues/1804)) ([62a576c](https://github.com/floci-io/floci/commit/62a576c8d482dce64b941d3cc987ec2717b9497f))
* **cloudformation:** support AWS::Events::EventBus and EventBusPolicy ([#1794](https://github.com/floci-io/floci/issues/1794)) ([76f602f](https://github.com/floci-io/floci/commit/76f602fafa67df26e60e69a18f4591494e172b0f))
* **cognito:** implement ResendConfirmationCode ([#2071](https://github.com/floci-io/floci/issues/2071)) ([bb7c45c](https://github.com/floci-io/floci/commit/bb7c45ce1bd1c27d06abae095493240209d4647c)), closes [#2067](https://github.com/floci-io/floci/issues/2067)
* **ec2:** added attach and detach volume support ([#1787](https://github.com/floci-io/floci/issues/1787)) ([2c74329](https://github.com/floci-io/floci/commit/2c743299ec3574f2fb2258555a965a0458bded2b))
* **ec2:** return an empty set for DescribeVpnGateways ([#1975](https://github.com/floci-io/floci/issues/1975)) ([3baf4f4](https://github.com/floci-io/floci/commit/3baf4f48496d31d67f5786d2fa5d8fee15bd8e1d)), closes [#1974](https://github.com/floci-io/floci/issues/1974)
* **iam:** list entities attached to managed policies ([#1808](https://github.com/floci-io/floci/issues/1808)) ([78ba5b3](https://github.com/floci-io/floci/commit/78ba5b345793296e3edfd80e74eb68f1691fccb5))
* **iam:** seed Amazon Bedrock managed policies ([#2034](https://github.com/floci-io/floci/issues/2034)) ([5874348](https://github.com/floci-io/floci/commit/58743487a799c46beeb5276bf40f88e7eda4103f)), closes [#1559](https://github.com/floci-io/floci/issues/1559) [#1216](https://github.com/floci-io/floci/issues/1216)
* **iam:** seed the managed policies CDK bootstrap and the scenario stacks attach ([#2064](https://github.com/floci-io/floci/issues/2064)) ([43aea09](https://github.com/floci-io/floci/commit/43aea0983d53c41eff4ed4307663b8ab1424c567)), closes [#2059](https://github.com/floci-io/floci/issues/2059) [#2057](https://github.com/floci-io/floci/issues/2057) [#2057](https://github.com/floci-io/floci/issues/2057)
* **kms:** implement ListKeyPolicies ([#2046](https://github.com/floci-io/floci/issues/2046)) ([760115d](https://github.com/floci-io/floci/commit/760115db14d6f101b0f282b71f81a11deefc9922)), closes [#1528](https://github.com/floci-io/floci/issues/1528)
* **lambda:** implement the Lambda Extensions API ([#1773](https://github.com/floci-io/floci/issues/1773)) ([9f0dec9](https://github.com/floci-io/floci/commit/9f0dec9317d26c53b26345ce15bf3cf9f28eebd3))
* **lambda:** support extra /etc/hosts entries on Lambda launch ([#2073](https://github.com/floci-io/floci/issues/2073)) ([b543aa4](https://github.com/floci-io/floci/commit/b543aa4baad4a35e6f4b4331673dd69038d13e2e))
* **mwaa:** add Amazon MWAA emulation backed by real Airflow (LocalExecutor) ([#2086](https://github.com/floci-io/floci/issues/2086)) ([7e4e3e8](https://github.com/floci-io/floci/commit/7e4e3e8c501a09f036a688df7f468ba58ab0c787))
* **release:** one-button release cut from main and ECR Public versioned publishing ([#2127](https://github.com/floci-io/floci/issues/2127)) ([61011c0](https://github.com/floci-io/floci/commit/61011c0fa80919ef2f0ddf86cf0570594f09b6c3))
* **rum:** add CloudWatch RUM app-monitor service ([#1797](https://github.com/floci-io/floci/issues/1797)) ([aadc93e](https://github.com/floci-io/floci/commit/aadc93e30603e7941dbac168638df5c389e914b7))
* **sqs:** retain MessageGroupId on standard queue messages ([#1891](https://github.com/floci-io/floci/issues/1891)) ([a01b707](https://github.com/floci-io/floci/commit/a01b707bdc674b715bcca1cc7ef2a306f7025c07)), closes [#1496](https://github.com/floci-io/floci/issues/1496)

### Performance Improvements

* **docker:** stop duplicating the native binary into a second image layer ([#2069](https://github.com/floci-io/floci/issues/2069)) ([9e90e5c](https://github.com/floci-io/floci/commit/9e90e5cff3b312af559506fd8d9b97750c91e0d9))
2026-08-06 05:32:52 +00:00
Hector Ventura b60a58fab6 chore: release 1.5.34 2026-07-28 23:53:56 -05:00
Juri Duval ac8a3d7c82 feat(sfn): support http invoke step (#1503)
* feat(1047): Http invocation support

* feat(1047): add tests for http invoke

* fix(1047): remove irrelevant headers

* fix(1047): fix assertion

* chore(sfn): merge main

* chore(sfn): add statusText

* chore(sfn): add correct timeout handling and improve http server tests

* chore(sfn): adress pr comments arount url encoded body handling

* chore(sfn): only allow https by default

* chore(sfn): better error message
2026-07-22 08:45:48 -04:00
Hector Ventura fba4d8f5f9 chore: release 1.5.33 2026-07-15 01:53:21 -04:00
Hector Ventura f93e0290b7 chore: release 1.5.32 2026-07-11 02:46:04 -05:00
AgustinBertagna f915622e36 feat(appsync): Phase 5 — Management API Coverage + AWS Behavior Alignment + Async Schema Creation (#1590)
* test(appsync): strengthen existing integration error tests with __type and message assertions

All 30 existing error assertions (400/404) previously checked only the HTTP
status code. Each now also verifies the AWS error body shape:
  {"__type":"<ExceptionClass>","message":"<...>"}

This locks in the __type field that the AWS SDK v2 uses to instantiate the
typed exception (NotFoundException, BadRequestException, etc.) and guards
against accidental changes to error codes and messages.

* test(appsync): add 409 conflict and 429 limit tests

Add 7 new integration tests covering previously untested error paths:

ConflictException (409):
- createDataSourceDuplicateReturns409
- createResolverDuplicateReturns409
- createTypeDuplicateReturns409
- createDomainNameDuplicateReturns409
- createChannelNamespaceDuplicateReturns409
- associateApiDuplicateReturns409 (domain already associated)

LimitExceededException (429):
- createApiKeyExceedsLimitReturns429 (3rd key exceeds max 2 per API)

All tests are self-contained: create resources, assert the error, then
clean up. Each asserts statusCode + __type + message substring.

* test(appsync): add 404 tests for update/delete and cross-resource create

Add 11 new integration tests covering previously untested 404 paths:

Update/delete of non-existent resources (8):
- updateResolverNonExistentReturns404
- deleteResolverNonExistentReturns404
- updateFunctionNonExistentReturns404
- deleteFunctionNonExistentReturns404
- updateApiKeyNonExistentReturns404
- deleteApiKeyNonExistentReturns404
- updateDomainNameNonExistentReturns404
- updateChannelNamespaceNonExistentReturns404

Cross-resource 404 on create (3) — missing referenced resource:
- createResolverMissingDataSourceReturns404
- createFunctionMissingDataSourceReturns404
- associateApiMissingDomainReturns404

Each asserts statusCode + __type=NotFoundException + message substring.

* test(appsync): add pagination, edge case, and updateChannelNamespace tests

Add 7 new integration tests:

Pagination for previously untested list operations (3):
- listDomainNamesWithMaxResults
- listChannelNamespacesWithMaxResults
- listSourceApiAssociationsWithMaxResults
Each creates >=2 items, verifies page size + nextToken, follows token,
and cleans up.

Pagination edge cases (3):
- listWithMaxResultsZero (empty page + nextToken present)
- listWithNegativeMaxResultsReturns400
- listWithInvalidNextTokenNonApiReturns400 (data sources path)

Update channel namespace (1):
- updateChannelNamespace (verify description field change)

* test(appsync): upgrade SDK error tests to typed exceptions

Upgrade 4 existing SDK error tests from the generic AppSyncException to
the typed exception classes that the AWS SDK v2 maps from the __type
response field:

- getNonExistentApiThrowsException -> NotFoundException
- getNonExistentDataSourceThrowsException -> NotFoundException
- getNonExistentTypeThrowsException -> NotFoundException
- startSchemaCreation_invalidSchema -> BadRequestException

Each now also asserts hasMessageContaining with the expected message
substring. This aligns AppSyncTest with the repo convention used by
ApiGatewayV2ManagementTest, SchedulerTest, and ElbV2Test.

Also strengthen two existing update tests with field assertions:
- updateChannelNamespace: now sets codeHandlers and verifies the response
- updateDomainName: now asserts description field equals updated value

* fix: correct environment variables API path case for SDK compatibility

The AppSync controller used lowercase /v1/apis/{apiId}/environmentvariables
but the AWS SDK v2 sends to /v1/apis/{apiId}/environmentVariables (capital V).
This broke both getGraphqlApiEnvironmentVariables and
putGraphqlApiEnvironmentVariables for all SDK clients.

Fix the @Path annotations in the controller and update integration test
paths to match the SDK-expected casing.

* fix(appsync): align error codes and messages with AWS AppSync behavior

- DataSource duplicate: ConflictException 409 → BadRequestException 400
- Resolver duplicate: ConflictException 409 → BadRequestException 400
- Type duplicate: ConflictException 409 → BadRequestException 400
- DomainName duplicate: ConflictException 409 → BadRequestException 400
- Domain association duplicate: ConflictException 409 → BadRequestException 400
- API key limit: LimitExceededException 429 → ApiKeyLimitExceededException 400
- Add duplicate validation for Source API associations
- Add checkDuplicateSourceApiAssociation helper method
- Update all integration and SDK test assertions to match AWS exact messages

* feat(core): add extended data support to AwsException for AWS error parity

Add optional extended data to AwsException so the exception mapper can
emit structured error payloads matching the AWS error contract (e.g.
AppSync BadRequestException with reason=CODE_ERROR and detail.codeErrors).

The mapper auto-detects extended data and serializes it as additional
JSON fields alongside __type and message. When extended data is null
the previous simple AwsErrorResponse is returned, preserving behavior
for every existing error site.

* fix(appsync): return ConcurrentModificationException for duplicate source API association

AWS AppSync's AssociateSourceGraphqlApi returns ConcurrentModificationException
(HTTP 409) when an association already exists for the same source and merged
API pair. Floci was returning BadRequestException (400) with an association
ID in the message that did not match AWS.

Also filter out associations in DELETION_SCHEDULED status so a new
association can be created after the previous one has been removed, matching
AWS behavior where the previous association is no longer 'live'.

Message format now mirrors AWS: 'Source API association already exists
for Source API ID: <id> and Merged API ID: <id>.'

* refactor(appsync): remove non-AWS endpoints getApiKey and listAllResolvers

AWS AppSync does not expose:
- GetApiKey: there is no GetApiKey operation in the AppSync API
  Reference. API keys can be listed, created, updated, and deleted
  but not retrieved by id.
- ListAllResolvers: ListResolvers requires typeName. There is no
  endpoint that lists resolvers across all types for an API.

Both endpoints were Floci-only and violated the 'no custom endpoint
shapes' rule. The associated service method (listResolvers) is also
removed. The corresponding integration tests are dropped in a
follow-up commit.

The getApiKey service helper stays because it is still used
internally by updateApiKey and deleteApiKey flows.

* feat(appsync): emit AWS-compatible BadRequestException extended format for SDL errors

AWS AppSync's StartSchemaCreation returns 400 BadRequestException with a
reason=CODE_ERROR field and a detail.codeErrors array. Each code error
carries errorType, value, and location{line, column, span}.

This commit:
- Catches SchemaProblem and InvalidSyntaxException from the parser and
  throws BadRequestException with extended data built from
  graphql-java's GraphQLError locations.
- Catches SchemaProblem from makeExecutableSchema for validation errors
  (unknown types, missing fields) with errorType=VALIDATION_ERROR.
- Catches generic RuntimeException without extended data so flow
  exceptions (NPE, OOM) do not produce a misleading codeErrors array.
- Validates unknown AppSync directives with errorType=VALIDATION_ERROR
  and line/column/span from the SDL.

The errorType values follow the AWS Javadoc (PARSER_ERROR, VALIDATION_ERROR)
and span defaults to -1 when unknown, matching CodeErrorLocation.span()
in the AWS SDK.

* test(appsync): cover AWS-aligned error format, dead-code cleanup

- Add Order 157: createSourceApiAssociationDuplicateReturns409 asserts
  ConcurrentModificationException 409 with the AWS message format.
- Add Order 158: createSourceApiAssociationReplacesDeletionScheduled
  covers the new DELETION_SCHEDULED filter (a new association can
  replace a previously deleted one).
- Add Orders 700, 701, 702: extended BadRequestException format for
  PARSER_ERROR (syntax), VALIDATION_ERROR (semantic), and unknown
  directive cases. Each asserts reason=CODE_ERROR, detail.codeErrors,
  and the location{line, column, span=-1} shape.
- Update Order 124 (deleteApiKeyStandalone): the verification step
  used the removed getApiKey endpoint, replace it with listApiKeys
  asserting the deleted key is no longer present.
- Update Orders 600 and 607 to assert the new extended format for
  generic SDL validation and unknown directive cases.
- Drop Order 32 (getApiKey) and Order 62 (listAllResolvers): the
  underlying endpoints no longer exist.
- Drop encodeArn helper and the URLEncoder / StandardCharsets
  imports that were no longer used by any test.

* test(sdk-java): cover AssociateSourceGraphqlApi 409 and extended schema error body

- Add Order 137 (createSourceApiAssociationDuplicateThrowsConcurrentModificationException):
  use the typed AWS SDK exception ConcurrentModificationException instead
  of the generic AppSyncException, validating the message format that
  AWS returns.
- Add Order 200 (startSchemaCreation_syntaxError_throwsBadRequestWithExtendedBody):
  send a raw HTTP POST with an invalid schema, then inspect the JSON body
  to assert the AWS-compatible shape (__type, reason, detail.codeErrors[],
  errorType=PARSER_ERROR, location{line, column, span=-1}). Uses a
  jackson mapper rather than the SDK to read the response body directly.
- Import java.util.List to support the new deserialization in Order 200.

* feat(appsync): async schema creation with 409 in-progress gates

StartSchemaCreation is asynchronous in AWS: the request returns 200 +
PROCESSING, and the schema compiles in a background thread, transitioning
to ACTIVE (success) or FAILED (error) with the extended error format in
the polled GetSchemaCreationStatus response.

This commit:

- Adds SchemaCreationWorker, a singleton executor with configurable
  thread count and graceful shutdown, that transitions the schema
  status asynchronously and serializes the AwsException extended data
  into the FAILED details string.
- Adds SchemaStatusStoreProducer so AppSyncService and the worker see
  the same in-memory state for the schema status store (otherwise
  two StorageFactory.create() calls would create independent maps).
- Refactors startSchemaCreation to set PROCESSING synchronously and
  hand off compilation to the worker.
- Removes the synchronous ACTIVE override from the controller.
- Gates 27 per-API mutations and 2 account-wide operations
  (CreateGraphqlApi, CreateApi) plus self-blocking on second
  StartSchemaCreation with ConcurrentModificationException 409,
  matching the AWS behavior documented in the AppSync API Reference
  and service-2.json.
- Adds recoverOrphans() to EmulatorLifecycle.onStart so schemas left
  in PROCESSING by a previous emulator run are marked FAILED instead
  of permanently blocking the API.
- Adds schemaWorkerThreads and schemaWorkerShutdownTimeoutSeconds
  to EmulatorConfig (FLOCI_SERVICES_APPSYNC_SCHEMA_WORKER_THREADS,
  FLOCI_SERVICES_APPSYNC_SCHEMA_WORKER_SHUTDOWN_TIMEOUT_SECONDS).

* test(appsync): cover async schema polling, FAILED state, and 409 gates

- Adapts the 7 existing schema creation tests to the async pattern:
  the post returns PROCESSING, tests poll for the terminal status with
  Awaitility, and the extended format body is now read from the
  polled FAILED details.
- Adds 9 new tests (Orders 703-711) covering the 409 in-progress gates
  for createDataSource, createResolver, createFunction, createType,
  putEnvironmentVariables, startSchemaCreation, createGraphqlApi,
  updateGraphqlApi, and deleteGraphqlApi. The gates are exercised by
  setting the status to PROCESSING directly via the shared store
  backend, which is deterministic and avoids the race window of
  waiting for the worker.
- Updates the EmulatorLifecycleTest constructor for the new
  SchemaCreationWorker dependency.

* test(sdk-java): cover async schema with typed SDK polling

- Adds awaitility 4.2.2 to pom.xml (test scope) so the SDK test for
  the polled status can use the same Awaitility DSL the integration
  tests use.
- Updates the existing getSchemaCreationStatus test (Order 11) to
  poll via the typed SDK call until the terminal status is reached
  (ACTIVE in this case) instead of a single request. Without this,
  the gate added in the previous commit would 409 every subsequent
  SDK test that runs while the schema is still PROCESSING.

* fix(build): remove duplicate awaitility declaration in pom.xml

The pre-existing version-less awaitility declaration (BOM-managed by
Quarkus) was shadowed by the pinned 4.2.2 declaration added in this PR.
Maven resolves the first declaration it encounters, silently ignoring
the BOM version. Removed the version-less dup so the pinned 4.2.2
takes effect.

Addresses P1 from Greptile review.

* fix(appsync): add missing 409 gates and synchronize startSchemaCreation

Validating all 43 ConcurrentModificationException operations from
service-2.json against the code surfaced 5 operations missing the
PROCESSING gate (Greptile caught 1, 4 more were found during review):

- getChannelNamespace: added assertSchemaNotBusy (protects both get
  and deleteChannelNamespace, matching getResolver/getFunction/getType)
- deleteDomainName: resolves the associated apiId from the domain
  association store and gates on it (no-op if no association exists)
- disassociateApi: same pattern as deleteDomainName
- deleteMergedApiAssociation: gate on sourceApiIdentifier
- updateDomainName: resolves the associated apiId and gates on it

Also wraps the startSchemaCreation check-and-set in synchronized(this)
to close the TOCTOU race window between assertSchemaNotBusy and the
PROCESSING put. The async submitSchemaCreation call stays outside the
lock to avoid blocking the worker thread.

Addresses P1 and P2 from Greptile review.

* chore(appsync): document schema worker config in application.yml

Adds the appsync section under storage.services in both main and test
application.yml, documenting the three AppSyncStorageConfig keys:

- flush-interval-ms (5000 main / 60000 test, matching other services)
- schema-worker-threads (4)
- schema-worker-shutdown-timeout-seconds (30)

These already had @WithDefault fallbacks so the code worked without
the YAML entries, but the repository convention (AGENTS.md) requires
storage config to be documented in application.yml as the source of
truth for operators.

Addresses P2 from Greptile review.

* test(appsync): cover additional 409 gates for domain and merged operations

Adds 5 new integration tests (Orders 712-716) covering the PROCESSING
409 gates added in the previous commit:

- 712: deleteChannelNamespace_busy_returns409
- 713: deleteDomainName_busy_returns409
- 714: disassociateApi_busy_returns409
- 715: disassociateMergedGraphqlApi_busy_returns409
- 716: updateDomainName_busy_returns409

Each test creates the necessary resources (temp API, channel namespace,
domain name + association, or merged API association) before setting
the schema status to PROCESSING directly via the shared store, then
asserts the gated operation returns 409 ConcurrentModificationException
with the AWS-style message.

Integration test count: 154 -> 159.

* fix(appsync): remove incorrect CME gate from getChannelNamespace, add to deleteChannelNamespace

GetChannelNamespace does not declare ConcurrentModificationException in
service-2.json or the AWS Java SDK v2. Only BadRequestException,
NotFoundException, UnauthorizedException, InternalFailureException, and
AccessDeniedException are declared. The gate was incorrectly returning
409 during PROCESSING for an undeclared error code.

DeleteChannelNamespace does declare CME, so the gate is now applied
directly in deleteChannelNamespace instead of being inherited from
getChannelNamespace.

* fix(appsync): account-aware schema creation and worker store isolation

Scope schema creation status to the requesting account so concurrent
accounts cannot interfere with each other's in-flight schema operations.

- Add accountId field to SchemaCreationStatus
- Worker uses AccountAwareStorageBackend (putForAccount/getForAccount)
- SchemaStatusStoreProducer now produces AccountAwareStorageBackend
- SchemaStoreProducer CDI bean shares schemaStore between service and worker
- schemaStore.put moved to worker success path only
- assertSchemaNotBusy scoped to current account via getForAccount
- assertNoSchemaBusyAnywhere scoped to keysForAccount
- currentAccountId() helper reads RequestContext
- Worker config moved from AppSyncStorageConfig to AppSyncServiceConfig

* fix(appsync): ACTIVE→SUCCESS terminal schema status

Match AWS behavior: a successfully compiled schema is SUCCESS, not
ACTIVE. ACTIVE is not a valid terminal status in real AppSync.

- Worker marks SUCCESS on successful compilation
- Integration tests assert SUCCESS
- SDK compatibility test asserts SUCCESS

* refactor(appsync): remove circular dependency between SchemaRegistry and SchemaCreationWorker

SchemaRegistry depended on SchemaCreationWorker solely to delegate
submitSchemaCreation calls, creating a circular dependency. AppSyncService
now calls the worker directly, making the delegation unnecessary.

- Remove SchemaCreationWorker dependency from SchemaRegistry
- Remove submitSchemaCreation method

* fix(appsync): add assertSchemaNotBusy to deleteResolver, deleteFunction, deleteType

These three delete operations mutate the schema and should be blocked
while a schema creation is in PROCESSING state, matching the 409 gates
on the other schema-mutating operations.

* fix(appsync): return PROCESSING status synchronously from StartSchemaCreation

The controller was re-reading the status from the store after submitting
to the worker pool. In fast environments the worker could complete
(fail) before the read, causing the POST response to return FAILED
instead of PROCESSING — breaking the SDK compatibility test.

startSchemaCreation now returns the PROCESSING status it just set, and
the controller uses it directly instead of re-reading.
2026-07-10 20:50:14 -05:00
Hector Ventura f5d8748703 chore: release 1.5.31 2026-07-07 00:50:39 -05:00
Anders Wasen 272e4136e5 feat(rds-data): adding data-api for postgresql (#1720)
* feat(rds-data): adding data-api for postgresql

* Moving wrongly place test file under src/test
2026-07-05 09:05:04 -05:00
Hector Ventura 6d9edfe695 chore: release 1.5.30 2026-07-03 02:07:35 -05:00
Hector Ventura b87955b630 chore(deps): update maven dependencies and github actions (#1690)
Combines the open dependabot updates with the vulnerable-dependency pins:

- quarkus platform 3.36.0 -> 3.36.3, apicurio 2.6.9.Final -> 2.6.13.Final
- graphql-java 22.0 -> 26.0, neo4j-java-driver 5.28.5 -> 6.1.0 (test)
- import jackson-bom 2.21.4 and pin wire-runtime 6.3.0
- compat tests: aws sdk 2.44.14, netty-bom 4.1.135.Final, postgresql 42.7.11,
  jackson-bom 2.18.8, kafka-clients 3.9.2, commons-lang3 3.18.0
- actions/checkout v7.0.0, configure-aws-credentials v6.2.0, setup-graalvm pin
2026-07-01 23:27:56 -05:00
Hector Ventura c496091ac3 chore: release 1.5.29 2026-06-30 00:39:58 -05:00
Hector Ventura 68fc4134c4 fix(iot): deflake MQTT lazy-startup test, align 1.5.28 version, make compat runner executable (#1580)
* test(iot): wait for broker port release in MQTT lazy-startup test

Vert.x MqttServer.close() can resolve before the OS releases the listening
socket, so a connect immediately after stop() may still succeed. @BeforeEach
now polls until the port refuses connections before each test asserts the
broker is not listening, fixing the IotMqttLazyStartupIntegrationTest flake
under the full ordered suite that was failing CI on main.

* chore(release): set version to 1.5.28

Align pom.xml with the 1.5.28 release commit and CHANGELOG header; it had
been left at 1.6.0.

* ci: make run-docker-tests.sh executable

The compat test runner lacked the execute bit, so ./docker/run-docker-tests.sh
failed with permission denied (exit 126).
2026-06-26 01:35:39 -05:00
Hector Ventura ac7ce1d59d chore: release 1.5.28 2026-06-26 00:47:36 -05:00
nblomquistandnathan 326b495496 feat(iot) Feature/issue 1038 iot core (#1359)
* feat: add IoT endpoint and thing registry

* feat: add IoT thing tagging

* feat: add IoT certificates and shadows

* feat: add IoT MQTT broker

* feat: upgrade IoT MQTT broker to Moquette 0.18

* feat: restore IoT reserved MQTT topics

* feat: add IoT topic rules engine

* feat: improve IoT thing registry compatibility

* feat: complete IoT MVP 1 compatibility

* feat: complete IoT MVP 2 compatibility

* feat: finish IoT MVP 2 coverage

* fix: disable IoT MQTT broker persistence

* fix(docker): include vendored Maven artifacts in source builds

* fix(iot): stabilize MQTT integration test sockets

* fix(iot): verify MQTT test connections

* fix(iot): use Paho for MQTT integration tests

* fix(iot): use Vert.x MQTT broker

---------

Co-authored-by: nathan <nathan@debian-dev-small.localdomain>
2026-06-25 22:58:44 -05:00
Liam MacPherson 86c4aae2e2 feat(pipes): support Kafka pipe sources and polling (#1260)
* feat(pipes): support Kafka pipe sources and polling

Add EventBridge Pipes support for Amazon MSK and self-managed Kafka sources exposed via `smk://`.

Introduce Kafka consumer management for bootstrap resolution, consumer group selection, topic validation, and safe reuse across poll cycles.

Extend the Pipes poller and tests to filter decoded Kafka payloads, deliver the expected record shape, and commit offsets only after successful delivery.

* fix(pipes): tighten Kafka validation and commit handling

Clarify Kafka validation errors, avoid duplicate Kafka record transformation, commit delivered Kafka offsets per partition for non-Lambda targets, and remove reflective poller test access.

* fix(pipes): stabilise Kafka poller event handling

Use a consistent Kafka partition type, narrow JSON decode error handling, remove reflection from manager tests, and tighten no-commit assertions for failed Kafka delivery paths.

* fix(pipes): preserve Kafka nulls and commit progress

Preserve null Kafka key and value fields, encode Kafka headers consistently, and commit Lambda Kafka progress per partition so successfully processed records are not replayed after later failures.

* fix(msk): align broker metadata and Kafka event payloads
2026-06-25 19:59:38 -05:00
Juri Duval e5a646d40c fix(sfn): no execution data available via SDK (#1506)
* fix(1504): fix execution history handling

* fix(1504): add tests

* fix(1504): add negative test

* chore(sfn): pr comments
2026-06-25 00:16:41 -05:00
Hector Ventura 238294e779 chore: release 1.5.27 2026-06-23 01:42:21 -05:00
Stuart Lang 760d48b91a feat(neptune): support neo4j backend for openCypher via NEPTUNE_DB_TYPE (#1449)
* feat(neptune): support neo4j backend for openCypher via NEPTUNE_DB_TYPE

Neptune emulation always started a TinkerPop Gremlin Server, which only
speaks Gremlin. Add a global db-type selector (FLOCI_SERVICES_NEPTUNE_DB_TYPE,
mirroring LocalStack's NEPTUNE_DB_TYPE) so clusters can be backed by Neo4j and
served over the Bolt protocol for openCypher.

- Add NeptuneDbType enum (gremlin -> 8182, neo4j -> 7687) with alias parsing
- Add db-type and default-neo4j-image config (default neo4j:5-community)
- Resolve image/port per engine in NeptuneService and NeptuneContainerManager
- Run Neo4j with NEO4J_AUTH=none and probe readiness via the Bolt handshake
- Add openCypher/Bolt integration test and NeptuneDbType unit test
- Document the new option in README and docs/services/neptune.md

* test(neptune): assert DeleteDBCluster cleanup and clarify docs

Assert the openCypher integration test's DeleteDBCluster cleanup returns
200 so a failed delete surfaces instead of silently leaking a backend
container and proxy port into later tests.

Also drop the misleading backend ports from the db-type table (users
connect via the proxy port range, not the container-native port) and
correct the SigV4 auth-header comment to reference the management
request routing.

* fix(neptune): treat all-zero Bolt handshake reply as not-ready

The Neo4j readiness probe accepted any non-empty response, but Neo4j
answers the Bolt handshake with 0x00000000 when it rejects every
proposed version (Bolt disabled, wrong port, or an unsupported server
version). That made the probe report ready for a backend whose sessions
would then fail. Require a non-zero agreed version for the neo4j
db-type so such a backend times out with a clear error instead.

* fix(neptune): fall back to default db-type on unknown config value

A server-side typo in FLOCI_SERVICES_NEPTUNE_DB_TYPE shouldn't fail the
client's CreateDBCluster. Make NeptuneDbType.fromConfig return an
Optional and have NeptuneService fall back to GREMLIN with a WARN for an
unrecognised value, instead of throwing InvalidParameterValue. The
cluster still comes up on the default engine.
2026-06-20 11:24:00 -05:00
Hector Ventura 3860fafdfb chore: release 1.5.26 2026-06-19 01:21:57 -05:00
devansh-jain-18 174bb81dbf fix: add native MySQL JDBC support for RDS Data API (#1352) 2026-06-16 00:27:14 -05:00
Hector Ventura 2d958b380f chore: release 1.5.25 2026-06-15 01:25:42 -05:00
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