mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* feat(ec2): add Client VPN endpoints, associations, rules and routes Store Client VPN endpoints with their target network associations, authorization rules and routes, and export the OpenVPN client configuration from the server certificate held in ACM. Fifteen EC2 Query actions; no VPN server runs. * fix(ec2): apply Client VPN describe filters and pin associated subnets Apply AWS's filters on the four Client VPN describe operations and refuse unknown ones. Report selfServicePortalUrl for an endpoint with the portal enabled. Require every requested security group to exist. Register associations as subnet and VPC dependencies, saved under the subnet reference lock. Compare rule and route CIDRs as networks. Replace the endpoint's lists instead of changing them in place, and let only a missing ACM certificate leave the export without its CA. * refactor(ec2): share the Query protocol helpers and the id hex generator Move the EC2 Query parameter and response helpers Ec2QueryHandler kept private (getList, getFiltersList, boolParam, intParam, tagSetXml, booleanResponse, xmlResponse) into Ec2QueryProtocol, which the Client VPN handler now uses too, and replace the four randomHex copies in Ec2Service, Ec2IpamService, FlowLogService and Ec2ClientVpnService with Ec2Ids.randomHex. The Client VPN test builds its requests through testing.Ec2Requests. * style(ec2): brace the loop exits in Ec2QueryProtocol