mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 16:11:48 -05:00
* feat(redshift-data): resource resolver, connection factory, statement store, service registration * feat(redshift-data): field mapper, column metadata, SQL parameter binding * feat(redshift-data): execute, describe, and paged result retrieval * feat(redshift-data): batch execution, list statements, cancel * feat(redshift-data): schema introspection operations * test(redshift-data): end-to-end Data API over a real cluster plus SDK compatibility test * docs(redshift-data): document the Redshift Data API surface * fix(redshift-data): address code review findings - rejectMultiStatement now reuses the SQL tokenizer so a semicolon inside a comment, string literal, or dollar-quoted block no longer rejects a valid single statement - GetStatementResultV2 gains unit coverage for the typed and CSV envelopes - CSV output is RFC 4180 quoted (embedded comma, quote, CR, LF) - batch rollback is asserted transactionally in the integration test - RedshiftDataFieldMapper logs a swallowed blob-read SQLException - RedshiftPid/RedshiftQueryId use a non-negative hash - NextToken that decodes to a negative offset is rejected - CancelStatement leaves a FAILED statement FAILED - DescribeTable paginates ColumnList and emits NextToken - DbUser is echoed on the SecretArn path - the statement store no longer builds its sweeper executor in the test constructor * fix(redshift-data): address PR #3186 review findings - SQL scanner handles PostgreSQL escape strings (E'...'): a backslash-escaped quote no longer ends the literal and mis-detects a following :name as a bind marker; plain '...' literals still treat backslash as an ordinary character - ListStatements clamps MaxResults to 1..100 so MaxResults=0 no longer emits the same NextToken forever - DescribeTable matches Table / Schema exactly (=) instead of LIKE, so a name containing _ or % cannot merge other tables' columns into ColumnList - register the service in the README category table - drop a stray em dash from the neighbouring services.yaml comment * fix(redshift-data): bind string parameters untyped so real PostgreSQL infers the column type CI ran the integration test against a real Redshift (PostgreSQL 15) cluster and parameterisedStatement failed: a string bound to an int column via setString raised "operator does not exist: integer = character varying". H2 in PostgreSQL mode coerces it, so the unit test missed it. - RedshiftDataConnectionFactory adds stringtype=unspecified to the JDBC URL, so setString sends the value untyped and the server infers the target type, matching how AWS binds Redshift Data API parameters - ListStatements now rejects MaxResults above 100 with ValidationException instead of silently clamping (PR #3186 re-review) - RedshiftDataOperationsTest uses JBoss Logging, not java.util.logging (PR #3186 re-review) * fix(redshift-data): back the statement store with StorageFactory The store held a bare ConcurrentHashMap outside the configured storage and lifecycle model. It now obtains an account-aware backend through StorageFactory ("redshift-data", statements.json), the same as Athena's query store, resolved to the global storage mode via the catalog descriptor. Default mode stays memory, so statements are still lost on restart as documented; the 24h TTL sweep now walks every account partition and deletes per account since the sweep thread has no request context. StoredStatement is annotated for reflection and field-visible serialization so persistent modes round-trip it. * test(redshift-data): cover StoredStatement serialization round-trip and values() The StorageFactory-backed store serializes StoredStatement in persistent modes. Adds a round-trip test through the exact mapper PersistentStorage builds, covering the ArrayNode, enum, Instant, and nested sub-statement fields plus the field-visibility annotation, and a values() test. * fix(redshift-data): register the nested Status enum for reflection PersistedModelReflectionTest walks every type reachable from a StorageFactory persistence root; StoredStatement.status pointed at an unregistered enum, so native-image deserialization of a persisted statement would fail on restart.
299 lines
17 KiB
YAML
299 lines
17 KiB
YAML
# Registry of services whose Supported Actions tables are auto-generated.
|
|
#
|
|
# The action LIST comes from handler source (mode: switch|rest); the Description
|
|
# column is hand-written and PRESERVED across regen, keyed by action name.
|
|
# Per-service overrides: rename_actions (method->canonical), exclude_actions.
|
|
#
|
|
# Phase 1 covers single-table switch-mode services. REST controllers, multi-table
|
|
# docs, mixed-mode (ses), S3 query-string dispatch, and non-tabular docs are tracked
|
|
# as follow-ups; their switch handlers are acknowledged in deferred_handlers below so
|
|
# the new-service sentinel only fires on genuinely unregistered handlers.
|
|
|
|
services:
|
|
- service: account
|
|
doc: docs/services/account.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/account/AccountController.java, mode: rest }
|
|
- service: accessanalyzer
|
|
doc: docs/services/access-analyzer.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/accessanalyzer/AccessAnalyzerController.java, mode: rest }
|
|
- service: acm
|
|
doc: docs/services/acm.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java, mode: switch }
|
|
- service: applicationautoscaling
|
|
doc: docs/services/applicationautoscaling.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/applicationautoscaling/ApplicationAutoScalingJsonHandler.java, mode: switch }
|
|
- service: athena
|
|
doc: docs/services/athena.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/athena/AthenaJsonHandler.java, mode: switch }
|
|
- service: cloudformation
|
|
doc: docs/services/cloudformation.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java, mode: switch }
|
|
- service: cloudhsmv2
|
|
doc: docs/services/cloudhsmv2.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudhsmv2/CloudHsmV2JsonHandler.java, mode: switch }
|
|
- service: cloudtrail
|
|
doc: docs/services/cloudtrail.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudtrail/CloudTrailJsonHandler.java, mode: switch }
|
|
- service: codegurureviewer
|
|
doc: docs/services/codegurureviewer.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codegurureviewer/CodeGuruReviewerController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: comprehend
|
|
doc: docs/services/comprehend.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/comprehend/ComprehendJsonHandler.java, mode: switch }
|
|
- service: connect
|
|
doc: docs/services/connect.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/connect/ConnectController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: rekognition
|
|
doc: docs/services/rekognition.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/rekognition/RekognitionJsonHandler.java, mode: switch }
|
|
- service: translate
|
|
doc: docs/services/translate.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/translate/TranslateJsonHandler.java, mode: switch }
|
|
- service: detective
|
|
doc: docs/services/detective.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/detective/DetectiveController.java, mode: rest }
|
|
- service: docdb
|
|
doc: docs/services/docdb.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java, mode: switch }
|
|
- service: efs
|
|
doc: docs/services/efs.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/efs/EfsController.java, mode: rest }
|
|
- service: organizations
|
|
doc: docs/services/organizations.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/organizations/OrganizationsJsonHandler.java, mode: switch }
|
|
- service: elasticache
|
|
doc: docs/services/elasticache.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java, mode: switch }
|
|
- service: emr
|
|
doc: docs/services/emr.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/emr/EmrHandler.java, mode: switch }
|
|
- service: eventbridge
|
|
doc: docs/services/eventbridge.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeHandler.java, mode: switch }
|
|
- service: firehose
|
|
doc: docs/services/firehose.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/firehose/FirehoseJsonHandler.java, mode: switch }
|
|
- service: resource-explorer-2
|
|
doc: docs/services/resource-explorer.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/resourceexplorer2/ResourceExplorer2Controller.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: fis
|
|
doc: docs/services/fis.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/fis/FisController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: kinesis
|
|
doc: docs/services/kinesis.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisJsonHandler.java, mode: switch }
|
|
- service: kinesisanalytics
|
|
doc: docs/services/kinesisanalytics.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kinesisanalytics/KinesisAnalyticsV2JsonHandler.java, mode: switch }
|
|
- service: kms
|
|
doc: docs/services/kms.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kms/KmsJsonHandler.java, mode: switch }
|
|
- service: memorydb
|
|
doc: docs/services/memorydb.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/memorydb/MemoryDbHandler.java, mode: switch }
|
|
- service: macie2
|
|
doc: docs/services/macie2.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/macie2/MacieController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/securityadmin/SecurityAdminController.java, mode: rest }
|
|
rename_actions:
|
|
ListAdmin: ListOrganizationAdminAccounts
|
|
- service: neptune
|
|
doc: docs/services/neptune.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/neptune/NeptuneQueryHandler.java, mode: switch }
|
|
- service: networkfirewall
|
|
doc: docs/services/network-firewall.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/networkfirewall/NetworkFirewallJsonHandler.java, mode: switch }
|
|
- service: ram
|
|
doc: docs/services/ram.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ram/RamController.java, mode: rest }
|
|
- service: rds
|
|
doc: docs/services/rds.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java, mode: switch }
|
|
exclude_actions: [SubnetIds, VpcSecurityGroupIds, OptionsToRemove]
|
|
- service: redshift
|
|
doc: docs/services/redshift.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/redshift/RedshiftQueryHandler.java, mode: switch }
|
|
# SubnetIds / VpcSecurityGroupIds / TagKeys are labels of an inner member-name
|
|
# switch (memberKeyRegex), not actions, same shape as the rds exclusions above.
|
|
exclude_actions: [SubnetIds, VpcSecurityGroupIds, TagKeys]
|
|
- service: redshiftdata
|
|
doc: docs/services/redshift-data.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/redshiftdata/RedshiftDataJsonHandler.java, mode: switch }
|
|
# ExecuteSql / BatchExecuteSql are the deprecated pre-2020 operations: the handler
|
|
# recognizes them only to return a ValidationException, they are not supported actions.
|
|
exclude_actions: [ExecuteSql, BatchExecuteSql]
|
|
- service: cognitoidentity
|
|
doc: docs/services/cognitoidentity.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cognitoidentity/CognitoIdentityJsonHandler.java, mode: switch }
|
|
- service: route53
|
|
doc: docs/services/route53.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/route53/Route53Controller.java, mode: rest }
|
|
# JAX-RS method names use Java casing; map them onto the canonical Route 53 action names.
|
|
rename_actions:
|
|
AssociateVpcWithHostedZone: AssociateVPCWithHostedZone
|
|
DisassociateVpcFromHostedZone: DisassociateVPCFromHostedZone
|
|
CreateVpcAssociationAuthorization: CreateVPCAssociationAuthorization
|
|
DeleteVpcAssociationAuthorization: DeleteVPCAssociationAuthorization
|
|
ListVpcAssociationAuthorizations: ListVPCAssociationAuthorizations
|
|
ListHostedZonesByVpc: ListHostedZonesByVPC
|
|
GetDnssec: GetDNSSEC
|
|
- service: route53resolver
|
|
doc: docs/services/route53resolver.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/route53resolver/Route53ResolverJsonHandler.java, mode: switch }
|
|
- service: secretsmanager
|
|
doc: docs/services/secrets-manager.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/secretsmanager/SecretsManagerJsonHandler.java, mode: switch }
|
|
- service: servicecatalog
|
|
doc: docs/services/service-catalog.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/servicecatalog/ServiceCatalogJsonHandler.java, mode: switch }
|
|
- service: servicequotas
|
|
doc: docs/services/servicequotas.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/servicequotas/ServiceQuotasJsonHandler.java, mode: switch }
|
|
- service: ssoadmin
|
|
doc: docs/services/ssoadmin.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssoadmin/SsoAdminJsonHandler.java, mode: switch }
|
|
- service: identitystore
|
|
doc: docs/services/identitystore.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/identitystore/IdentityStoreJsonHandler.java, mode: switch }
|
|
- service: budgets
|
|
doc: docs/services/budgets.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/budgets/BudgetsJsonHandler.java, mode: switch }
|
|
- service: sqs
|
|
doc: docs/services/sqs.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sqs/SqsJsonHandler.java, mode: switch }
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sqs/SqsQueryHandler.java, mode: switch }
|
|
- service: stepfunctions
|
|
doc: docs/services/step-functions.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/stepfunctions/StepFunctionsJsonHandler.java, mode: switch }
|
|
- service: swf
|
|
doc: docs/services/swf.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/swf/SwfJsonHandler.java, mode: switch }
|
|
- service: wafv2
|
|
doc: docs/services/wafv2.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/wafv2/WafV2Handler.java, mode: switch }
|
|
|
|
# Switch handlers that exist but are intentionally not yet covered (see reasons).
|
|
# A NEW switch handler not listed here and not registered above fails `--strict`.
|
|
deferred_handlers:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/applicationautoscaling/ScalingPolicyAlarmActionHandler.java } # not a JSON/Query action dispatcher — its `case "X" ->` arms are the StepScaling AdjustmentType switch, not AWS actions
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudmap/CloudMapHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/metrics/CloudWatchMetricsJsonHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/metrics/CloudWatchMetricsQueryHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cognito/CognitoJsonHandler.java } # non-tabular doc (grouped/inline); separate docs effort
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/configservice/ConfigServiceJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cur/CurJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbStreamsJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ecr/EcrJsonHandler.java } # doc packs multiple actions per row (`A` / `B`) + REST endpoints; needs de-grouping
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elasticbeanstalk/ElasticBeanstalkQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elb/ElbClassicQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elbv2/ElbV2QueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/glue/GlueJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/iam/IamQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/iam/StsQueryHandler.java } # sts (lives in iam package); single-table, registerable next
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/lakeformation/LakeFormationJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/lightsail/LightsailJsonHandler.java } # non-tabular doc (grouped/inline); standalone action table to be added
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/pricing/PricingJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ses/SesQueryHandler.java } # mixed-mode (Query + REST surface)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sns/SnsJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sns/SnsQueryHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssm/Ec2MessagesJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssm/SsmJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/textract/TextractJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/transcribe/TranscribeJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/transfer/TransferHandler.java } # multi-table doc
|