The document introduces the new WSO2 Governance Centre, which provides a unified platform for governing APIs, services, and other assets. It includes key components like the Governance Store for discovering assets, the Governance Publisher for authoring assets, and the Governance Manager for administering tags and visibility. The platform also integrates WSO2's API management offerings and supports use cases like governing API gateways and enforcing runtime policies.
Introduction to the All New WSO2 Governance Centre
1. Introduc)on
to
the
All
New
WSO2
Governance
Centre
Sagara
Gunathunga
So:ware
Architect
WSO2
2. User
Centric
Experience
Store
Publisher
Manager
Admin
Console
REST/SOAP
APIs
Store
User
Publisher
Manager
Admin
Agent
3. Governance
Store
One-‐stop
store
for
all
your
governing
assets
including
APIs
(API
management
)
– Promote
your
asserts
– Easily
discover
assets
– Great
extensibility
– Build
in
support
for
Theming
and
customiza)ons
– Enterprise
scale
search
4. Governance
Store
• Asset
categoriza)on
and
tagging.
• No)fica)on
support
• Bookmarkable
results
• Social
Features
5. Governance
Store
• Asset
comparison
support
• Customiza)on
and
extensions
are
based
on
JS.
• Possible
extension
– Payment
G/W
integra)on
– Subscrip)on
management
– OAuth2
key
genera)on.
6. Governance
Publisher
• Designed
to
simplify
assets
authoring
• Support
for
User
defined
types.
– Define
type
defini)ons
as
XML
descriptor,
no
compiling
no
packaging
etc.
7. Governance
Publisher
• Mul)ple
Lifecycle
support
– Lifecycle
based
asset
management.
– In-‐built
and
custom
Lifecycle
Executers
• No)fica)on
– UI,
E-‐Mail,
REST,
Custom
8. Governance
Publisher
• User
friendly
Assert
permission
model.
• Associa)on
E.
g
-‐
Associa)ng
WS-‐Policy
with
a
SOAP
service,
will
apply
policy
in
the
G/W
9. Governance
Publisher
• Asset
comparison,
Dependency
graph
• Auto
discovery
crea)on
of
ar)facts
– One-‐)me
and
periodically
10. Governance
Manager
• Tag
management
• Asset
ordering
and
visibility
control
• Customize
front-‐page
content
11. Governance
Admin
Console
• Server
administra)on
• Add/remove/edit
asset
types
• Add/Remove/edit
Lifecycle
defini)ons.
• User
and
role
management
• Registry
func)onali)es
12. Use
case
:
Govern
API/Service
Gateways
Publisher
REST
API
Discovery
Agent
REST
Service
Manual
crea)on
HTTP/JSON
Discovery
API
API/Service
Gateway
Governance
Registry
Crea)on/deploy
Lifecycle
Removal/undeploy
13. Use
case
:
Govern
API/Service
Gateways
Publisher
REST
API
Discovery
Agent
REST
Service
Manual
crea)on
HTTP/JSON
Discovery
API
API/Service
Gateway
Governance
Registry
Build
/
deploy
Lifecycle
Removal/undeploy
14. Use
case
-‐
Enforce
run)me
policies
Service
Sec
Policy
Associa)onHandler
Governance
Registry
Service
API/Service
Gateway
Enforce
Security
Policy
15. Synergy
of
G-‐Reg
and
API-‐Management
Unifica)on
of
WSO2
API-‐Management
offering
as
a
part
of
WSO2
Governance
Registry
16. Governance
Centre
and
API-‐Management
API
API
API
development
Lifecycle
API
Run)me
Lifecycle
Governance
Publisher
Governance
Store
API-‐M
Key
Manager/
IS
API-‐M
Gateway
17. Governance
Centre
and
API-‐Management
API
API
API
development
Lifecycle
API
Run)me
Lifecycle
Publisher
Store
API-‐M
Key
Manager/
IS
API-‐M
Gateway
Service
Service
Lifecycle
18. Unified
Governance
WSO2
AF
WSO2
DevS
WSO2
AS
WSO2
MSS
WSO2
API-‐M
WSO2
ESB
WSO2
BPS
WSO2
APP-‐
M
WSO2
G-‐Reg
20. Service
Discovery
• Straighorward
DiscoveryAgents
instead
of
legacy
UDDI,
WS-‐Discovery
• Service
Discovery
need
to
be
redefined
to
cater
Microservices
requirements
• Supported
tow
modes.
– Push
–
Using
REST
or
SOAP
API
– Pull
–
Using
DiscoveryAgent
• User-‐driven
one
)me
discovery
• Run
periodically
21. Service
Discovery
–
Pull
Mode
Discovery
Agent-‐X
Server
–X
(
ESB,
AS,
GWs
etc.)
Pull
meta-‐data
REST
SOAP
X
22. Service
Discovery
–
Push
Mode
Server
–X
(
ESB,
AS,
GWs
etc.)
Push
service
meta-‐data
REST
SOAP
X
REST
API
23. Service
Discovery
for
Microservices
Microsservice
• WSO2
MSS
• Dropwizard
• SpringBoot
Add
REST
Service
REST
Service
X
RESTAPI
During
Service
start-‐up
Add
Endpoint
Delete
Endpoint
During
Service
shutdown
EP
EP
EP
Query
for
Service
Endpoints
24. Microservices
Service
Discovery
Pa`erns
• Service
Discovery
pa`erns
are
supported
through
REST
API.
– Client-‐side
Service
Discovery
• Require
a
Registry
aware
HTTP
or
JAX-‐RS
client.
– Server-‐Side
Service
Discovery
• WSO2
Gateway
can
be
used.
25. Microservices
Service
Discovery
Pa`erns
• Self
Registra)on
• Self
registra)on
through
REST
API
during
the
start-‐up
• 3rd
Party
Registra)on
• Use
3rd
party
to
tool
to
register
the
service
with
registry
through
REST
API.
• Possible
to
run
DiscoveryAgent
deployed
on
Registry
in
periodic
manner
to
detect
services.
26. Store
and
publisher
within
Single
Run)me
JVM
Store
Publisher
Governance
Registry
27. Distributed
Store
and
publisher
JVM
Store
Publisher
Governance
Registry
JVM
Governance
Registry
29. Par)ally
distributed
G-‐Reg
+
API-‐M
JVM
Store
Governance
Registry
Publisher
JVM
JVM
Gateway
Key
Manager
API
Manager
API
Manager
30. Fully
distributed
G-‐Reg
+
API-‐M
JVM
Store
Governance
Registry
Publisher
JVM
JVM
Gateway
Key
Manager
API
Manager
API
Manager
JVM
Governance
Registry
31. Product
Roadmap
• Unified
Governance
• Manger
applica)on
for
Governance
Center
• Sta)s)cs
and
monitoring
dashboards
– E.g.
• Policy
viola)on
• Number
of
subscribers
• Mul)-‐level
categoriza)on
• Executors
for
known
integra)on
use
cases
– E.g
• Jenkins
• Discovery
agents
for
WSO2
and
non-‐WSO2
products.
• Registry
redesign
based
on
C5