debian-forge-composer/internal/cloudapi/v2
Achilleas Koutsou 5a5e6d732c clouapi: test Disk customization validation
Two new tests are added, one with valid customizations and another with
invalid customizations.
Invalid customizations will return one of two error types, depending on
where exactly the failures was generated.
When the openapi schema fails to validate a request, it will return
IMAGE-BUILDLER-30.
When the error occurs while converting the openapi customizations to the
blueprint types, it will have the IMAGE-BUILDER-35 type instead.
2025-06-16 13:33:20 +02:00
..
compose.go cloudapi: validate Disk customization before returining 2025-06-16 13:33:20 +02:00
compose_test.go cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
depsolve.go cloudapi: support dnf modules 2025-03-20 14:07:52 +01:00
errors.go cloudapi: Add artifact cleanup to delete handler 2025-06-05 10:32:56 +02:00
errors_test.go cloudapi/v2: add test for errors 2024-06-25 17:27:28 +02:00
handler.go cloudapi: Fix listing composes with empty result 2025-06-05 10:32:56 +02:00
imagerequest.go cloudapi: drop ImageRequest.GetImageOptions() method 2025-05-05 20:37:19 +02:00
imagerequest_test.go cloudapi: drop ImageRequest.GetImageOptions() method 2025-05-05 20:37:19 +02:00
middleware.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
openapi.v2.gen.go cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
openapi.v2.yml cloudapi: make fs_type required for filesystems and logical volumes 2025-06-16 13:33:20 +02:00
search.go cloudapi: Hook up the /search/packages handler 2025-01-30 08:00:12 +01:00
server.go cloudapi: Fix missing specs for koji ContainerResolve 2025-05-13 20:38:38 +02:00
v2_disk_test.go clouapi: test Disk customization validation 2025-06-16 13:33:20 +02:00
v2_internal_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_koji_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_multi_tenancy_test.go cloudapi/v2: adapt to new oapi-codegen 2025-03-26 11:13:14 +01:00
v2_test.go cloudapi: Fix listing composes with empty result 2025-06-05 10:32:56 +02:00