vSphere

 View Only
  • 1.  Remote plugin sdk sample Task names are not rendering

    Posted Jun 22, 2022 07:01 PM

    Hi,

    I'm trying out the client SDK(7.0U3) sample deployed on vSphere Client version 7.0.3.00500 and observing that none of the task names were rendering

    kumar_t_0-1655924143803.png

    I had registered the plugin using 

    ./extension-registration.bat -action registerPlugin -remote -url https://myvcenter/sdk -username administrator@vsphere.local -password mysecret -key com.vmware.sample.remote -version 1.0.0 -pluginUrl https://mydevbox:8443/sample-ui/plugin.json -serverThumbprint 19:FD:2B:0E:62:5E:0E:10:FF:24:34:7A:81:F1:D5:33:19:A7:22:A0:DA:33:27:07:90:0F:8E:8D:72:F1:BD:F1 -c 'Example, Inc.' -n 'Remote Plug-in' -s 'This is a sample plug-in' --taskList remote-plugin-path\registration\resources\taskList.json --faultList remote-plugin-path\registration\resources\faultList.json --privilegeList remote-plugin-path\registration\resources\privilegeList.json --resourceList remote-plugin-path\registration\resources\resourceList.json

    However, I see that resourceList was not set. 

    kumar_t_2-1655924365053.png

    How can we make it work?



  • 2.  RE: Remote plugin sdk sample Task names are not rendering

    Broadcom Employee
    Posted Jul 01, 2022 03:27 PM

    Hi, 

     

    I have tried to register the vSphere Client SDK sample plugin using the following command:

    ./extension-registration.sh -action registerPlugin -k com.vmware.sample.remote -v 1.0.0 -url https://<my_vcenter>/sdk -username administrator@vsphere.local -password 'myPassword' -st 55:5D:B1:0D:E0:33:3E:10:AB:1E:F4:86:62:61:F0:7F:93:FE:F6:9B -pu https://<plugin_server>:8443/sample-ui/plugin.json -remote --taskList=../../../samples/remote-plugin-sample/registration/resources/taskList.json --faultList=../../../samples/remote-plugin-sample/registration/resources/faultList.json --privilegeList=../../../samples/remote-plugin-sample/registration/resources/privilegeList.json --resourceList=../../../samples/remote-plugin-sample/registration/resources/resourceList.json

     

    At first the plugin tasks we not localized but after a logout and login, the tasks were localized correctly.

    One difference that I am seeing is that you are not using '=', for example, --resourceList=../../../samples/remote-plugin-sample/registration/resources/resourceList.json

     

    Let us know if you succeed.

     

    Best Regards,

    Denis