SlideShare 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 L’Aquila, Italy
Claudio Pompilio
Ph.D. Student in Computer Science
University of L’Aquila
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 L’Aquila
Email: claudio.pompilio@graduate.univaq.it

More Related Content

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

Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]
Claudio Pompilio
 
Help the Genetic Algorithm to Minimize the Urban Traffic on Intersections
Help the Genetic Algorithm to Minimize the Urban Traffic on IntersectionsHelp the Genetic Algorithm to Minimize the Urban Traffic on Intersections
Help the Genetic Algorithm to Minimize the Urban Traffic on Intersections
IJORCS
 
Simulation analysis Halmstad University 2013_project
Simulation analysis Halmstad University 2013_projectSimulation analysis Halmstad University 2013_project
Simulation analysis Halmstad University 2013_project
Alexandru Gutu
 
Urban Traffic Estimation & Optimization: An Overview
Urban Traffic Estimation & Optimization: An OverviewUrban Traffic Estimation & Optimization: An Overview
Urban Traffic Estimation & Optimization: An Overview
Rakedet
 
Equal Cost Multipath Routing in FOKUS OpenSDNCore
Equal Cost Multipath Routing in FOKUS OpenSDNCoreEqual Cost Multipath Routing in FOKUS OpenSDNCore
Equal Cost Multipath Routing in FOKUS OpenSDNCore
Hai Dinh Tuan
 
Scientific research at Institute of Information Technology
Scientific research at Institute of Information TechnologyScientific research at Institute of Information Technology
Scientific research at Institute of Information Technology
Jānis Grabis
 
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
Bogusz Jelinski
 
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdfSFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
South Tyrol Free Software Conference
 
Gis based method to analyse vulnerability of transportation infrastructure
Gis based method to analyse vulnerability of transportation infrastructureGis based method to analyse vulnerability of transportation infrastructure
Gis based method to analyse vulnerability of transportation infrastructure
HAO YE
 
Improve MANET network performance using ESPS approach
Improve MANET network performance using ESPS approachImprove MANET network performance using ESPS approach
Improve MANET network performance using ESPS approach
Surbhi Sharma
 
ROADART - Research On Alternative Diversity Aspects foR Trucks
ROADART - Research On Alternative Diversity Aspects foR TrucksROADART - Research On Alternative Diversity Aspects foR Trucks
ROADART - Research On Alternative Diversity Aspects foR Trucks
European Green Vehicle Initiative
 
Satellite Traffic Simulator.pptx
Satellite Traffic Simulator.pptxSatellite Traffic Simulator.pptx
Satellite Traffic Simulator.pptx
VaibhavGupta410956
 
A simulation and analysis of ofdm system for 4 g communications
A simulation and analysis of ofdm system for 4 g communicationsA simulation and analysis of ofdm system for 4 g communications
A simulation and analysis of ofdm system for 4 g communications
Harshal Ladhe
 
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level ProblemsModular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
Stefano Costanzo
 
Value Chain Canvas Model an Enterprise Architecture Framework
Value Chain Canvas Model an Enterprise Architecture FrameworkValue Chain Canvas Model an Enterprise Architecture Framework
Value Chain Canvas Model an Enterprise Architecture Framework
René MANDEL
 
Presentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routesPresentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routes
Charif Mahmoudi
 
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
Mario Scrocca
 
Software Defined Networking in GÉANT
Software Defined Networking in GÉANTSoftware Defined Networking in GÉANT
Software Defined Networking in GÉANT
GÉANT
 
Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...
Luca Berardinelli
 
Fuzzy Logic Model for Traffic Congestion
Fuzzy Logic Model for Traffic CongestionFuzzy Logic Model for Traffic Congestion
Fuzzy Logic Model for Traffic Congestion
IOSR Journals
 

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

Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]
 
Help the Genetic Algorithm to Minimize the Urban Traffic on Intersections
Help the Genetic Algorithm to Minimize the Urban Traffic on IntersectionsHelp the Genetic Algorithm to Minimize the Urban Traffic on Intersections
Help the Genetic Algorithm to Minimize the Urban Traffic on Intersections
 
Simulation analysis Halmstad University 2013_project
Simulation analysis Halmstad University 2013_projectSimulation analysis Halmstad University 2013_project
Simulation analysis Halmstad University 2013_project
 
Urban Traffic Estimation & Optimization: An Overview
Urban Traffic Estimation & Optimization: An OverviewUrban Traffic Estimation & Optimization: An Overview
Urban Traffic Estimation & Optimization: An Overview
 
Equal Cost Multipath Routing in FOKUS OpenSDNCore
Equal Cost Multipath Routing in FOKUS OpenSDNCoreEqual Cost Multipath Routing in FOKUS OpenSDNCore
Equal Cost Multipath Routing in FOKUS OpenSDNCore
 
