Why SOA Governance

94
SOA Governance Sumedha Rubasinghe ([email protected])

Transcript of Why SOA Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 1/94

SOA Governance

Sumedha Rubasinghe([email protected])

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 2/94

2

Agenda

What & Why?

When & How?

WSO2 Governance Registry Important Concepts

Best Practises

Patterns in SOA Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 3/94

3

Hi...Chanaka here.I am an Architect.

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 4/94

4

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 5/94

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 6/94

6

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 7/94

7

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 8/94

8

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 9/94

9

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 10/94

10

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 11/94

11

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 12/94

12

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 13/94

13

What a mess ..... :-(

How can I make this better?

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 14/94

14

Solution

SOA Governance can solve this problem

Governance applied to 4 phases

 –  Architectural Governance

 –  Design time Governance

 –  Operational Governance

 –  Organisational/Political Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 15/94

15

Ok.. show me how..

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 16/94

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 17/94

17

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 18/94

18

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 19/94

19

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 20/94

20

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 21/94

21

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 22/94

22

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 23/94

23

Design Time Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 24/94

24

hmm....ok..now we have servicesin production.What's next?

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 25/94

25

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 26/94

26

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 27/94

27

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 28/94

28

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 29/94

29

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 30/94

30

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 31/94

31

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 32/94

32

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 33/94

33

Operational Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 34/94

34

My organisation followsan adhoc methodology...

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 35/94

35

Organisational/Political Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 36/94

36

Show me how the scenario

changes after followingall these..

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 37/94

37

SOA Governance applied...

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 38/94

38

Hmm.. looks lot cleaner..

How to identify if I have

Problems in my SOAGovernance framework?

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 39/94

39

Quality of execution

Bad one

 –  No planning and coordination of service projects

 –  Single-use services and point-to-point

connections –  Change Management issues

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 40/94

40

Quality of execution

Good one

 –  Well scoped, recognisable business benefits

 –  Sharing of services & data types

 –  Ability to recognise issues early

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 41/94

41

Looks like Registry/Repository

is a key concept..

R i /R i

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 42/94

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

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 43/94

43

So.. what does WSO2 hasto offer in this space?

WSO2 G R i t

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 44/94

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)

WSO2 G R i t

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 45/94

45

WSO2 Governance Registry

Features

 – Simple, lightweight registry with 100% RESTful interfacepowered by Atom and AtomPub

 – Hierarchical authentication and authorization support

 – Dependency management, Lifecycles and dashboard

 – Highly extensible via media type specific handles andmore

 – Social features including tagging and rating of all

resources

 – 100% integrated to all other products

 – Local and remote access

WSO2 G R gi t

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 46/94

46

WSO2 Governance Registry

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 47/94

47

WSO2 Governance Registry

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 48/94

48

WSO2 Governance Registry

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 49/94

49

Looks like service is a key

component in SOA...

Service in SOA

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 50/94

50

Service in SOA

Heart of SOA Life cycle

 –  Designed

 –  Developed

 –  QA passed

 –  In Production

Metadata

 –  WSDL

 –  Schema

 –  Policy

Publish & Discovery

Service in SOA

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 51/94

51

Service in SOA

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 52/94

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 53/94

53

Core Concepts

Versioning

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 54/94

54

Core Concepts

Publish & Discovery

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 55/94

55

Core Concepts

Associations & Dependencies – Relationship between resources

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 56/94

56

Core Concepts

Federation

R1 R2

R

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 57/94

57

Core Concepts

Control (Permissions)

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 58/94

58

Core Concepts

Control (Life cycles)

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 59/94

59

Core Concepts

Control (Life cycles)

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 60/94

60

Core Concepts

Control –  Validations (Built-in: WS-I, WSDL)

 –  Check lists

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 61/94

61

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 62/94

62

Core Concepts

Monitoring (Notifications)

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 63/94

63

p

Monitoring (Dashboard)

Important Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 64/94

64

p p

Monitoring (Dashboard)

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 65/94

65

p

Auditing

Core Concepts

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 66/94

66

p

Extensibility – Most important of all..

 – Governance cannot be bought, you need tocustomise it..

 – BAM (Business Activity Monitoring)

 – BI (Business Intelligence) gathering

 – CEP (Complex Event Processing)

I want to introduce SOA Governance

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 67/94

67

I want to introduce SOA Governanceto my organisation. Give me some best

practises..

Best Practises

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 68/94

68

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

If I WSO2 G R i

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 69/94

69

If I use WSO2 Governance Registry,what are the recommended deploymentArchitectures? ..

Deployment Architecture 1

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 70/94

70

Deployment Architecture 2

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 71/94

71

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 72/94

72

Are there patterns associated with

SOA Governance?

Patterns – Compatible Change

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 73/94

73

• Problem - Changing an already-publishedservice contract can impact and invalidateexisting consumer programs.

Patterns – Compatible Change

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 74/94

74

Patterns – Compatible Change

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 75/94

75

Pattern – Version Identification

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 76/94

76

Problem - When an already-published servicecontract is changed, unaware consumers willmiss the opportunity to leverage the change ormay be negatively impacted by the change.

Pattern – Version Identification

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 77/94

77

Pattern – Version Identification

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 78/94

78

Pattern – Proxy Capability

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 79/94

79

Problem - How can a service subject todecomposition continue to support consumersaffected by the decomposition?

Pattern – Proxy Capability

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 80/94

80

Pattern – Proxy Capability

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 81/94

81

Pattern – Distributed Capability

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 82/94

82

Problem - How can a service preserve itsfunctional context while also fulfilling specialcapability processing requirements?

Pattern – Distributed Capability

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 83/94

83

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 84/94

Pattern – Termination Notification

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 85/94

85

Problem - How can the scheduled expiry of aservice contract be communicated toconsumer programs?

Pattern – Termination Notification

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 86/94

86

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 87/94

How do I get started?

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 88/94

88

Getting started with WSO2Governance Registry

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 89/94

89

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

Help... I messed it up

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 90/94

90

How to get help?

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 91/94

91

Oxygen Tank for Web Service Developers

 – wso2.org

Online forum

 – http://wso2.org/forum/351

Mailing List – [email protected]

Commercial Support (if required)

 – Training

 – Consultancy

 – Custom Development

 – Production Support

Summary

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 92/94

92

References

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 93/94

93

http://soa.sys-con.com/node/175376/print (SOAGovernance Best Practices – Architectural,Organizational, and SDLC Implications)

http://www.informit.com/articles/printerfriendly.as

(SOA Design Patterns: Service GovernancePatterns)

8/8/2019 Why SOA Governance

http://slidepdf.com/reader/full/why-soa-governance 94/94

94

Thank you