Manage Pega V851 API's via Open API Gateway (WSO2)

In this post, let us focus on how Pega API's can be managed via any Open API Gateway like WSO2. To work on this exercise, we need the below prerequisites.
1) Create a Service-REST API in Pega [Eg: Create a HR Service case in this context]
2) SwaggerHub tool to import the API's YAML data from the above step
3) WSO2 tool to publish and invoke the above API service

Create a Service-REST API: Follow the below simple steps from Pega using Service-REST

























Capture the YAML data from the above created service and update the server URL with tunneled URL generated by using ngrok.exe [Eg: run the command "ngrok http 8082" from command line prompt] Copy/mark the https URL from command line prompt and update the YAML file in the editor shown in below video.





































SwaggerHub tool editor to import the API's YAML data: A brief idea on this tool before we start using this Opensource at our end. Swagger is a set of rules (in other words, a specification) for a format describing REST APIs. The format is both machine-readable and human-readable. Google it for more details. Here is the site where we need to register and start using for our exercise.
https://app.swaggerhub.com/home
Follow the steps as per the simple video and downloas the json file as mentioned.

WSO2 tool to publish and invoke the above API service: After capturing the file, we need to publish this API using WSO2 tool(trial ver). It is a lightweight, component oriented; Java based enterprise service bus (ESB). WSO2 ESB allows developers to integrate services and applications in an easy, efficient and productive manner. It also provides ease of connecting cloud applications using a wide array of cloud connectors that comes ready to be used.

Use this site to register for a 14 days trail in WSO2:  https://api.cloud.wso2.com/publisher/site/pages/index.jag
Follow these steps from WSO2 API cloud env as per below YouTube video.
After finishing the above process, take the Request URL and is required for testing it from Postman. Before running this API from Postman, we need to generate the token by using the URL:https://gateway.api.cloud.wso2.com/token?grant_type=client_credentials
Check the below screenshot for more details

Follow the below steps from the video and check the Pega case created from the Dev Studio.



References:
1) Google.com
2) Pega Community Site
3) WSO2.com
4) SwaggerHub.com
5) LinedIn.com





Popular posts from this blog

Connecting Claude to Pega Infinity 25.1.3 via MCP — Step-by-Step

Build Pega Applications with GitHub Copilot CLI, Pega Infinity AI Plugin & MCP — Branch-Based Agentic Authoring

itextpdf API to generate PDF doc from an image file using Pega PE