mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 08:31:53 -05:00
* fix: support wildcard filtering in EC2 filters Add wildcard pattern matching support to EC2 filter values to match AWS behavior. Changes: - Added wildcardToRegex() method to convert AWS wildcard patterns (* and ?) to Java regex - Added matchesValue() method for pattern-based value matching - Updated all filter matching logic to use wildcard patterns instead of exact string matching - Supports wildcard filtering for all filter types: tag filters, tag-key, tag-value, and resource-specific filters - Applies to all EC2 resources: VPCs, Subnets, Security Groups, Instances, Internet Gateways, Route Tables, Volumes Added comprehensive integration tests: - describeVpcsWithWildcardTagFilter: Tests asterisk wildcard patterns - describeVpcsWithWildcardQuestionMark: Tests question mark wildcard patterns All 69 EC2 integration tests pass. Backward compatible with exact string matching. Fixes #830 * fix: reorganize imports in Ec2Service and Ec2IntegrationTest for clarity * Potential fix for pull request finding