aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing
Commit message (Collapse)AuthorAgeFilesLines
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-172-11/+21
| | | | | | | | | | | | | | | | | | - 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
* Add pre-commit config (#69)Joe Kirchoff2022-04-051-4/+4
| | | | | | | * Add .pre-commit-config.yaml * format all using pre-commit clang-format hook * Add pre-commit to inject unreal header comment * Remove prepare_commit.bat & update CODING.md * Remove check-added-large-files, add headers before clang-format
* clang formatDan Engelbrecht2022-03-231-4/+4
|
* Enable Horde compute code on Linux & Mac (#61)Joe Kirchoff2022-03-222-10/+10
|
* Refactored websocket message.Per Larsson2022-02-212-13/+22
|
* Basic websocket service and test.Per Larsson2022-02-182-1/+30
|
* Unused lambda capture compile fixesMartin Ridgers2022-01-101-10/+10
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-102-7/+3
|
* Merged main.Per Larsson2021-12-142-25/+56
|\
| * Missing includesMartin Ridgers2021-11-031-0/+2
| |
| * Removed if-def ZEN_PLATFORM_WINDOWS as its covered by WITH_COMPUTE nowMartin Ridgers2021-11-031-23/+7
| |
| * Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES defineMartin Ridgers2021-11-032-0/+12
| |
| * If-def'd Basic and SandboxedJob classes temporarilyMartin Ridgers2021-10-291-0/+17
| |
| * Fixed warnings about unhandled switch casesMartin Ridgers2021-10-291-0/+12
| |
| * CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-1/+1
| |
| * Fixed up Windows-specific include statementsMartin Ridgers2021-10-291-8/+12
|/
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-0/+41
| | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]>
* structured cache: fixed how HEAD requests are handledStefan Boberg2021-09-302-2/+21
| | | | | | the SetSuppressResponseBody() is currently sensitive to ordering and would end up getting called too late to apply fixes UE-129788, UE-129793
* Added simple compact binary endpoint for JSON testingStefan Boberg2021-09-272-1/+15
|
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-1/+1
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* Changed logging implementationStefan Boberg2021-09-153-14/+16
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-152-3/+2
| | | | easier to tweak implementation
* Changed so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-152-2/+3
|
* Implemented intended package streaming API flow (but currently it "streams" ↵Stefan Boberg2021-09-131-4/+3
| | | | from memory)
* Added client implementation of CbPackage filter/transactStefan Boberg2021-09-131-0/+10
|
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-132-16/+39
| | | | | | | | | | | | | | share storage and lazy eval logic They now call into ParseSessionId()/ParseRequestId() when required Eliminates redundant logic in derived implementations Also moved package transport code into httpshared.(cpp|h) for easier sharing with client code Added some I/O error reporting in http.sys related code Changed IHttpPackageHandler interface to support partially updated handling flow
* Package filtering related test codeStefan Boberg2021-09-132-2/+57
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-123-21/+5
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-092-2/+2
| | | | of place in zencore
* Introduced dedicated HTTP testing service, used during development to ↵Stefan Boberg2021-09-082-0/+82
| | | | exercise the server framework
* Launch sandbox directory is now dynamic and configured from the main serverStefan Boberg2021-06-202-14/+35
| | | | Also added some debug logging
* Added process exit code to launcher responseStefan Boberg2021-06-181-1/+26
|
* Adding zenservice codeStefan Boberg2021-05-112-0/+521