Registry Tools

Content

Registry Connection

When you are creating artifacts, you may need to point to resources inside a running registry instance. For that, first you need a create a registry connection to that running server.For this release, we support only WSO2 Governance Registry version 3.5 or higher. To create a registry connection, right click on the CApp project and select Registry Connection from the menu.



New Server Runtime



Give a name, URL and path for the registry connection and click Finish. Default information is filled for you. You can change them with your preference.





New Server Runtime



Now you will see a new registry connection is created with the given name, under Registry Connections folder. When you right click on the newly created registry instance, you have two options. You can either open it on the Wso2 Registry Browser which gives you the ability add, view and manage resources and collections or you can delete the added registry instance.





New Server Runtime



When you select Open option, below is how it will open in the Wso2 Registry Browser.





New Server Runtime



Now you have successfully created a registry instance. You can point resources from the created WSO2 Governance Registy instance when you create other artifact types.

Registry Resource

To create a registry resource, right click on the CApp project and select Registry Resource from the menu.





New Server Runtime



There are three ways to create a registry resource.

  1. Import from File System
  2. Check-out from registry
  3. Import registry dump file from the file system




New Server Runtime



With the Import from File System option, you can import a file or a folder.



New Server Runtime







New Server Runtime



With the Check-out from registry option, you can point to a collection or resource in the registry. You can browse resources from the registry instance that you have already created or you can create a new registry instance as well. After selecting the registry instance, click on Browse to browse resources in registry.





New Server Runtime



With the Import EndPoint from Registry, you can browse resources of the registry instance that you have already created or you can create a new registry instance as well. After selecting the registry instance, click on Browse to browse resources in registry.





New Server Runtime



Registry Path To Deploy is common for all the three options. With this, you are specifying, to where that registry resource should be check-in at the time of deployment.





New Server Runtime



Select the CApp project you want to create the Registry Resource and click Finish.





New Server Runtime



Now you will see new registry resource has been created under the selected CApp project.





New Server Runtime



If you look in to the structure of Registry Resource that you have just created, you will see there is an extra file called registry-info.xml.





New Server Runtime



This file is to keep all the necessary information regarding the registry resource.





New Server Runtime