From 3871a466fa21ed7ecb6a7b1d1d5ef4d14b736a48 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 2 Dec 2024 11:45:35 +0200 Subject: Add tenant id to tenant service notifications and callbacks --- mod/mod-ci-github.hxx | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'mod/mod-ci-github.hxx') diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx index c38462a..9b9814e 100644 --- a/mod/mod-ci-github.hxx +++ b/mod/mod-ci-github.hxx @@ -42,33 +42,45 @@ namespace brep virtual const cli::options& cli_options () const {return options::ci_github::description ();} - virtual function (const tenant_service&)> - build_unloaded (tenant_service&&, + virtual function (const string& tenant_id, + const tenant_service&)> + build_unloaded (const string& tenant_id, + tenant_service&&, const diag_epilogue& log_writer) const noexcept override; - function (const tenant_service&)> + function (const string& tenant_id, + const tenant_service&)> build_unloaded_pre_check (tenant_service&&, service_data&&, const diag_epilogue&) const noexcept; - function (const tenant_service&)> + function (const string& tenant_id, + const tenant_service&)> build_unloaded_load (tenant_service&&, service_data&&, const diag_epilogue&) const noexcept; - virtual function (const tenant_service&)> - build_queued (const tenant_service&, + virtual function (const string& tenant_id, + const tenant_service&)> + build_queued (const string& tenant_id, + const tenant_service&, const vector&, optional initial_state, const build_queued_hints&, const diag_epilogue& log_writer) const noexcept override; - virtual function (const tenant_service&)> - build_building (const tenant_service&, const build&, + virtual function (const string& tenant_id, + const tenant_service&)> + build_building (const string& tenant_id, + const tenant_service&, + const build&, const diag_epilogue& log_writer) const noexcept override; - virtual function (const tenant_service&)> - build_built (const tenant_service&, const build&, + virtual function (const string& tenant_id, + const tenant_service&)> + build_built (const string& tenant_id, + const tenant_service&, + const build&, const diag_epilogue& log_writer) const noexcept override; private: -- cgit v1.1