mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* feat(glue): data quality rulesets CreateDataQualityRuleset, GetDataQualityRuleset, UpdateDataQualityRuleset and DeleteDataQualityRuleset answered InvalidAction, and ListDataQualityRulesets always returned an empty list, so Terraform's aws_glue_data_quality_ruleset failed at its first apply. Rulesets are now stored per account and Region by name, with their description, DQDL text, target table, security configuration and created and last modified times, and tagged through the shared tag store by their dataQualityRuleset ARN. Update replaces only the members the request sets. List returns them in name order with RuleCount, filtered by name, description, target table, created and last modified times and tags, and paged by MaxResults and NextToken. Errors follow the model: AlreadyExistsException for a duplicate, EntityNotFoundException for an unknown name, InvalidInputException for a missing or oversized member. Rulesets are stored, not evaluated. Closes #6830 * fix(glue): match a ruleset's catalog and take its store from the caller The ListDataQualityRulesets target table filter compared only TableName and DatabaseName, so filtering for one catalog also returned a ruleset on the same table in another. A CatalogId in the filter now has to match too, with a target table that names no catalog in the account's own. The package-private GlueService constructor built the ruleset store itself; it now takes it as an argument, as it does every other store. * fix(glue): reuse hasTags and AwsJsonTimestamp for ruleset listing The ruleset tag filter now goes through hasTags, as jobs, crawlers and triggers do, and the list filter's timestamps through AwsJsonTimestamp.epochSeconds, so a timestamp sent as a string is refused with InvalidInputException as the SDKs never send one. --------- Co-authored-by: Priamo Germosen <6233424+pgermosen@users.noreply.github.com>