You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If host_operating_system is None, delete plugin for all operating systems (add to docstring)
Add a stub implementation in FileAgentPluginRepository
Add install_agent_plugin_archive(self, agent_plugin_archive: bytes) to IAgentPluginService and implement it in AgentPluginService (0d) @ilija-lazoroski
Unpack/parse the archive into an AgentPlugin (plugin_archive_parser.parse_plugin)
Call IAgentPluginRepository.remove_agent_plugin() to remove the plugin for all operating systems
Call IAgentPluginRepository.store_agent_plugin() for each host operating system supported by the plugin
Make this method thread-safe
Add a new endpoint with PUT /api/agent-plugins (0.25d) @ilija-lazoroski
Description
Add an API endpoint that allows a user to upload an agent plugins (content-type application/octet-stream):
PUT /api/agent-pluginsTasks
store_agent_plugin(self, host_operating_system: OperatingSystem, agent_plugin: AgentPlugin)toIAgentPluginRepository(0d) @ilija-lazoroskiFileAgentPluginRepositoryremove_agent_plugin(self, host_operating_system: Optional[OperatingSystem], agent_plugin_name: str, agent_plugin_type: AgentPluginType)(0d) @ilija-lazoroskiFileAgentPluginRepositoryinstall_agent_plugin_archive(self, agent_plugin_archive: bytes)toIAgentPluginServiceand implement it inAgentPluginService(0d) @ilija-lazoroskiPUT /api/agent-plugins(0.25d) @ilija-lazoroski