Create a Registry Resource¶
Initially, your registry resources project will contain only a pom
file. You can create any number of registry resources inside that project.
Step 1: Create the resource artifact¶
Select the project in Project Explorer.
Click on + Add Artifact.
Select Registry from the appeared menu.
This will open the New Registry Resource window.
Select one of the following options.
From the existing template¶
Use the From existing template option if you want to generate a registry resource from a template.
Enter a unique name for the Resource Name, and Artifact Name. Then select a resource template for the Template Type field. In this example, a WSDL File template is used.
Import from the file system¶
Use the Import from file system option to import a file or a folder containing registry resources.
Tip
This helps you import a resource and collection from the same registry instance or a different registry instance that you have added. Similarly, you can export a resource or collection to the same registry instance or a different registry instance.
Enter a unique name for the artifact, and use Browse file/Browse folder to find the relevant file or folder.
Step 2: Save the resource artifact¶
Specify the location to save the registry resource and click Create.
Registry type | Specify whether it is a governance registry or a configuration registry. |
---|---|
Registry path | Specify where the registry resource should be saved at the time of deployment. |
Edit a registry resource¶
There may be instances where you need to change the details you entered such as media type, properties, or other information for a registry resource. You can edit such information using the Edit Registry Metadata option. To open this edit view, go to the Registry Explorer and click on the pen icon of the resource that needs to be updated.
Click on the Update button after making the necessary changes.