際際滷

際際滷Share a Scribd company logo
On the Model-driven Synthesis of
Adaptable Choreographies
Marco Autili,Amleto Di Salle, Francesco Gallo, Claudio
Pompilio, Massimo Tivoli
University of LAquila, Italy
Claudio Pompilio
Ph.D. Student in Computer Science
University of LAquila
Email: claudio.pompilio@graduate.univaq.it
損Title: Automated Synthesis of Dynamic and Secured
Choreographies for the Future Internet
損Follow up FP7 EU project CHOReOS
損Period: January 2015 - January 2018
損Web site: http://www.chorevolution.eu
2
Outline
損Setting the context
損Approach
損Approach at work
損Conclusions and future works
3
4
Setting the context
Service choreographies
損Choreography (fully distributed)
損Global decentralized view from a multi-participant
perspective (without a central controller)
5
BPMN2 choreography diagram
6
Task in BPMN2
- atomic activity
- two participant roles (one is initiating)
- XML Schema used internally, e.g.,
for discovery purposes
Parallel flow
- Diverging Parallel Gateway
- Converging Parallel Gateway
Alternative branches
- Diverging Exclusive Gateway
- Converging Exclusive Gateway
Choreography realizability enforcement
Automatic realizability enforcement:
given a choreography specification and a set of existing
services to be reused, externally coordinate and adpat
their interaction so to fulfill the collaboration
prescribed by the choreography specification, in a fully
distributed way
7
CHOReVOLUTION synthesis process
損 Set of code generation phases
損 INPUT: choreography specification + set of
services as possible candidates to play the
choreogrpahy roles
損 OUTPUT: a set of software entities interposed
among the services according to a predefined
architectural style
 Coordination Delegates (CDs):
coordination entities that guarantee the
collaboration specified by the choreogrpahy
specification
 Adapters (As): solve possible protocol
mismatches between services and choreography
roles
8
9
Approach
Approach - 1
10
Adapter Model [1]
ChoreographyDiagram
Service
Description
Gap
represented
by
[1]  Marco Autili,Amleto Di Salle, Francesco Gallo, Claudio Pompilio and Massimo Tivoli. Model-driven adaptation of service choreographies. SAC 2018.
M2C
transformation
Approach - 2
11
Adapter Model
ChoreographyDiagram Service
Description
Gap
represented
by
Adapter
Component
Model
M2M transformation
Adapter
Adapter component metamodel
12
Adapter component transformation
損Input: Adapter model
損Output: Adapter component model
損Main Steps:
 parse the adapter model to detect the required adaptation
scenario
 define the adapter channels as a chain of adapter components
implementing EIPs
13
Adaptation scenarios - 1
損Adapters are connected with the Coordination
Delegates (CDs)
損Adapter mediates two kinds of interactions: CD-to-
Service and Service-to-CD
損Adaptation scenarios symmetric according to the
mediated interaction
損Channel labelled with an EIP-based noun
indicate the main EIP applied
14
Adaptation scenarios - 2
損one-to-many mapping
15
Adaptation scenarios - 3
損many-to-many mapping with reorder
16
Adaptation scenarios - 4
損many-to-many mapping with conversion
17
Adaptation scenarios - 5
損many-to-one mapping
18
EIP-based channels - 1
19
- Splitter-based channel
- Aggregator-based channel
EIP-based channels - 2
20
- Message Filter-based channel
- Resequencer-based channel
- Message Translator-based channel
21
Approach at work
Smart Mobility and Tourism choreography
22
Approach at work - 1
23
Approach at work - 2
損Adapter model:
Request messages:
- Choreography message parkingRequest mapped to the services
messages getParkingRequest and getParkingDirectionRequest
- Response messages:
- Service messages getParkingResponse and
getParkingDirectionResponse mapped to the choreography
message parkingResponse
損Adaptation scenario:
- splitter-based inbound channel
- aggregator-based outbound channel
24
Approach at work - 2
25
- Inbound channel
Content Filter
SplitterMessage
Translator
getParkingRequest
getParkingDirectionsRequest
parkingRequest
Approach at work - 2
26
- Outbound channel
Message Filter Content Filter Aggregator Message
Translator parkingResponse
getParkingDirectionResponse
getParkingResponse
Approach at work - 3
27
28
Conclusions and future works
Conclusions and future works
損Model-driven approach that combines EIPs as adaptation
primitives to achieve choreography adaptation
損Approach at work in the Smart Mobility and Tourism domain
損Extend the supported implementation technologies
損Automatically indentify the protocol mismatches to derive the
Adapter model
 exploit a modified version of the Strawberry tool [1]
 exploit ontological information [2]
