-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
Currently we don't allow multiple plugins in a single zip. It would be useful to be able to group multiple plugins in an uber plugin that would install them all in one command.
The current structure for a plugin zip is as follow:
<plugin_name>-<version>.zip
|____elasticsearch
| |____<plugin_name>
| | |____<plugin_files, plugin-descriptor.properties>
In order to allow multiple plugins in a single zip we could extend this format to accept:
<plugin_name>-<version>.zip
|____elasticsearch
| |____<uber_plugin_name>
| | |____uber_plugin-descriptor.properties
| | |____<plugin_name_1>
| | | |____<plugin_files, plugin-descriptor.properties>
| | |____<plugin_name_2>
| | | |____<plugin_files, plugin-descriptor.properties>
The uber_plugin-descriptor.properties would contain the name of the sub-plugins that should be installed.
The installation would create a directory named after uber_plugin_name and would put the jars and required files in a sub directory named after the sub plugin name. Each sub plugin would still be loaded as a single plugin, e.g. with a different class loader.