Asset Models for ESB provide the ability to govern WSO2 ESB artifacts from a centralized Governance Registry. WSO2 Governance Registry creates corresponding governance artifacts for ESB proxy services, sequence and endpoints and synchronizes the relationship between those artifacts. To use this, there is no need to mount ESB to Governance Registry.
WSO2 Governance Registry runs a separate task internally to periodically check for updates and synchronize with WSO2 ESB.
To use ESB asset models:
Start WSO2 ESB (If you run both ESB and G-Reg in same computer, use a different port offset value to run ESB in a different port).
Open GREG_HOME/repository/conf/registry.xml file and uncomment the following and edit it appropriately.
Fill the up and running WSO2 ESB’s username, password and serverUrl as follows.
You can give a suitable cron value to change the frequency of the task.