From 788fc696c867fbce94ebf10bffd741e44be30e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 22 Mar 2024 09:19:48 +0100 Subject: [PATCH] Badges: add missing conf fragment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../openshift-apps/badges/templates/fm-fedbadges.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/badges/templates/fm-fedbadges.toml b/roles/openshift-apps/badges/templates/fm-fedbadges.toml index 131bf6e310..5fe719c946 100644 --- a/roles/openshift-apps/badges/templates/fm-fedbadges.toml +++ b/roles/openshift-apps/badges/templates/fm-fedbadges.toml @@ -38,7 +38,7 @@ routing_keys = ["#"] # This tells the consumer where to look for its BadgeRule definitions. It # may be a relative or an absolute path on the file system. -badges_directory = "/var/lib/badges/badges" +badges_directory = "/var/lib/badges/rules" # Number of seconds to delay before consuming a message for our event loop. # This is here to help us mitigate distributed race conditions between @@ -56,6 +56,15 @@ distgit_hostname = "src{{ env_suffix }}.fedoraproject.org" id_provider_hostname = "id{{ env_suffix }}.fedoraproject.org" fasjson_base_url = "https://fasjson{{ env_suffix }}.fedoraproject.org" +# This is a set of data that tells our consumer what Open Badges Issuer +# should be kept as the issuer of all the badges we create. +[consumer_config.badge_issuer] +issuer_id = "Fedora Project" +issuer_origin = "https://apps.fedoraproject.org" +issuer_name = "Fedora Project" +issuer_url = "http://fedoraproject.org" +issuer_email = "badges@fedoraproject.org" + [qos] prefetch_size = 0