garnet icon indicating copy to clipboard operation
garnet copied to clipboard

Supported RESP Commands Info

Open TalZaccai opened this issue 1 year ago • 1 comments

  1. Restructuring RespCommandInfo to read supported RESP commands info from JSON file (Garnet.server/Resp/RespCommandsInfo.json)
  2. Adding support for specifying command info when registering custom commands (example implemented in GarnetServer, parsing custom command info from GarnetServer/CustomRespCommandsInfo.json)
  3. Implementing COMMAND, COMMAND INFO & COMMAND COUNT RESP commands, matching information returned with Redis
  4. Implementing serialization & deserialization of command info to/from JSON and to/from RESP
  5. Adding CommandInfoUpdater tool for easily adding / removing supported commands & sub-commands info, generating an updated JSON file to replace RespCommandsInfo.json
  6. Adding tests for new commands specified in #4

TalZaccai avatar Apr 17 '24 19:04 TalZaccai

Few small nits for RESP writing/parsing parts, can be left as follow ups too.

Much appreciated @PaulusParssinen! #Closed

TalZaccai avatar Apr 18 '24 19:04 TalZaccai