Kelvin Clement Mwinuka
bb667cf7f7
Added test coverave + fixed some bugs with pubsub api methods.
2024-05-27 18:48:08 +08:00
Kelvin Clement Mwinuka
98f4ca3a65
Updated CommandHandlerFuncParams docs comment
2024-05-26 15:30:12 +08:00
Kelvin Clement Mwinuka
abee9ea858
Uncommented AddCommand method
2024-05-26 15:26:04 +08:00
Kelvin Clement Mwinuka
926a008c23
Updated generic and hash package tests to use tcp connection instead of calling the handler directly
2024-05-24 13:40:40 +08:00
Kelvin Clement Mwinuka
c634b1b20e
Return ok boolean instead of OK string in embedded api methods that return ok status. Updated tests to match new return types
2024-05-18 22:49:21 +08:00
Kelvin Clement Mwinuka
0f6ae1c8ac
Implemented LoadModules method to load external modules at runtime.
...
Implemented UnloadModules method to remove modules at runtime.
Implemented ListModules method to list the current loaded modules.
Implemented "MODULE LOAD", "MODULE UNLOAD", and "MODULE LIST" commands.
2024-05-03 11:57:21 +08:00
Kelvin Clement Mwinuka
8aed3a320d
Implemented LoadModules method for loading modules into EchoVault.
...
Implemented UnloadModules methods for removing module from EchoVault.
Removed connection from plugin handler function parameters as it should not be modified by the module.
2024-05-01 17:37:31 +08:00
Kelvin Clement Mwinuka
000115ceb0
Created "loadmodules" args for loading ".so" modules into EchoVault.
...
Moved types associated with embedded commands extension into api_admin.go file and deleted types.go file as it's no longer necessary.
Updated docker-compose and Dockerfile.dev to pass .so modules to load on startup.
Volumes folder is no longer ignores except for the nodes subfolder.
2024-04-30 12:17:30 +08:00
Kelvin Clement Mwinuka
d9d9160dc4
Moved types.go file into the echovault package and deleted EchoVault interface as it's no longer in use
2024-04-30 09:49:59 +08:00
Kelvin Clement Mwinuka
281c4f27a7
Added godoc commends for embedded methods and types to extend commands. Moved constants to internal directory
2024-04-29 15:20:10 +08:00
Kelvin Clement Mwinuka
dcb88ffead
Added condition to skip duplicate subcommands when adding a new command with subcommands
2024-04-29 11:31:49 +08:00
Kelvin Clement Mwinuka
c241cc07b1
Renamed *AccessKey type to better represent the response on *KeyExtractionFunc types
2024-04-28 07:34:34 +08:00
Kelvin Clement Mwinuka
972cbe0a4f
Renamed command API methods to use CamelCase
2024-04-28 07:22:39 +08:00
Kelvin Clement Mwinuka
8baeaa96c1
Enable adding command with subcommands in ADD_COMMAND method
2024-04-28 05:00:46 +08:00
Kelvin Clement Mwinuka
54bed136d4
Added REMOVE_COMMAND method for removing commands or subcommands
2024-04-28 01:15:27 +08:00
Kelvin Clement Mwinuka
97f4617d86
Moved all packages from /pkg directory to the root directory. Deleted /pkg directory. Pass keyspace functions to raft package instead of an EchoVault instance. This removes dependency on the echovault pakage from the raft package.
2024-04-28 00:37:45 +08:00