HPE Morpheus Enterprise Software
1856406 Members
5169 Online
104112 Solutions
New Discussion

Invalid plugin error when adding a PluginController is added to tab plugin

 
DP_Nico
HPE Pro

Invalid plugin error when adding a PluginController is added to tab plugin

Hi,

I am developing a instance plugin right now and for a reverse callback I am trying to add a PluginController class to add http routes.
As soon as I add this controller to the plugin uploading the plugin shows a ‘invalid plugin’.

Anybody has a clue what could cause this?

Thanks,
Nico



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
7 REPLIES 7
Not applicable

Re: Invalid plugin error when adding a PluginController is added to tab plugin

Hello,

This sounds like your baselining your plugin on an older plugin api version. What version of morpheus-plugin-api are you using as well as what version of morpheus are you applying the plugin to?

DP_Nico
HPE Pro

Re: Invalid plugin error when adding a PluginController is added to tab plugin

My morpheus version V. 5.4.2



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Not applicable

Re: Invalid plugin error when adding a PluginController is added to tab plugin

Also need to know what version of morpheus you are trying to load the plugin into

DP_Nico
HPE Pro

Re: Invalid plugin error when adding a PluginController is added to tab plugin

I am using com.morpheusdata:morpheus-plugin-api:0.12.0.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
DP_Nico
HPE Pro

Re: Invalid plugin error when adding a PluginController is added to tab plugin

Solved the issue. Apparently not all methods you need to implement in the controller are documented.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Not applicable

Re: Invalid plugin error when adding a PluginController is added to tab plugin

example?

Not applicable

Re: Invalid plugin error when adding a PluginController is added to tab plugin

Ok so can you provide the exact error and the morpheus logs from when its loaded. it should show an exception that will tell us whats going on. a lot has changed since 5.4.2 due to some major grails updates and security updates for java 11