From 9bb65a8cf8697e112eb8116d7652498ffd064925 Mon Sep 17 00:00:00 2001 From: Fadi Abbud <39081670+Fadiabb@users.noreply.github.com> Date: Wed, 20 Jul 2022 12:05:08 +0200 Subject: [PATCH] Include service/category documents in itests (#239) --- docs/examples/aggregator.toml | 2 ++ docs/provider-setup.md | 2 +- docs/scripts/setupProviderForITest.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/examples/aggregator.toml b/docs/examples/aggregator.toml index e7c0a77..13771b9 100644 --- a/docs/examples/aggregator.toml +++ b/docs/examples/aggregator.toml @@ -23,6 +23,8 @@ insecure = true [[providers]] name = "local-dev-provider" domain = "localhost" + categories = ["Example Company Product A", "expr:document.lang"] + create_service_document = true # rate = 1.5 # insecure = true diff --git a/docs/provider-setup.md b/docs/provider-setup.md index e578aec..256dbc9 100644 --- a/docs/provider-setup.md +++ b/docs/provider-setup.md @@ -117,7 +117,7 @@ Here is a minimal example configuration, which you need to customize for a production setup, see the [options of `csaf_provider`](https://github.com/csaf-poc/csaf_distribution/blob/main/docs/csaf_provider.md). - + ```sh # upload_signature = true diff --git a/docs/scripts/setupProviderForITest.sh b/docs/scripts/setupProviderForITest.sh index ea69ba8..4c0e0b8 100755 --- a/docs/scripts/setupProviderForITest.sh +++ b/docs/scripts/setupProviderForITest.sh @@ -96,6 +96,8 @@ openpgp_private_key = "/usr/lib/csaf/private.asc" openpgp_public_key = "/usr/lib/csaf/public.asc" #tlps = ["green", "red"] canonical_url_prefix = "https://localhost:8443" +categories = ["Example Company Product A", "expr:document.lang"] +create_service_document = true #no_passphrase = true ' | sudo tee --append /usr/lib/csaf/config.toml