BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

IBM Open Sources Their API Microgateway

| by Margot Krouwer Follow 3 Followers on May 02, 2017. Estimated reading time: 2 minutes |

IBM has recently announced that they've open sourced their API Microgateway. This means that any developer/business can now take advantage of this software in their own computing projects at no cost.

An API gateway is a software layer between one to many API services and their consumer applications. The purpose of this software is to provide a variety of common services useful for all APIs. Examples of such services are security, rate limit, and change management tooling. IBM's Microgateway is written in Node.js and utilizes the Swagger 2.0 spec. The open sourcing of this software is a huge boon to the development community as API gateways from major corporations such as IBM, Microsoft, Oracle, etc are usually licensed. The IBM Microgateway is not to be confused with IBM's DataPower Gateway, which is a different Enterprise solution which has a greater emphasis on security.

The key features of IBM's API Microgateway are network traffic management, easy implementation of security standards (such as OAuth), and policy management. There is also an API Designer toolkit which provides a GUI (graphical user interface) for creating YAML API specs. A small data store and robust flow-engine process allow for persistence of basic API data models and the ability to create complex policies around API consumability. The software includes pre-built policies for common use cases such as API key validation, basic authorization, and rate limiting.

The primary focus of IBM's API Microgateway is policy management. A user can use "if" and "switch" statements, which are a part of flow management, to create their own custom policies if they're not utilizing one of the pre-built inclusions. IBM product manager Ozair Sheikh writes in IBM's blog of expanding these polices beyond basic conditional statements, "When you need to roll up your sleeves and apply your own logic, the JavaScript policy provides ultimate flexibility to enrich the payload." The inclusion of basic conditionals and javascript configurability allows a user to adapt the gateway to suit their individual business needs and custom business logic.

Another large focus of the gateway is on API definition recognition and creation. Inclusion of the Swagger spec means that there is a single recognizable standard for API definitions and users can utilize the underlying Swagger Editor to create their own specs in YAML. Due to the sensitivity of editing in YAML, which can be similar to assembling a house of cards in the midst of a gale, a GUI on top makes this process a lot less time consuming. These tools allow for developers to easily create their API's definitions within the gateway itself, which leads to the possibility of policy creation based on consumer specific API definitions. However, the gateway is limited in only recognizing two types of APIs: REST and SOAP. Any API developers not currently utilizing either of these paradigms may find support lacking. Similarly, if the swagger spec is not a fit for an existing API ecosystem the microgateway experience may not be as robust as it could be. However, the great aspect of open source is if there are facets of a software that could be added or improved, they're always looking for contributors.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT