If you are using the Micro Gateway, then to be able to route calls to APIs that are published to a Catalog, you must add the Micro Gateway to the Catalog.
Before you begin
Important: IBM® API
Connect
Micro Gateway is deprecated in IBM API
Connect Version 5.0.8 in favor of DataPower® Gateway. From 1 April 2020, Micro Gateway, and associated toolkit CLI commands, will no longer
be supported. Existing users can migrate their API definitions to IBM
DataPower Gateways. For information on supported API policies, see
Built-in
policies.
About this task
You add the Micro Gateway to a Catalog by using the API Manager user interface.
For more information on Catalogs, see Working with Catalogs.
Procedure
To add a Micro Gateway to a Catalog, complete the following steps:
-
If not already logged in, log in to the API Manager user interface.
-
If you have not previously pinned the UI navigation pane then
click the Navigate to icon .
The
API Manager UI navigation pane opens. To pin the
UI navigation pane, click the
Pin menu icon
.
-
On the Dashboard page, click the Catalog to display details.
-
Click Settings, go to the Gateway section, then click
Configure Gateway.
-
If you are using the Micro Gateway with the IBM API
Connect Professional or Enterprise offering, complete the following steps:
-
Select the API Connect collective to which you published the Micro Gateway application in Installing the Micro Gateway for the Professional and Enterprise offering, and click Next.
-
Select the Micro Gateway application; this is the Micro Gateway application name that you specified in Installing the Micro Gateway.
-
Paste the public key of the Micro Gateway, and click Done.
-
If you are using the stand-alone Micro Gateway with the IBM API
Connect Essentials offering, complete the
following steps:
-
Select API Connect Standalone Micro Gateway, and click
Next.
-
Paste the public key of the Micro Gateway application, and click
Done.
-
Save the Catalog by clicking the Save icon .
-
Click the Download Configuration File link to obtain the YAML formatted environment manifest file env.yaml; this file contains information that is required by API Connect to communicate with the Catalog.
-
Place the file in your API Connect application project folder.
-
Click Endpoints, then, in the Custom Gateway URL field, enter the address of IBM HTTP Server or other load balancer for the API traffic.
-
Save the Catalog by clicking the Save icon .