debian-forge-composer/internal/cloudapi/v2
Tomas Hozza 6fa2aa7b4a cloudapi: add helper method to extract tenant channel from echo.Context
Extract the determination of tenant channel into a helper function.
This will simplify handler and middleware  methods, which won't have
to implement the same logic by themselves.

Fix the multi-tenancy unit test to pass the appropriate context when
querying compose statuses, because the server that is being use has JWT
enabled and expects the tenant to be set in it.
2022-06-10 14:48:18 +01:00
..
errors.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
handler.go cloudapi: add helper method to extract tenant channel from echo.Context 2022-06-10 14:48:18 +01:00
middleware.go cloudapi: add helper method to extract tenant channel from echo.Context 2022-06-10 14:48:18 +01:00
openapi.v2.gen.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
openapi.v2.yml cloudapi: validate input 2022-05-16 13:20:46 +02:00
server.go cloudapi: switch osbuild-koji -> osbuild for Koji build jobs 2022-06-10 14:48:18 +01:00
v2_internal_test.go simplify package set chain handling 2022-06-01 11:36:52 +01:00
v2_koji_test.go cloudapi: switch osbuild-koji -> osbuild for Koji build jobs 2022-06-10 14:48:18 +01:00
v2_multi_tenancy_test.go cloudapi: add helper method to extract tenant channel from echo.Context 2022-06-10 14:48:18 +01:00
v2_test.go Cloud API: support composes/<id>/manifests endpoint for non-koji builds 2022-06-10 14:48:18 +01:00