diff --git a/data/defaults.yaml b/data/defaults.yaml --- a/data/defaults.yaml +++ b/data/defaults.yaml @@ -911,6 +911,42 @@ - getty.internal.softwareheritage.org swh::deploy::storage_listener::poll_timeout: 10 +swh::deploy::journal_publisher::conf_directory: "%{hiera('swh::conf_directory')}/journal" +swh::deploy::journal_publisher::conf_file: "%{hiera('swh::deploy::journal_publisher::conf_directory')}/publisher.yml" +swh::deploy::journal_publisher::user: swhstorage +swh::deploy::journal_publisher::group: swhstorage +swh::deploy::journal_publisher::config: + brokers: + - getty.internal.softwareheritage.org + temporary_prefix: swh.tmp_journal.new + final_prefix: swh.journal.test_publisher + consumer_id: swh.journal.publisher.test + publisher_id: swh.journal.publisher.test + object_types: + - content + - revision + - release + max_messages: 1000 + storage: + cls: remote + args: + url: http://uffizi.internal.softwareheritage.org:5002/ + +swh::deploy::archiver_content_updater::conf_file: "%{hiera('swh::deploy::worker::swh_storage_archiver::conf_directory')}/content_updater.yml" +swh::deploy::archiver_content_updater::user: swhstorage +swh::deploy::archiver_content_updater::group: swhstorage +swh::deploy::archiver_content_updater::config: + brokers: + - getty.internal.softwareheritage.org + auto_offset_reset: earliest + topic_prefix: swh.journal.test_publisher + consumer_identifier: swh.journal.archiver.content.updater + object_types: + - content + archiver_storage_conn: "host=%{hiera('swh::deploy::worker::swh_storage_archiver::db::host')} user=%{hiera('swh::deploy::worker::swh_storage_archiver::db::user')} dbname=%{hiera('swh::deploy::worker::swh_storage_archiver::db::dbname')} password=%{hiera('swh::deploy::worker::swh_storage_archiver::db::password')}" + sources_present: + - uffizi + swh::deploy::objstorage::conf_directory: "%{hiera('swh::conf_directory')}/objstorage" swh::deploy::objstorage::conf_file: "%{hiera('swh::deploy::objstorage::conf_directory')}/objstorage.yml" swh::deploy::objstorage::user: "%{hiera('swh::deploy::storage::user')}"