Site iconAxway Blog

Unified Catalog just got more awesome! Part 1: Integration with Microsoft Azure

Integration with Microsoft Azure

Integration with Microsoft Azure

For a while now we have been advertising how you could leverage the v7 Manager and AWS discovery agents publish your APIs to the environment grouping view in AMPLIFY Central and then promote them to the Unified Catalog to be discovered and consumed. In this blog post, we will explain how to discover APIs from Azure API Management and configure custom approval flows, by leveraging the AMPLIFY CLI, Integration Builder and collaboration tools such as Microsoft Teams.

If you:

Then you should continue reading!

In this post, we will breakdown the demo and review the components. In future blog posts, we will dive deeper into each individual component.

The basic use case is as follows:

 API Provider

API Consumer

 

The technologies that were used in the demo:

Azure API Management to Unified Catalog import script

This is a Node.js  script that fetches the APIs from Azure API Management and builds the resources needed to publish to the AMPLIFY Unified Catalog.  The following set of resources were configured.

Below is the resource relationship diagram.

 

The script will fetch from Azure only the APIs that are tagged with unifiedcatalog.

Note the API is tagged with unifiedcatalog.

The APIs will be visible in the Unified Catalog and consumers can subscribe to them.

Microsoft Teams flow to Approve/Reject subscription requests

The flow will send notifications to MS team’s channel as an Active card when a consumer subscribes to the API from the Unified Catalog. The API provider can then approve or reject the subscription requests from within the MS Active card. This action will trigger the Integration Builder flow, as a post-execution step. The MS flow will also post notifications in the channel for any subscription updates,

.Here’s a screenshot of the MS Teams card.

Note the actions and the link to the API in the Unified Catalog.

API Builder Docker Container hosted in ARS

This service was create to authenticate from Integration Builder to AMPLIFY Central and keep the authenticated user credentials green.  It will expose a GET /token endpoint that will return the current access_token for the configured credentials. This access token is then used by the Integration Builder flow to allow it to call Central. The service was created with API Builder and deployed to AMPLIFY Runtime Services ( ARS ).

Integration Builder flow to update subscriptions and send email notifications

This Integration Builder flow will receive the approve or reject requests from Microsoft Teams and unsubscribe requests from Unified Catalog,  then will subscribe/unsubscribe the consumer to the APIs in Azure API Management. It will also send email notifications to the user with the key to authenticate the API calls. The flow will call the API Builder app with get a valid Bearer token, then updates the Subscription states in Unified Catalog.

Summary

Axway makes it easy for you to automate the discovery of all APIs from Azure gateway and customize the approval flow to match your complex scenarios. Further, you can leverage Integration Builder to facilitate the development of integrations to third-party systems, with little code to no code.

Watch the demo video as we break down and explain the Azure to Unified Catalog integration.

 

 

 

 

Exit mobile version