SOA Governance
Sumedha Rubasinghe
(sumedha@wso2.com)
2
Agenda

What & Why?

When & How?

WSO2 Governance Registry

Important Concepts

Best Practises

Patterns in SOA Governance
3
Hi...Chanaka here.
I am an Architect.
4
5
6
7
8
9
10
11
12
13
What a mess ..... :-(
How can I make this better?
14
Solution

SOA Governance can solve this problem

Governance applied to 4 phases
– Architectural Governance
– Design time Governance
– Operational Governance
– Organisational/Political Governance
15
Ok.. show me how..
16
Architectural Governance
17
Design Time Governance
18
Design Time Governance
19
Design Time Governance
20
Design Time Governance
21
Design Time Governance
22
Design Time Governance
23
Design Time Governance
24
hmm....ok..
now we have services
in production.
What's next?
25
Operational Governance
26
Operational Governance
27
Operational Governance
28
Operational Governance
29
Operational Governance
30
Operational Governance
31
Operational Governance
32
Operational Governance
33
Operational Governance
34
My organisation follows
an adhoc methodology...
35
Organisational/Political Governance
36
Show me how the scenario
changes after following
all these..
37
SOA Governance applied...
38
Hmm.. looks lot cleaner..
How to identify if I have
Problems in my SOA
Governance framework?
39
Quality of execution

Bad one
– No planning and coordination of service projects
– Single-use services and point-to-point
connections
– Change Management issues
40
Quality of execution

Good one
– Well scoped, recognisable business benefits
– Sharing of services & data types
– Ability to recognise issues early
41
Looks like Registry/Repository
is a key concept..
42
Registry/Repository
 Service configurations
– wsdl

Server configurations
– jboss.xml
– server.xml

Deployable artifacts
– jar,aar,ear,war,etc..

Meta data related to implementations
– hibernate-config.xml
– jaxb-mappings.xml
43
So.. what does WSO2 has
to offer in this space?
44
WSO2 Governance Registry

Lightweight registry & repository

Governance framework for building customer
specific governance features

Open Source - Apache License, Version 2.0

Commercial support available (if needed)
45
WSO2 Governance Registry

Features
– Simple, lightweight registry with 100% RESTful interface
powered by Atom and AtomPub
– Hierarchical authentication and authorization support
– Dependency management, Lifecycles and dashboard
– Highly extensible via media type specific handles and
more
– Social features including tagging and rating of all
resources
– 100% integrated to all other products
– Local and remote access
46
WSO2 Governance Registry
47
48
WSO2 Governance Registry
49
Looks like service is a key
component in SOA...
50
Service in SOA
 Heart of SOA
 Life cycle
– Designed
– Developed
– QA passed
– In Production
 Metadata
– WSDL
– Schema
– Policy
 Publish & Discovery
51
Service in SOA
52
If I am evaluating a SOA Governance
Product, what are the
keys features/core concepts to
look for?
53
Core Concepts

Versioning
54
Core Concepts

Publish & Discovery
55
Core Concepts

Associations & Dependencies
– Relationship between resources
56
Core Concepts

Federation
R1 R2
R
57
Core Concepts

Control (Permissions)
58
Core Concepts

Control (Life cycles)
59
Core Concepts

Control (Life cycles)
60
Core Concepts

Control
– Validations (Built-in: WS-I, WSDL)
– Check lists
61
62
Core Concepts

Monitoring (Notifications)
63
Core Concepts

Monitoring (Dashboard)
64
Important Concepts

Monitoring (Dashboard)
65
Core Concepts

Auditing
66
Core Concepts

Extensibility
– Most important of all..
– Governance cannot be bought, you need to
customise it..
– BAM (Business Activity Monitoring)
– BI (Business Intelligence) gathering
– CEP (Complex Event Processing)
67
I want to introduce SOA Governance
to my organisation. Give me some best
practises..
68
Best Practises

Establish early

Organisational acceptance for Governance

Communicate relentlessly

Automate

Govern the entire service lifecycle

Anticipate mixed technologies

Monitory,access & report business value

Consider cross organisational boundaries
69
If I use WSO2 Governance Registry,
what are the recommended deployment
Architectures? ..
70
Deployment Architecture 1
71
Deployment Architecture 2
72
Are there patterns associated with
SOA Governance?
73
Patterns – Compatible Change
• Problem - Changing an already-published
service contract can impact and invalidate
existing consumer programs.
74
Patterns – Compatible Change
75
Patterns – Compatible Change
76
Pattern – Version Identification

Problem - When an already-published service
contract is changed, unaware consumers will
miss the opportunity to leverage the change or
may be negatively impacted by the change.
77
Pattern – Version Identification
78
Pattern – Version Identification
79
Pattern – Proxy Capability

Problem - How can a service subject to
decomposition continue to support consumers
affected by the decomposition?
80
Pattern – Proxy Capability
81
Pattern – Proxy Capability
82
Pattern – Distributed Capability

Problem - How can a service preserve its
functional context while also fulfilling special
capability processing requirements?
83
Pattern – Distributed Capability
84
Pattern – Distributed Capability
85
Pattern – Termination Notification

Problem - How can the scheduled expiry of a
service contract be communicated to
consumer programs?
86
Pattern – Termination Notification
87
Pattern – Termination Notification
88
How do I get started?
89
Getting started with WSO2
Governance Registry

Download binary distribution from
– http://wso2.org/downloads/governance-registry

Latest is v3.0.0

Unzip

Run bin/wso2server.sh (on Unix) or
bin/wso2server.bat (on Windows)

Management console
– https://localhost:9443/carbon
– admin/admin
90
Help... I messed it up
91
How to get help?
 Oxygen Tank for Web Service Developers
– wso2.org
 Online forum
– http://wso2.org/forum/351
 Mailing List
– carbon-user@wso2.org
 Commercial Support (if required)
– Training
– Consultancy
– Custom Development
– Production Support
92
Summary
93
References

http://soa.sys-con.com/node/175376/print (SOA
Governance Best Practices – Architectural,
Organizational, and SDLC Implications)

http://www.informit.com/articles/printerfriendly.aspx?p
(SOA Design Patterns: Service Governance
Patterns)
94
Thank you

SOA Governance