From 0d8a4ad15b93283cc31787b039051b9e9a285ba8 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 27 Jun 2024 12:36:22 +0200 Subject: Pass StorageConfig and Storage to ServerImpl --- .../execution_api/execution_service/server_implementation.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/execution_service/server_implementation.hpp') diff --git a/src/buildtool/execution_api/execution_service/server_implementation.hpp b/src/buildtool/execution_api/execution_service/server_implementation.hpp index 7df517ad..ecddb8bc 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.hpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.hpp @@ -19,6 +19,8 @@ #include #include "src/buildtool/execution_api/common/api_bundle.hpp" +#include "src/buildtool/storage/config.hpp" +#include "src/buildtool/storage/storage.hpp" class ServerImpl { public: @@ -47,7 +49,9 @@ class ServerImpl { ServerImpl(ServerImpl&&) noexcept = delete; auto operator=(ServerImpl&&) noexcept -> ServerImpl& = delete; - auto Run(ApiBundle const& apis) -> bool; + auto Run(StorageConfig const& storage_config, + Storage const& storage, + ApiBundle const& apis) -> bool; ~ServerImpl() = default; private: -- cgit v1.2.3