In version 4.4 gravitee.io introduced the new Federation feature that allows you to manage your API’s in gravitee.io while having the runtime on a 3rd party gateway. This means that some API’s are for example running in AWS, others in Apigee, but their swaggers and urls are visible for the developers in the gravitee.io portal, together with the documentation that can be managed in gravitee.io (for example by linking it to Github Seamlessly Integrate Gravitee API Documentation with GitHub – i8c). From that portal the developers can also request access and subscribe to the API’s they want to use. These subscriptions are then synced with the 3rd party gateway.
In this blog, I’ll demonstrate just how easy it was to create a local demo where I’ve set up federation in gravitee.io. For a more business perspective on why you might want to use API federation, I refer you to the blog written by Gravitee.
To enable Federation in Gravitee, you need to set up an agent that manages all interactions between the gravitee.io platform and a third-party gateway. As of this writing, the following third-party gateways are supported: AWS API Gateway, Azure APIM, Apigee, IBM API Connect, Solace and Confluent Platform. In this blog, I’ll focus on the AWS Gateway agent, but the setup process for other providers follows the same principles: you set up an agent that contains all configuration and specific properties for the 3rd party gateway and you connect that agent to the gravitee.io platform.