Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

  1. Download WSO2 API Manager (1.9.x and above versions), and start the server. For instructions on running WSO2 APIM, see  Running the Product.
  2. Download WSO2 Governance Registry (version 5.0.0 and above) 
  3. 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.
  4. Start the WSO2 G-Reg server.  For instructions on running WSO2 G-Reg, see Running the Product. 

...

  1. 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.

  2. Log in to the G-Reg Management Console using the following URL and admin/admin credentials:  https://10.100.5.72:9444/carbon
  3. Click Main, and then click SOAP Services in the List menu.

    You view the created SOAP service. 

  4. Click on the corresponding Service Version link of the service as shown below.
    click Service Version of the new service

  5. Add the same values which you provided for the apim.endpoint parameter (e.g.  http://localhost:9763/ ), and apim.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.   
    endpoint URL
  6. Click Save SOAP Service.

...