Implement the Capabilities service
Context
The GetCapabilities()
RPC call should return the CacheCapabilities
of the -casd
instance if running in CAS server mode or, if configured in proxy mode, forward the capabilities of the remote endpoint (with the exception of the max_batch_total_size_bytes
value, which would be inherent to the connection between the client and -casd
and thus can be set to a different value than the remote CAS').
Task Description
-
Implement the GetCapabilities()
servicer -
Make the ServerCapabilities
message returned contain relevant values in itsCacheCapabilities
field.
Acceptance Criteria
-casd
responds to the GetCapabilities()
call returning CacheCapabilities
values that are consistent with the behavior of the running -casd
instance.
Edited by Santiago Gil