WSO2 Governance Registry and WSO2 API Manager Integration

22
WSO2 Governance Registry and WSO2 API Manager Integration Lalaji Sureshika Associate Technical Lead, WSO2 Danesh Kuruppu Software Engineer, WSO2

Transcript of WSO2 Governance Registry and WSO2 API Manager Integration

Page 1: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 Governance Registry and WSO2 API Manager Integration

Lalaji SureshikaAssociate Technical Lead, WSO2

Danesh KuruppuSoftware Engineer, WSO2

Page 2: WSO2 Governance Registry and WSO2 API Manager Integration

Outline

Presentation on:

o WSO2 Governance Registry and WSO2 APIM Integration overview

o Discuss about different integration patterns with/without feature installation.

o Discuss about dependencies across APIs and their visualization

o Discuss about subscription management

Demo on:

○ Installing the API manager publisher and store feature to the governance center

○ Creating web services and promoting them to APIs via registry lifecycles in the

governance center publisher

○ Consuming services and APIs from the governance center store

Q&A

Page 3: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 Governance Registry

WSO2 Governance Registry provides enterprises with end-to-end SOA governance. This enables IT professionals to streamline application development, testing and deployment processes.

This includes,o Store, manage and search any kind of enterprise asset, including services,

APIs, policies, projects or applications.o Secure the access to assets via a fine-grained permission modelo Notification supporto Lifecycle management with multiple lifecycle supporto Enterprise store and publisher with rich and enhanced user experience

http://wso2.com/products/governance-registry/

Page 5: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 API Manager

o A complete 100% open-source solution for designing and publishing APIs, creating and managing a developer community, and for scalably routing API traffic.

o It leverages proven, production-ready integration, security, and governance components from the WSO2 Enterprise Service Bus, WSO2 Identity Server, and WSO2 Governance Registry.

http://wso2.com/api-management/try-it/

Page 6: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 GReg + WSO2 API Manager Integration-External

https://docs.wso2.com/display/Governance510/Integrating+with+an+External+WSO2+API+Manager

Page 7: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 GReg + WSO2 API Manager Integration-Internal

Page 8: WSO2 Governance Registry and WSO2 API Manager Integration

WSO2 GReg + WSO2 API Manager Integration-Internal

https://docs.wso2.com/display/Governance510/Installing+WSO2+API+Manager+Features+in+WSO2+G-Reg

Page 9: WSO2 Governance Registry and WSO2 API Manager Integration

Why ? WSO2 GReg + WSO2 API Manager Integration-Internal

o One Stop Governance Center

--Govern all the assets[eg: APIs,services,wsdls,etc] from a central

Publisher

-- Explore all the assets from a central Store

o Leverage governance features for API asset

-- Visualize dependencies across APIs and other asset types

[eg:services,wsdls]

-- Ability to customize API life-cycle as it integrate with Registry life-cycle

concept

Page 10: WSO2 Governance Registry and WSO2 API Manager Integration

Why? WSO2 GReg + WSO2 API Manager Integration-Internal

o Leverage governance features for API asset -Ctd

-- Ability to plug multiple lifecycles for one API asset.

o Rich Web UI support with WSO2 Enterprise Store integration

-- Easy to customizations

-- Responsive UIs

Page 11: WSO2 Governance Registry and WSO2 API Manager Integration

APIM Feature Installation

o Add P2 Repository Location to the serverhttp://product-dist.wso2.

com/p2/carbon/releases/wilkes/

o Add API Publisher and API Store features to the GREG server.GREG 5.1.0 → API Publisher 2.0.1GREG 5.1.0 → API Store 2.0.1

https://docs.wso2.com/display/Governance510/Installing+WSO2+API+Manager+Features+in+WSO2+G-Reg

Page 12: WSO2 Governance Registry and WSO2 API Manager Integration

APIM Integration - Deployment Setup

o G-Reg 5.1.0 instance (with APIM 2.0.1 features) is used as Publisher and Store.

o APIM 1.9.1 instance is used as Gateway and Key Manager.

o APIM DB, User DB and Registry DB is shared across two instance.

https://docs.wso2.com/display/Governance510/Installing+WSO2+API+Manager+Features+in+WSO2+G-Reg

Page 13: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 01 - Publishing soap/rest service through LC executoro Change ServiceLifeCycle configuration and add ApiStore2Executor to

Publish event.o Create soap/rest service with environment endpoint and promote the LC to

Published.to.APIStoreo Created API can be shown in the publisher

Page 14: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 01 - Publishing soap/rest service through LC executor

Page 15: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 02 - Dependencies visualisationo Viewing dependencies across APIs, service endpoints and WSDLs/WADLs

in the publisher

Page 16: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 03 - Publishing APIs in Publisher

o Create APIs (manual, swagger, through soap/rest service) from publisher.

o Manage APIs and Published to API Store and Gateway.

o Consuming services and APIs from the governance center store

Page 17: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 04 - API Subscription Management

o Create new applications and add subscriptions

Page 18: WSO2 Governance Registry and WSO2 API Manager Integration

Demo 05 - API Testing

o Using API Console in API Store

o Using Rest Cliento Using curl command

Page 19: WSO2 Governance Registry and WSO2 API Manager Integration

Sample Use-case

Usecase:o There are multiple teams in the

organization. they have their own API runtimes

o Each team will have multiple environment specific deployments [QA,DEV] for APIM deployments

o There will be a central governance server to manage API development governance across all teams

o APIs create in central G-Reg server and publish them to the respective team depending on different criteria.

Page 20: WSO2 Governance Registry and WSO2 API Manager Integration

Future Improvements

o Integrate Statistics dashboard view

o Tenant sharing capability

o Integrate administrative UI [eg:for workflow approval process,theme

upload]

Page 21: WSO2 Governance Registry and WSO2 API Manager Integration

Questions?