debian-forge-composer/internal/client
Tomas Hozza 076bbc5456 Weldr API: introduce Image Type denylist for filtering exposed images
Extend Weldr API to accept a list of denied image types, which should
not be exposed via API for any supported distribution. This
functionality will be needed to not expose image types which can't be
successfully built outside of Red Hat VPN. Example of such images are
the official RHEL EC2 images, which include RHUI client packages not
available publicly.

Image Types are filters when listing available compose types and
creating a new compose using Weldr API.

Extend osbuild-composer configuration to allow specifying the list of
denied Image Types for Weldr API.

Add unit tests for implemented changes.

Add NEWS entry describing the newly introduced functionality.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-02 18:51:03 +02:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
client.go client: Add GetRawBody function to return the io.ReadCloser from the request 2020-04-15 11:35:05 +02:00
client_test.go tests: replace cmd.Diff() with require functions 2020-04-20 14:00:49 +02:00
compose.go client: Add functions to handle Metadata and Results requests 2020-05-28 00:39:10 +02:00
compose_test.go client: test supported and unsupported mountpoints 2021-07-28 21:44:03 +01:00
integration_test.go Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
source.go weldr: Add support for the v1 API to /projects/source/delete 2020-06-03 21:24:47 +02:00
source_test.go weldr: accept rhsm parameter in sources 2021-07-27 15:39:36 +02:00
unit_test.go Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
utils.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00