29
[1] - Antonia Bertolino,Paola Inverardi,Patrizio Pelliccione,and MassimoTivoli.Automatic Synthesis of Behavior Protocols for Composable Web-services.
ESEC/FSE 2009.
[2] - Paola Inverardi and Massimo Tivoli.Automatic Synthesis of Modular Connectors via Composition of Protocol Mediation Patterns. ICSE 2013.
Thank You!
Any questions?
Claudio Pompilio
Ph.D. Student in Computer Science
University of LAquila
Email: claudio.pompilio@graduate.univaq.it

More Related Content

Similar to On the Model-driven Synthesis of Adaptable Choreographies [ModComp@MODELS 2018] (20)

PDF
CHOReVOLUTION Studio: a framework for Realizing Choreography-based Distribute...
OW2
PDF
Presentation of CHOReVOLUTION Studio, EclipseCon Europe 2017
CHOReVOLUTION
PDF
CHOReVOLUTION Project to Facilitate Cross-Organization Service Integration, ...
CHOReVOLUTION
PDF
CHOReVOLUTION Technical introduction
CHOReVOLUTION
PDF
CHOReVOLUTION Studio POSS Demo
CHOReVOLUTION
PDF
CHOReVOLUTION Studio Demo at EclipseCon Europe 2016
CHOReVOLUTION
PDF
CHOReOS European Project presented at OW2Con2011 in Paris
choreos
PDF
CHOReOS Large Scale Choreographies, OW2con11, Nov 24-25, 2011, Paris
OW2
PDF
CHOReVOLUTION WP2 Enablers
CHOReVOLUTION
PDF
CHOReVOLUTION Platform at Open Cloud Forum Paris 2017
CHOReVOLUTION
PDF
CHOReOS presented @CeBIT 2013, Hannover, Germany
choreos
PDF
CHOReOS Project Presentation at Solutions linux 2013
choreos
PDF
CHOReOS presented at WiNNOVATE Conference April 2012
choreos
PDF
CHOReVOLUTION project to facilitate cross-organization service integration
OW2
PPTX
ME2011 presentation by Cortes Cornax
Method Engineering 2011 - IFIP WG.8.1 Working Conference
PDF
CHOReOS European project presented to ANIKETOS project
choreos
PDF
CHOReVOLUTION: a dynamic platform ready to compose, run and scale IoT IoS app...
OW2
PPT
Webx 2010
steccami
PDF
CHOReOS
choreos
PDF
OW2 A presentation pierre_chatel
choreos
CHOReVOLUTION Studio: a framework for Realizing Choreography-based Distribute...
OW2
Presentation of CHOReVOLUTION Studio, EclipseCon Europe 2017
CHOReVOLUTION
CHOReVOLUTION Project to Facilitate Cross-Organization Service Integration, ...
CHOReVOLUTION
CHOReVOLUTION Technical introduction
CHOReVOLUTION
CHOReVOLUTION Studio POSS Demo
CHOReVOLUTION
CHOReVOLUTION Studio Demo at EclipseCon Europe 2016
CHOReVOLUTION
CHOReOS European Project presented at OW2Con2011 in Paris
choreos
CHOReOS Large Scale Choreographies, OW2con11, Nov 24-25, 2011, Paris
OW2
CHOReVOLUTION WP2 Enablers
CHOReVOLUTION
CHOReVOLUTION Platform at Open Cloud Forum Paris 2017
CHOReVOLUTION
CHOReOS presented @CeBIT 2013, Hannover, Germany
choreos
CHOReOS Project Presentation at Solutions linux 2013
choreos
CHOReOS presented at WiNNOVATE Conference April 2012
choreos
CHOReVOLUTION project to facilitate cross-organization service integration
OW2
ME2011 presentation by Cortes Cornax
Method Engineering 2011 - IFIP WG.8.1 Working Conference
CHOReOS European project presented to ANIKETOS project
choreos
CHOReVOLUTION: a dynamic platform ready to compose, run and scale IoT IoS app...
OW2
Webx 2010
steccami
CHOReOS
choreos
OW2 A presentation pierre_chatel
choreos

Recently uploaded (20)

