mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* fix(backup): return HTTP 400 for ResourceNotFoundException AWS Backup documents ResourceNotFoundException as HTTP 400 across the API. BackupService threw it with 404 for missing vaults, plans, selections, jobs, recovery points and resource ARNs, while the sub-resource throws already used 400. Use 400 everywhere. * test(backup): expect 400 for a vault deleted with its CloudFormation stack BackupVaultCfnIntegrationTest still asserted the old 404 after ResourceNotFoundException moved to HTTP 400. * test(backup): cover 400 for missing selection, recovery point and tagged resource The ResourceNotFoundException status change reached selection, recovery point and resource-ARN lookups that no test exercised. Assert 400 for GetBackupSelection/DeleteBackupSelection (missing, and under the wrong plan), DescribeRecoveryPoint/DeleteRecoveryPoint, and ListTags/ TagResource/UntagResource on a missing ARN. Align the CFN provisioner fixture to 400.