aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/launch.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-06-17 07:06:21 -0700
committerGitHub <[email protected]>2022-06-17 07:06:21 -0700
commitc7e22a4ef1cce7103b9afbeec487461cb32f8dbe (patch)
tree8b99d51bf496c96f82161c18fbdcfd5c6f8f31fd /zenserver/testing/launch.h
parentfixed merge mistake which caused a build error (diff)
downloadzen-0.1.4-pre6.tar.xz
zen-0.1.4-pre6.zip
Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5
- Bumped ZEN_SCHEMA_VERSION - CasStore no longer a public API, it is hidden behind CidStore - Moved cas.h from public header folder - CidStore no longer maps from Cid -> Cas, we store entries in Cas under RawHash - CasStore now decompresses data to validate content (matching against RawHash) - CasChunkSet renames to HashKeySet and put in separate header/cpp file - Disabled "Chunk" command for now as it relied on CAS being exposed as a service - Changed CAS http service to Cid http server - Moved "Run" command completely inside ZEN_WITH_EXEC_SERVICES define - Removed "cas.basic" test - Uncommented ".exec.basic" test and added return-skip at start of test - Moved ScrubContext to separate header file - Renamed CasGC to GcManager - Cleaned up configuration passing in cas store classes - Removed CAS stuff from GcContext and clarified naming in class - Remove migration code
Diffstat (limited to 'zenserver/testing/launch.h')
-rw-r--r--zenserver/testing/launch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/testing/launch.h b/zenserver/testing/launch.h
index 6fd3e39ae..f44618bfb 100644
--- a/zenserver/testing/launch.h
+++ b/zenserver/testing/launch.h
@@ -17,7 +17,7 @@
namespace zen {
-class CasStore;
+class CidStore;
/**
* Process launcher for test executables
@@ -25,7 +25,7 @@ class CasStore;
class HttpLaunchService : public HttpService
{
public:
- HttpLaunchService(CasStore& Store, const std::filesystem::path& SandboxBaseDir);
+ HttpLaunchService(CidStore& Store, const std::filesystem::path& SandboxBaseDir);
~HttpLaunchService();
virtual const char* BaseUri() const override;
@@ -36,7 +36,7 @@ private:
spdlog::logger& m_Log;
HttpRequestRouter m_Router;
- CasStore& m_CasStore;
+ CidStore& m_CidStore;
std::filesystem::path m_SandboxPath;
std::atomic<int> m_SandboxCount{0};