PDF
We are Living in a Dangerous Multilingual World!
Editions La Dondaine
PPTX
MEDICINAL CHEMISTRY PROSPECTIVES IN DESIGN OF EGFR INHIBITORS.pptx
40RevathiP
PDF
The First Detection of Molecular Activity in the Largest Known Oort Cloud Com...
S辿rgio Sacani
PPTX
History of Nursing and Nursing As A Profession UNIT-3.pptx
madhusrinivas68
PPTX
Comparative Testing of 2D Stroke Gesture Recognizers in Multiple Contexts of Use
Jean Vanderdonckt
PDF
Enzyme Kinetics_Lecture 8.5.2025 Enzymology.pdf
ayeshaalibukhari125
PDF
Human-to-Robot Handovers track - RGMC - ICRA 2025
Alessio Xompero
DOCX
Transportation in plants and animals.docx
bhatbashir421
PDF
Herbal Excipients: Natural Colorants & Perfumery Agents
Seacom Skills University
PDF
Evidence for a sub-Jovian planet in the young TWA 7 disk
S辿rgio Sacani
PDF
An Analysis of The Pearl by John Steinbeck
BillyDarmawan3
DOCX
Accomplishment Report on YES- O SY 2025 2026.docx
WilsonVillamater
PDF
Investigatory_project Topic:-effect of electrolysis in solar desalination .pdf
shubham997ku
PDF
Disk Evolution Study Through Imaging of Nearby Young Stars (DESTINYS): Eviden...
S辿rgio Sacani
PPTX
Indian Podophyllum [Autosaved].pptx done
TahirChowdhary1
PPTX
FACTORS PREDISPOSING TO MICROBIAL PATHOGENICITY.pptx
Remya M S
PDF
The scientific heritage No 162 (162) (2025)
The scientific heritage
PPTX
Single-Cell Multi-Omics in Neurodegeneration p1.pptx
KanakChaudhary10
PPTX
Liquid Biopsy Biomarkers for early Diagnosis
KanakChaudhary10
PDF
Driving down costs for fermentation: Recommendations from techno-economic data
The Good Food Institute
We are Living in a Dangerous Multilingual World!
Editions La Dondaine
MEDICINAL CHEMISTRY PROSPECTIVES IN DESIGN OF EGFR INHIBITORS.pptx
40RevathiP
The First Detection of Molecular Activity in the Largest Known Oort Cloud Com...
S辿rgio Sacani
History of Nursing and Nursing As A Profession UNIT-3.pptx
madhusrinivas68
Comparative Testing of 2D Stroke Gesture Recognizers in Multiple Contexts of Use
Jean Vanderdonckt
Enzyme Kinetics_Lecture 8.5.2025 Enzymology.pdf
ayeshaalibukhari125
Human-to-Robot Handovers track - RGMC - ICRA 2025
Alessio Xompero
Transportation in plants and animals.docx
bhatbashir421
Herbal Excipients: Natural Colorants & Perfumery Agents
Seacom Skills University
Evidence for a sub-Jovian planet in the young TWA 7 disk
S辿rgio Sacani
An Analysis of The Pearl by John Steinbeck
BillyDarmawan3
Accomplishment Report on YES- O SY 2025 2026.docx
WilsonVillamater
Investigatory_project Topic:-effect of electrolysis in solar desalination .pdf
shubham997ku
Disk Evolution Study Through Imaging of Nearby Young Stars (DESTINYS): Eviden...
S辿rgio Sacani
Indian Podophyllum [Autosaved].pptx done
TahirChowdhary1
FACTORS PREDISPOSING TO MICROBIAL PATHOGENICITY.pptx
Remya M S
The scientific heritage No 162 (162) (2025)
The scientific heritage
Single-Cell Multi-Omics in Neurodegeneration p1.pptx
KanakChaudhary10
Liquid Biopsy Biomarkers for early Diagnosis
KanakChaudhary10
Driving down costs for fermentation: Recommendations from techno-economic data
The Good Food Institute
Ad

