Hello
The first part for what I need is pretty simple. To be able to create my plug-in which runs-inside an existing one. For that I can use the runs-inside element.
My plug-in is exposing many new services for which I would like to be organized under a single subcategory under the parent. Based on the work that was done in https://bugzilla.redhat.com/show_bug.cgi?id=796480 this is also possible. However, that assumes the subcategory was already defined in the parent plug-in.
Is it possible to organize my services under a new subcategory under the parent without modifying the parent plug-in? For example:
The parent plug-in has its own descriptor and can not be modified: <plugin parent> <server name="a"> <subcategories> <subcategory name="foo"/> </subcategories> </server> </plugin>
My custom child plug-in extends the parent plug-in's resource type by adding new services:
<plugin child> <service name="a-child" subCategory="bar"> <runs-inside> <parent-resource-type name="a" plugin="parent"> <subcategories> <subcategory name="bar" /> <subcategories> </runs-inside> </server> </plugin>
Basically I need the ability to define new subcategories for the parent plug-in type a from within my custom child plug-in. This will then allow be to map my new service(s) a-child to the subcategory bar.
Thanks,