turmeric soa cloud mashups

20
Intalio – eBayOpenSource.org Cloud Mashup Webinar 29 June 2011

Upload: kingargyle

Post on 14-Jun-2015

1.054 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Turmeric SOA Cloud Mashups

Intalio – eBayOpenSource.orgCloud Mashup Webinar

29 June 2011

Page 2: Turmeric SOA Cloud Mashups

Presenters

Jose Alvarez MuguerzaCórdoba, Argentina

Senior Software Engineer @Intalio

Blog: http://itsecrets.wordpress.comGitHub: github.com/josealvarezmuguerza

José Alvarez Muguerza – Manuel Chinea / Cloud Mashup Webinar 06.29.2011

Manuel ChineaCaracas, VenezuelaSenior Software Engineer @Intalio

Blog: http://softwarediaries.wordpress.com/GitHub: github.com/mchinea

Page 3: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 4: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 5: Turmeric SOA Cloud Mashups

Context: SOA @eBay

● One of the first to expose APIs Services ● Support SOAP style as well as REST style● Learned a lot from feedback from their customers and

operational issues and evolved our technology over time

● Early adopters of SOA governance automation● Continuously improving their architecture

Page 6: Turmeric SOA Cloud Mashups

Context: Open Source

● Mission is to open source some of the best of breed technologies that were developed originally within eBay Inc. For the benefit of the community

● Under a liberal open source license.

● These projects are generic technology projects and several years of development effort has gone into them to mature them.

● Turmeric's turn

● Why Intalio?

Page 7: Turmeric SOA Cloud Mashups

Turmeric Platform

Page 8: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 9: Turmeric SOA Cloud Mashups

Turmeric Core

Framework servlet

ORNew

tomcat connector

Server Message Processor

In Pipeline

Reads

Request Disp

ServiceImplOut pipeline

MCtxIncoming request

Logging handler

Auth handler

Resp disp

Outgoing response

G11N

Global &

ServiceSpecific Config

files

1 2

3

45

6

7

89

Protocol specific(e.g SOAP) processors

Transport

(de)serialization happens here if not already done

SPF

Page 10: Turmeric SOA Cloud Mashups

Native (de)serialization

XML

Otherformats

JSON

NV

A singleInstance of Service Impl

Java objects

Passed to

pipeline

XMLNV

JSON

Directlydeserializedinto

SOA framework

others

Ser/Des

ermodule

Uniform interface

Native serialization

No intermediate formatAvoids extra conversion

Pluggable formats

Page 11: Turmeric SOA Cloud Mashups

Custom Data Formats - JAXB

(de)serializer factory

(Request/Response) Message

Cache (de)serialized objects

Calls from handlers (pipeline)Or from Req/Resp dispatchers

XML NV

JSON

BinaryXML

Stax parsersfor each data formatOther

s

(de)serialize(incoming)outgoing message

getSerializer/getDeserializer(based on the type)

XML NV

JSON

BinaryXML

Others

Pluggable (via config)Uniform JAXB based (de)serializers

1

2

3

4

5

Page 12: Turmeric SOA Cloud Mashups

Turmeric: Local Binding

Client Message Process

or

Out Pipeline

Reads

Request Disp

In pipeline

Logging

Auth

Resp disp

9

3

4 5

7

8

6G11N

ClientSpecific Config

fileTransport factory

Local transport

HTTP sync and async

SMTP or others ClientApp

SI FAPI

21

10

Protocol specific processors (e.g SOAP)

Pluggable transportsJAX-WScompliant

Page 13: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 14: Turmeric SOA Cloud Mashups

Workshop Bird-eye

TURMERIC

SIFAmz

eBay

SPF

ItemSearch

ItemSearch

Turmeric Eclipse Plugin + Turmeric SOA Perspective

Internet

Monitoring Policy Admin

Page 15: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 16: Turmeric SOA Cloud Mashups

HOW TO #1

Short HOW-TOCreate a Turmeric Service

Page 17: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TO

● QOS Demos: Rate Limiting, Policy Admin, Monitoring Console

● Summary - Q&A

Page 18: Turmeric SOA Cloud Mashups

HOW TO #2

Short HOW-TORateLimiting and Policy Administartion

Page 19: Turmeric SOA Cloud Mashups

Agenda

● Context – Turmeric, Ebay & Open Source

● Turmeric Core

● Workshop Bird eye

● Some shorts HOW-TOQOS Demos: Rate Limiting, Policy Admin, and Monitoring Console

● Summary - Q&A

Page 20: Turmeric SOA Cloud Mashups

Summary - Q&A

Call to Action

Project Home: https://www.ebayopensource.org/index.php/Turmeric/HomePage

Forum:https://www.ebayopensource.org/forum/

IRC:irc://irc.freenode.net Channels: #turmeric and #turmeric-dev