On the Model-driven Synthesis of Adaptable Choreographies [ModComp@MODELS 2018]

  • 1. On the Model-driven Synthesis of Adaptable Choreographies Marco Autili,Amleto Di Salle, Francesco Gallo, Claudio Pompilio, Massimo Tivoli University of LAquila, Italy Claudio Pompilio Ph.D. Student in Computer Science University of LAquila Email: claudio.pompilio@graduate.univaq.it
  • 2. 損Title: Automated Synthesis of Dynamic and Secured Choreographies for the Future Internet 損Follow up FP7 EU project CHOReOS 損Period: January 2015 - January 2018 損Web site: http://www.chorevolution.eu 2
  • 3. Outline 損Setting the context 損Approach 損Approach at work 損Conclusions and future works 3
  • 5. Service choreographies 損Choreography (fully distributed) 損Global decentralized view from a multi-participant perspective (without a central controller) 5
  • 6. BPMN2 choreography diagram 6 Task in BPMN2 - atomic activity - two participant roles (one is initiating) - XML Schema used internally, e.g., for discovery purposes Parallel flow - Diverging Parallel Gateway - Converging Parallel Gateway Alternative branches - Diverging Exclusive Gateway - Converging Exclusive Gateway
  • 7. Choreography realizability enforcement Automatic realizability enforcement: given a choreography specification and a set of existing services to be reused, externally coordinate and adpat their interaction so to fulfill the collaboration prescribed by the choreography specification, in a fully distributed way 7
  • 8. CHOReVOLUTION synthesis process 損 Set of code generation phases 損 INPUT: choreography specification + set of services as possible candidates to play the choreogrpahy roles 損 OUTPUT: a set of software entities interposed among the services according to a predefined architectural style Coordination Delegates (CDs): coordination entities that guarantee the collaboration specified by the choreogrpahy specification Adapters (As): solve possible protocol mismatches between services and choreography roles 8
  • 10. Approach - 1 10 Adapter Model [1] ChoreographyDiagram Service Description Gap represented by [1] Marco Autili,Amleto Di Salle, Francesco Gallo, Claudio Pompilio and Massimo Tivoli. Model-driven adaptation of service choreographies. SAC 2018.
  • 11. M2C transformation Approach - 2 11 Adapter Model ChoreographyDiagram Service Description Gap represented by Adapter Component Model M2M transformation Adapter
  • 13. Adapter component transformation 損Input: Adapter model 損Output: Adapter component model 損Main Steps: parse the adapter model to detect the required adaptation scenario define the adapter channels as a chain of adapter components implementing EIPs 13
  • 14. Adaptation scenarios - 1 損Adapters are connected with the Coordination Delegates (CDs) 損Adapter mediates two kinds of interactions: CD-to- Service and Service-to-CD 損Adaptation scenarios symmetric according to the mediated interaction 損Channel labelled with an EIP-based noun indicate the main EIP applied 14
  • 15. Adaptation scenarios - 2 損one-to-many mapping 15
  • 16. Adaptation scenarios - 3 損many-to-many mapping with reorder 16
  • 17. Adaptation scenarios - 4 損many-to-many mapping with conversion 17
  • 18. Adaptation scenarios - 5 損many-to-one mapping 18
  • 19. EIP-based channels - 1 19 - Splitter-based channel - Aggregator-based channel
  • 20. EIP-based channels - 2 20 - Message Filter-based channel - Resequencer-based channel - Message Translator-based channel
  • 22. Smart Mobility and Tourism choreography 22
  • 24. Approach at work - 2 損Adapter model: Request messages: - Choreography message parkingRequest mapped to the services messages getParkingRequest and getParkingDirectionRequest - Response messages: - Service messages getParkingResponse and getParkingDirectionResponse mapped to the choreography message parkingResponse 損Adaptation scenario: - splitter-based inbound channel - aggregator-based outbound channel 24
  • 25. Approach at work - 2 25 - Inbound channel Content Filter SplitterMessage Translator getParkingRequest getParkingDirectionsRequest parkingRequest
  • 26. Approach at work - 2 26 - Outbound channel Message Filter Content Filter Aggregator Message Translator parkingResponse getParkingDirectionResponse getParkingResponse
  • 29. Conclusions and future works 損Model-driven approach that combines EIPs as adaptation primitives to achieve choreography adaptation 損Approach at work in the Smart Mobility and Tourism domain 損Extend the supported implementation technologies 損Automatically indentify the protocol mismatches to derive the Adapter model exploit a modified version of the Strawberry tool [1] exploit ontological information [2] 29 [1] - Antonia Bertolino,Paola Inverardi,Patrizio Pelliccione,and MassimoTivoli.Automatic Synthesis of Behavior Protocols for Composable Web-services. ESEC/FSE 2009. [2] - Paola Inverardi and Massimo Tivoli.Automatic Synthesis of Modular Connectors via Composition of Protocol Mediation Patterns. ICSE 2013.
  • 30. Thank You! Any questions? Claudio Pompilio Ph.D. Student in Computer Science University of LAquila Email: claudio.pompilio@graduate.univaq.it