VMware Cloud Community
fiitgate
Contributor
Contributor

Any good documentation for Vsphere web client (6.0) plugins development

Hi,

- I am looking for a neat  documentation for Vsphere web client  (6.0) plugins development where I could setup my development environment by following the steps shared by vmware , so far I am stuck at different stages basically environment setup.

- Also expecting  if there any license requirement to get the full fledged setup ,which can give the complete packages unlike I am seeing many broken packages

- vsphere kit version used  6.0

6 Replies
fiitgate
Contributor
Contributor

Thanks vNEX ,

I have followed https://www.youtube.com/watch?v=2pPFMkgcC9wGetting Started with vSphere Web Client Programming - Setting up your development environment - YouTube

I am stuck at starting virgo server with the error

Server Virgo Runtime was unable to start within 300 seconds. If the server requires more time, try increasing the timeout in the server editor.

Increase of time out is also not helping...


Server Virgo Runtime was unable to start within 3600 seconds. If the server requires more time, try increasing the timeout in the server editor.

always failing at this point...

. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.vmware.vsphere.client.vmservice' at version '6.0.0.0-SNAPSHOT': Cannot resolve: com.vmware.vsphere.client.vmservice

    Resolver report:

        An Import-Package could not be resolved. Resolver error data <Import-Package: com.vmware.vise.vim.security; version="0.0.0">. Caused by missing constraint in bundle <com.vmware.vsphere.client.vmservice_6.0.0.0-SNAPSHOT>

             constraint: <Import-Package: com.vmware.vise.vim.security; version="0.0.0">

  at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)


Any help to get the development environment ready would be really appreciated . Do I need to get the licenses-ed version or  trail version is sufficient enough to get the setup up and running .

Reply
0 Kudos
vNEX
Expert
Expert

There are threads with similar issue have a look at these:

Problem running Virgo Runtime server

Re: vsphere web client SDK 6.0 java.lang.NullPointerException: The URL of the VMware Component Mana...

Please post your vsphere_client_virgo.log for analysis.

_________________________________________________________________________________________ If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards, P.
dennisluvm
Enthusiast
Enthusiast

I would highly, HIGHLY recommend that if you do develop a plugin, you use the HTML bridge capabilities in the SDK as much as possible.  This will probably simplify your coding experience.  We also recommend that you use angular if you're using any javascript framework.

Basically the bridge allows you to embed HTML pages within their own view in Web Client.  You can also add things like additional Actions, or new Objects without Flash/Flex code, because most of these things are defined elsewhere (XML I believe, but I'm not a developer).

The code samples for "global view" and "chassis-app" are good examples of what you can accomplish using the HTML bridge, and probably good examples to follow in general.

fiitgate
Contributor
Contributor

Hi vNEX ,

Please find the attached vsphere_client_virgo.log  . your previous response did not help me starting virgo ..  with log if you can help me here would be really appreciated.

Thanks,

Rakesh

Reply
0 Kudos
fiitgate
Contributor
Contributor

Hi dennisluvm ,

Actually using HTML bridge capabilities in sdk is a great idea as I am not that much used to with flex/flash code so.

Any reference doc to begin with (if u familiar with any) would be appreciated .. before all this i need the virgo server running , which is not running now

Reply
0 Kudos