How I can move some registry resources from one tenant to another in WSO2 products?

南笙酒味 提交于 2020-01-16 01:06:30

问题


I want to move some registry stuff stored inside one tenant to another tenant in ESB 4.5.0.

So I decided to used the WSO2 Registry Browser in WSO2 Developer Studio 2.1.0, but I don´t see how I can do this. I can access to every resources and I try to export/import without success.


回答1:


If you want to move the registry resources from one tenant to another, the recommended approach is using the registry check-in client.

Currently this is shipped only with G-Reg, but you can use this feature by copying the checkin-client.jar and script to the relevant locations in your server (i.e. ESB)




回答2:


Simplest way you can do is, when you are creating tenants ESB creating directory structure in "wso2esb-ESB4.5.0/repository/tenants" location. if you creates 2 tenants there's two directory created in above location. if you want to copy all stuffs created in one tenant to other tenant you have to copy all directories inside the "*ESB4.5.0/repository/tenants/tenant1" and paste it to new tenant directory in "ESB4.5.0/repository/tenants/tenant2" location.



来源:https://stackoverflow.com/questions/13406977/how-i-can-move-some-registry-resources-from-one-tenant-to-another-in-wso2-produc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!