Scientific research at Institute of Information Technology
Scientific research at Institute of Information TechnologyScientific research at Institute of Information Technology
Scientific research at Institute of Information Technology
 
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
Dispatching taxi cabs with ridesharing – an efficient implementation of popul...
 
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdfSFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
SFScon22 - Gianluca Antonacci - Traffic management in a Smart City scenario.pdf
 
Gis based method to analyse vulnerability of transportation infrastructure
Gis based method to analyse vulnerability of transportation infrastructureGis based method to analyse vulnerability of transportation infrastructure
Gis based method to analyse vulnerability of transportation infrastructure
 
Improve MANET network performance using ESPS approach
Improve MANET network performance using ESPS approachImprove MANET network performance using ESPS approach
Improve MANET network performance using ESPS approach
 
ROADART - Research On Alternative Diversity Aspects foR Trucks
ROADART - Research On Alternative Diversity Aspects foR TrucksROADART - Research On Alternative Diversity Aspects foR Trucks
ROADART - Research On Alternative Diversity Aspects foR Trucks
 
Satellite Traffic Simulator.pptx
Satellite Traffic Simulator.pptxSatellite Traffic Simulator.pptx
Satellite Traffic Simulator.pptx
 
A simulation and analysis of ofdm system for 4 g communications
A simulation and analysis of ofdm system for 4 g communicationsA simulation and analysis of ofdm system for 4 g communications
A simulation and analysis of ofdm system for 4 g communications
 
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level ProblemsModular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
Modular Multi-Objective Genetic Algorithm for Large Scale Bi-level Problems
 
Value Chain Canvas Model an Enterprise Architecture Framework
Value Chain Canvas Model an Enterprise Architecture FrameworkValue Chain Canvas Model an Enterprise Architecture Framework
Value Chain Canvas Model an Enterprise Architecture Framework
 
Presentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routesPresentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routes
 
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
Turning Transport Data to Comply with EU standards while Enabling a Multimoda...
 
Software Defined Networking in GÉANT
Software Defined Networking in GÉANTSoftware Defined Networking in GÉANT
Software Defined Networking in GÉANT
 
Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...
 
Fuzzy Logic Model for Traffic Congestion
Fuzzy Logic Model for Traffic CongestionFuzzy Logic Model for Traffic Congestion
Fuzzy Logic Model for Traffic Congestion
 

Recently uploaded

快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
hozt8xgk
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
Shashank Shekhar Pandey
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
PirithiRaju
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
Sciences of Europe
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
Sérgio Sacani
 
Farming systems analysis: what have we learnt?.pptx
Farming systems analysis: what have we learnt?.pptxFarming systems analysis: what have we learnt?.pptx
Farming systems analysis: what have we learnt?.pptx
Frédéric Baudron
 
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
PsychoTech Services
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
vluwdy49
 
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
frank0071
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
Vandana Devesh Sharma
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
Scintica Instrumentation
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
LengamoLAppostilic
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
Sérgio Sacani
 
Gadgets for management of stored product pests_Dr.UPR.pdf
Gadgets for management of stored product pests_Dr.UPR.pdfGadgets for management of stored product pests_Dr.UPR.pdf
Gadgets for management of stored product pests_Dr.UPR.pdf
PirithiRaju
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
PirithiRaju
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
Leonel Morgado
 
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Leonel Morgado
 

Recently uploaded (20)

快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
 
11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
 
Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)Sciences of Europe journal No 142 (2024)
Sciences of Europe journal No 142 (2024)
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
 
Farming systems analysis: what have we learnt?.pptx
Farming systems analysis: what have we learnt?.pptxFarming systems analysis: what have we learnt?.pptx
Farming systems analysis: what have we learnt?.pptx
 
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
Sexuality - Issues, Attitude and Behaviour - Applied Social Psychology - Psyc...
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
 
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
在线办理(salfor毕业证书)索尔福德大学毕业证毕业完成信一模一样
 
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
Juaristi, Jon. - El canon espanol. El legado de la cultura española a la civi...
 
Compexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titrationCompexometric titration/Chelatorphy titration/chelating titration
Compexometric titration/Chelatorphy titration/chelating titration
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
 
Gadgets for management of stored product pests_Dr.UPR.pdf
Gadgets for management of stored product pests_Dr.UPR.pdfGadgets for management of stored product pests_Dr.UPR.pdf
Gadgets for management of stored product pests_Dr.UPR.pdf
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
 
Immersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths ForwardImmersive Learning That Works: Research Grounding and Paths Forward
Immersive Learning That Works: Research Grounding and Paths Forward
 
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
Describing and Interpreting an Immersive Learning Case with the Immersion Cub...
 

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 L’Aquila, Italy Claudio Pompilio Ph.D. Student in Computer Science University of L’Aquila 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 L’Aquila Email: claudio.pompilio@graduate.univaq.it