aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/zen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-326/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* removed experimental mesh codeStefan Boberg2023-01-261-284/+0
| | | | should be replaced with a proper implementation later
* rename URI chunk requests from value -> chunk (#166)Dan Engelbrecht2022-09-191-1/+1
|
* De/fix crash on non responding upstream (#145)Dan Engelbrecht2022-08-191-12/+12
| | | * Fix ZenStructuredCacheClient lifetime issues
* Enable adding namespace to URI based upstream requestsDan Engelbrecht2022-06-081-24/+23
|
* keep "reason" from upstream response so we can present it even if the ↵Dan Engelbrecht2022-06-011-9/+19
| | | | request fails without outright error
* remove unused parameterDan Engelbrecht2022-05-311-7/+4
|
* Remove namespace from HTTP URI style request in upstream until shared ↵Dan Engelbrecht2022-05-311-16/+20
| | | | instances are deployed with version that support si
* Keep Namespace out of CacheKey and store it on request levelDan Engelbrecht2022-05-191-8/+39
| | | | | RPC requests now has a Namespace field under Params instead of one Namespace per cache key Fall back to legacy upstream HTTP URI format if default namespace is requested
* Value propagation fix - Read/Write ValueAPI as CompressedBinary type when ↵mattpetersepic2022-02-181-5/+2
| | | | | | writing to zen and horde upstreams. Return failure from HandleGetCacheRecord if the requested type does not match the cachetype. (#55) * Fix bug with getting values PUT to Jupiter as CompressedBinary. When getting CompressedBinary records from Jupiter, they are expected to now be a record with a reference to the compact binary. This has to be accounted for when performing upstream GETs. * HandleGetCacheRecord: avoid crashing on invalid type, and avoid sending back data that doesn't match the AcceptType.
* Fix typo 'application/x-ue-cb-cbpkg' -> 'application/x-ue-cbpkg'Matt Peters2022-02-111-1/+1
|
* Change Value propagation to Zen or Jupiterzousar2022-02-081-0/+30
| | | | This change ensures we retain the right content type of kCompressedBinary when propagating values from Zen->UpstreamZen. This is done via an RPC that posts a CbPackage. Furthermore when propagating from Zen->Jupiter, it composes its own referencing CbObject for them instead of sending a octet content type and Jupiter defining the referencing CbObject. When fetching Values from Jupiter, this new composed CbObject is still interpreted correctly by Zen.
* Mash -> MeshTrackerStefan Boberg2022-02-021-9/+9
|
* Rename Paylod to Value to match the client side. Rename PayloadId to ↵mattpetersepic2022-01-271-4/+4
| | | | ValueContentId where its a hash instead of an oid.
* Added connect/transfer timeout options for Jupiter client.Per Larsson2021-11-171-16/+9
|
* Added upstream connect/transfer timeout options.Per Larsson2021-11-161-8/+26
|
* Changed from batch to RPC.Per Larsson2021-11-111-1/+1
|
* Correct content type when invoking RPC.Per Larsson2021-11-111-1/+1
|
* Added batch API to upstream endpoints.Per Larsson2021-11-111-0/+29
|
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-9/+2
| | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* Merged from upstreamStefan Boberg2021-10-051-2/+4
|
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-3/+2
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Use /check/health instead of /test/hello.Per Larsson2021-09-231-2/+2
|
* Made upstream endpoints more resilient to failures by checking ↵Per Larsson2021-09-221-0/+25
| | | | health/reconnecting at regular intervals.
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-2/+2
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Probe upstream Zen server when initializing upstream cache.Per Larsson2021-09-201-0/+13
|
* Compact binary package caching support (#9)Per Larsson2021-09-161-5/+14
|
* Fixed up mesh loggingStefan Boberg2021-09-161-5/+6
|
* Changed logging implementationStefan Boberg2021-09-151-11/+11
| | | | | | * 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
* Updated upstream stats calculation.Per Larsson2021-09-071-5/+3
|
* Return stats from Zen/Jupiter HTTP client.Per Larsson2021-09-071-7/+5
|
* Added custom cpr::Response formatter and removed duplicate logging code.Per Larsson2021-09-071-42/+5
|
* Zen upstream support (#7)Per Larsson2021-09-031-21/+109
|
* Improved error handling for mesh broadcastStefan Boberg2021-08-241-2/+11
|
* clang-formatStefan Boberg2021-08-201-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zen into mainStefan Boberg2021-08-121-0/+10
|\
| * Bracket cpr with warning disable macros to fix compile issueStefan Boberg2021-08-121-0/+10
| |
* | Added placeholder chunk fetchStefan Boberg2021-08-121-0/+8
|/
* Implemented flush operations for cache servicesStefan Boberg2021-08-121-1/+96
| | | | Also implemented basic upstream query interface, which needs a bit more work to be fully functional (chunk propagation / fetching and new propagation policies as per DDC requirements)
* Made some changes to how mesh config worksStefan Boberg2021-06-211-7/+7
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+291