VMware {code} Community
xsigo
Contributor
Contributor

VC Plugin issue: name and description do not show correctly within Plug-in Manager Window

I have succesfully used java sdk to registered my plugin into VI client. It works perfect.

However, when I open the Plug-in Manager Window. It has display error

name and description is the last part of key, verndor is empty. I have attached a screen shot of this Plugin-Manger.

When I open ->content->[extensionList["com.xsigo.xmsweb.xms_172.16.0.181_app"]|http://null/mob/?moid=ExtensionManager&doPath=extensionList%5b%22com%2exsigo%2exmsweb%2exms%5f172%2e16%2e0%2e181%5fapp%22%5d]

I found company is unset, when I open description, type is unset , dynamicProperty Unset, label an d summary is the last part of key : 181_app

here is my java grovy code:

DynamicProperty[] dynamicProperty = new DynamicProperty[0]

Description description = new Description("", dynamicProperty, "Xsigo Virtual I/O Management", "Xsigo Management System")

ExtensionServerInfo esi = new ExtensionServerInfo()

esi.url = plugInConfigureUrl

esi.setDescription(description)

esi.company = "Xsigo Systems, Inc."

esi.type = 'com.vmware.vim.viClientScripts'

esi.adminEmail =

ExtensionClientInfo eci = new ExtensionClientInfo()

eci.version ="2.1.0"

eci.setDescription(description)

eci.company = "Xsigo Systems, Inc."

eci.type = "com.vmware.vim.viClientScripts"

eci.url = ""

Extension ext = new Extension()

ext.setDescription(description)

ext.company = "Xsigo Systems, Inc."

ext.key = keyStr //key is com.xsigo.xmsweb.xms_172.16.0.181_app

ext.version = "2.1.0"

ext.subjectName = "VC Extensibility"

ext.server =

ext.client =

ext.taskList = []

ext.eventList = []

ext.faultList = []

ext.privilegeList = []

ext.resourceList = []

ext.lastHeartbeatTime = Calendar.getInstance()

// get hold of ExtensionManager reference

ManagedObjectReference extMgrMof = service.getExtensionManager();

service.registerExtension(extMgrMof, ext);

log.info "registration successful!"

Can someone tell me what I did wrong? the vim25.jar is downloaded from vspher 4.0 sdk.

0 Kudos
3 Replies
Virtualul
Contributor
Contributor

I have the exact same issue. Plugin registers, but the description is wrong (only the last part of my key), both the label and the summary.

Is anybody even monitoring these forums? This is a 6mo old problem...

xsigo, do you mind, did you find any solution to this?

0 Kudos
Virtualul
Contributor
Contributor

Thank you for the pointer, however, that does not bring any information, only that is a 1yo bug (not 6mo as I thought before), there is no ETA for it to be fixed and no workaround.

0 Kudos
admin
Immortal
Immortal

If you still have this problem, check the other thread again. Last post there shows how to register the localization resources needed to get the label/summary fields to show correctly.

This actually isn't a bug as such, it's just the way localization works for Extensions.

0 Kudos