This guide demonstrates how to integrate an external WSO2 API Manager (APIM) with WSO2 G-Reg.
...
WSO2 Governance Registry is a registry-repository for storing and managing metadata related to services and other artifacts. Services ( SOAP or REST) in WSO2 G-Reg are implemented as configurable governance artifacts (RXT files), which you create using the G-Reg Publisher or its Management Console. Usually, in WSO2 APIM service publication is done using the APIM Publisher Web interface. Instead, you can integrate WSO2 APIM with WSO2 G-Reg, to directly publish APIs to APIM Publisher using the services deployed in the WSO2 Governance Registry.
This guide explains how to configure the two products to expose services in the G-Reg as APIs in the APIM.
...
- Download WSO2 API Manager (1.9.x and above versions), and start the server. For instructions on running WSO2 APIM, see Running the Product.
- Download WSO2 Governance Registry (version 5.0.0 and above)
- Change the default port of WSO2 G-Reg (e.g. set a port offset of 1), to avoid port conflicts that may arise when running more than one WSO2 products on the same server. For instructions, see Changing the Default Ports with Offset.
- Start the WSO2 G-Reg server. For instructions on running WSO2 G-Reg, see Running the Product.
...
Create a new SOAP service in WSO2 G-Reg. For instructions, see Creating a SOAP service.
Info For instructions on creating a REST service to publish it to WSO2 API Manager, see Creating a REST service.
- Log in to the G-Reg Management Console using the following URL and admin/admin credentials: https://10.100.5.72:9444/carbon
Click Main, and then click SOAP Services in the List menu.
You view the created SOAP service.
Click on the corresponding Service Version link of the service as shown below.
- Add the same values which you provided for the
apim.endpoint
parameter (e.g.http://localhost:9763/
), andapim.env
parameter (e.g."dev"
) in the lifecycle executer in Integrating with an External WSO2 API Manager , for Environments and URL as shown in the example below.
- Click Save SOAP Service.
...