Introduction to WSO2 Registry Mounting
This post is based on the common questions raised about registry mounting and how it works etc. Below are the main questions people ask: 1). How mounting works? 2). What is the difference between Config Registry and Governance Registry? 3). Can I use databases other than H2 for Local Registry? 4). What is meant by mount path and target path? 5). Do I need to configure “remoteInstance” URL? 6). What should I use as the cacheId? So let's start with how to configure a registry mount. When you are configuring the registry mount, you have to add the relevant data source to the master-datasources.xml file. In addition to that, you have to add mounting related configuration into the registry.xml file as well. In the master-datasources.xml file you have to just configure a JDBC data source by providing JDBC URL, username, password, validation queries, connection optimization parameters, etc. An example data source entry will look like below. Note: You need to add below configura