UPDATED POST:
Hi,
we're going to migrate our local plugin to a remote one. After a while of investigating we have a few questions regarding the migration key-points:
#1 Using the web-platform.js (so called Bridge API) in javascript/UI code
#2 Using com.vmware.vise.* packages in backend code:
- In our local plugin the com.vmware.vise.data.query.DataService class is injected into our code via context config file. We understand, that in order to build a project we need such dependency in local dependecies, but in runtime (when local plugin is deployed on VCenter) these classes are available and injected from VCenter context, right?
- Remote plugin backend will run on our appliance, so we cannot use com.vmware.vise.* anymore and replace all it's usages with vim25.jar. It is correct?
- Do you have any migration guide / tips regarding com.vmware.vise to vim25 migration?
#3 Our undestanding the the entire migration process:
We understand that in order to migrate the local plugin to the remote architecture, we need to cover the following things:
- We can use our current local plugin UI, but have to remove usage of web-platform.js from our UI code (#1)
- We need to introduce vim25 lib to access vcenter data and replace com.vmware.vise.* usage with vim25 (#2)
- We need to rebuild the plugin.xml to the plugin.json format
- We need to adjust our currect plugin registration process so plugin is registered as remote one (
- We need to deploy our remote plugin on our-own appliance (unlike the local plugin)
Are there any things we miss in the entire process?
Thanks,
Radek