aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream
Commit message (Collapse)AuthorAgeFilesLines
* Update horde compute to use Jupiter for storage (#60)Joe Kirchoff2022-03-174-121/+216
|
* Value propagation fix - Read/Write ValueAPI as CompressedBinary type when ↵mattpetersepic2022-02-182-5/+39
| | | | | | 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
|
* Merge pull request #52 from EpicGames/ValuePropagationFixzousar2022-02-093-101/+227
|\ | | | | Change Value propagation to Zen or Jupiter
| * prepare_commit to fix formattingzousar2022-02-091-44/+46
| |
| * Change Value propagation to Zen or Jupiterzousar2022-02-083-105/+229
| | | | | | | | 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.
* | Remove the backwards compatibility for the Zen CachePolicy changes no… (#49)mattpetersepic2022-02-081-3/+0
|/ | | Remove the backwards compatibility for the Zen CachePolicy changes now that there has been enough time for all internal users of the old protocol to update.
* Minor cleanup of free functions.Per Larsson2022-02-034-42/+47
|
* Merged main.Per Larsson2022-02-026-169/+215
|\
| * Some minor cleanupStefan Boberg2022-02-022-37/+21
| |
| * Mash -> MeshTrackerStefan Boberg2022-02-022-12/+18
| |
| * clang-formatStefan Boberg2022-02-021-2/+2
| |
| * Cache policy support (#47)mattpetersepic2022-02-012-122/+172
| | | | | | | | | | | | | | | | Add HandleRpc methods for the remaining ICacheStore requests from unreal: PutCacheValues/GetCacheValues. We now have batched versions for PutCacheRecords,GetCacheRecords,PutCacheValues,GetCacheValues,GetCacheChunks. Add support for CachePolicy flags to all of these batched methods. * Add Batched PutCacheValues/GetCacheValues. Rename old GetCacheValues to GetCacheChunks. * HandleRpcGetCacheRecords: Receive a CacheRecordPolicy with each key, and skipdata on attachments we already have. * Changes to CachePolicy copied from Release-5.0 depot. Change serialization to use the key BasePolicy instead of DefaultValuePolicy. * GetChunks: Read CacheRecords from remote if necessary to find ContentId. Implement QueryLocal, StoreLocal, and SkipData.
* | Removed unnecessary headers.Per Larsson2022-02-021-5/+1
| |
* | Added upstream auth config and removed the possibility to add endpoints via ↵Per Larsson2022-02-024-164/+39
| | | | | | | | REST.
* | Parse expire time from OpenID refresh token and added OpenId token provider.Per Larsson2022-02-023-4/+24
| |
* | Moved cloud cache token provider out from options.Per Larsson2022-02-016-21/+36
| |
* | Refactored cloud cache access token provider.Per Larsson2022-02-016-28/+50
| |
* | Parital completed cloud cache token provider interface.Per Larsson2022-02-014-270/+180
| |
* | Merged main.Per Larsson2022-01-284-94/+98
|\|
| * Rename Paylod to Value to match the client side. Rename PayloadId to ↵mattpetersepic2022-01-274-73/+74
| | | | | | | | ValueContentId where its a hash instead of an oid.
| * Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords (#41)mattpetersepic2022-01-261-12/+15
| | | | | | * Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords.
| * Fixed issue with missing endpoint name when configuring upstream cache from Lua.Per Larsson2022-01-261-1/+3
| |
| * Cachepolicy (#36)mattpetersepic2022-01-251-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy CachePolicy implementation from UE5/Release-5.0. Add backwards compatability for clients and upstreams that are using the old protocol. * Add RefPtr templated move operator and constructor, so that RefPtr<const Foo*> A = std::move(RefPtr<Foo*>()) will do a move. * Fix broken CachePolicy tests and add tests for new Save/Load. * Remove TODO comments * CachePolicy Save/Load Fixes from codereview * Fix comment to match code change. * Remove backwards compatibility for CachePolicy change. Convert policy string tokens to PascalCase. Fix tests for new policy text. Change ParseCachePolicy to assert string is non-empty and always succeed. * Fix release build: use ZEN_WITH_TESTS define
* | Get access token from auth mgr.Per Larsson2022-01-284-9/+17
|/
* Refactored upstream cache to better handle different states in prep for ↵Per Larsson2022-01-247-343/+672
| | | | dynamic auth tokens.
* Format fix.Per Larsson2022-01-221-12/+16
|
* Not all toolchains support C++20's atomic<double>::fetch_add()Martin Ridgers2022-01-112-18/+17
|
* Two missing override keywordsMartin Ridgers2022-01-101-2/+2
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-103-24/+12
|
* Added trace scopes.Per Larsson2021-12-152-0/+58
|
* Merged main.Per Larsson2021-12-146-149/+100
|\
| * Partial revert b363c5bJoe Kirchoff2021-12-131-67/+13
| |
| * A 'long int' is larger on non-Windows causing narrowing warningsMartin Ridgers2021-12-081-15/+23
| |
| * Merged mainMartin Ridgers2021-12-082-41/+89
| |\
| * \ Merged mainMartin Ridgers2021-12-081-11/+17
| |\ \
| * | | Wait on an event instead of using sleep()Martin Ridgers2021-11-261-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The sleep() means it can take up to "update_interval * 2" (currently 10 seconds) to shutdown the thread. Not only is it desirable that binaries exit cleanly as quickly as possible, units tests were taking a considerable amount of time to run due to the sleep.
| * | | Merged mainMartin Ridgers2021-11-251-0/+4
| |\ \ \
| * \ \ \ Merged mainMartin Ridgers2021-11-223-48/+102
| |\ \ \ \
| * \ \ \ \ Merged mainMartin Ridgers2021-11-171-13/+55
| |\ \ \ \ \
| * | | | | | Post-merge compile fixesMartin Ridgers2021-11-171-1/+1
| | | | | | |
| * | | | | | Merged mainMartin Ridgers2021-11-176-63/+67
| |\ \ \ \ \ \
| * | | | | | | Compile fixMartin Ridgers2021-11-171-1/+1
| | | | | | | |
| * | | | | | | Merged mainMartin Ridgers2021-11-175-25/+63
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merged mainMartin Ridgers2021-11-161-6/+40
| |\ \ \ \ \ \ \ \
| * | | | | | | | | GCC does not like CacheKey member being named the same as its typeMartin Ridgers2021-11-152-34/+34
| | | | | | | | | |
| * | | | | | | | | Merged mainMartin Ridgers2021-11-156-33/+417
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Wrapped "upstream apply" in ZEN_WITH_COMPUTE_SERVICESMartin Ridgers2021-11-122-0/+11
| | | | | | | | | | |
| * | | | | | | | | | Merged mainMartin Ridgers2021-11-124-64/+1833
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merged mainMartin Ridgers2021-11-032-96/+111
| |\ \ \ \ \ \ \ \ \ \ \