VMware {code} Community
francine78
Contributor
Contributor

Unable to register vsphere plugin by tool script extension-register.bat

Hi all,

I try to register a VSphere HTML plugin I developed, with a tool script delivered with the last version of Vsphere HTML web client SDK.

Context :

-----------

- My plugin already work if I install it manually inside the vsphere-ui Vcenter directory

- My zip file contains :

     vim.extension

     plugin-package.xml

     |

     - plugins

          - war

          - jar(s)

- a zip file delivered by a web server

in my vim.extension file, I have the following HTML content :

<extension>

...

<key>com.atos.bullion.vsphere-plugin</key>

...

<client>

     ...

      <type>vsphere-client-serenity</type>

      <url>http://mywebserver/extbullion.zip</url>

   </client>

</extension>

in my plugin-package.xml file, I have :

<pluginPackage id = "com.atos.bullion.vsphere-plugin"

type="html"

version="1.13.0"

name="vsphere-plugin"

...

and I send the following arguments from a DOS Command :

extension-registration.bat -action registerPlugin -url https://vcenterserver/sdk --username user --password pass --key com.atos.bullion.vsphere-plugin --version 1.0.0 --pluginUrl https://anotherwebserver/extbullion.zip  --serverThumbprint  7d:a7:b4:c9:e5:6e:59:a2:ad:7d:48:6a:e2:98:61:16:a9:37:e6:dc --showInSolutionManager --summary 'vSphere Bullion Plugin'

Here is the result:

INFO: Not using https for your plugin URL is OK for testing but not recommended

for production.

Users will have to include the flag allowHttp=true in their vSphere Client webcl

ient.properties otherwise the http URL will be ignored

Plugin: com.atos.bullion.vsphere-plugin has been successfully registered in vCen

ter <https://myvcenter/sdk>.

Well, that's seems good, i could be happy Smiley Happy but nothing happen, nothing in the client plugins menu: No trace of the zip file, or plugin files, inside VMWare directory on the Vcenter Server side, my plugin is no-where.

I guess it is simply not deployed :smileyblush:

=> Where am I wrong :smileyx:

Regards,

Francine 78 (Sorry for my english, I am french, do not hesitate to improve it by nice advices;-)

Reply
0 Kudos
0 Replies