Make the HttpClient class a common library #145
Labels
level/task
Task issue
module/agent
type/change
Change performed in a resource or Wazuh Cloud environment
Description
As part of the development of the new communicator, an
HttpClient
class was created to encapsulate HTTP calls to the Server Management and Agent Comms APIs.Currently, this class is only available and adapted for use by the communicator component, but we will need to make it available to all modules as well. For this, we need to consider migrating the code of this wrapper to a common library and making it more generic, if necessary.
Also, as part of these changes, we also need to consider whether the communicator should be considered a module instead of a component, given all the tasks and responsibilities it has.
The following tasks should be performed:
HTTPClient
wrapper class into a common library.src/modules
folder if so decided.ModuleManager
to start it.The text was updated successfully, but these errors were encountered: