SlideShare a Scribd company logo
1 of 28
http://www.di.univaq.it/diruscio/
davide.diruscio@univaq.it
@ddiruscio
Consistency Recovery in
Interactive Modeling
Davide Di Ruscio
Joint work with Juri Di Rocco, Marcel Heinz, Ludovico Iovino, Ralf Laemmel, Alfonso Pierantonio
2
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Introduction > Model-Driven Engineering
Over the last decades many MDE technologies have been conceived to
support a wide range of modeling and model management activities
3
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Introduction > MDE projects
MDE projects contain different kinds of artifacts such as models,
metamodels, model transformations, deltas, …
Artifacts are related in terms of relationships such as transformation or
conformance
Metamodel
4
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Collection of modelling artifacts developed with a specific goal
MDE Projects
Thank you… but …
how to use it????
5
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
6
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
7
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
8
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MDE Project
In case of big projects it’s difficult to figure out the relations between the
different artifacts and to understand their roles in the projects
9
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
We want to exercise an effective, declarative (model-
based), and transparent (understandable) approach
to organizing the artifacts in an MDE project
(in a model repository or not)
and the relationships between the artifacts
10
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
11
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
+
12
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Research objective
A model-managed project has an associated megamodel
- users can understand the structure of the project
- the project’s consistency with the megamodel is continuously monitored in the
background
- changes can be mapped to corrective, automated actions to be proposed to
and confirmed by the user
+
MegaL/Forge
13
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
The MegaL/Forge language
14
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
A simple project’s megamodel (1/2)
15
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
A simple project’s megamodel (2/2)
16
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge Static Semantics
(Well-formedness)
Types, artifacts, relations, and function are declared before they are
used
Each name can be declared once only (‘no overloading’)
The arguments of relationships and function applications and results of
function applications must be of the types as prescribed by the
signatures of the corresponding relations and functions
Each artifact symbol is linked to some filename
17
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge Dynamic Semantics
(Consistency)
Relational consistency when the interpretation of all relation
applications (relationships) in a given megamodel m for a given
environment E returns true
Functional consistency when the interpretation of all function
applications in the megamodel m with the environment E returns true
18
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Consistency recovery
A project change triggers:
- recovery analysis on the megamodel
- to determine a sequence of function applications
- execution of the recovery sequence
- to facilitate consistency recovery when applied to the artifacts in the project
19
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Sample change scenarios
Modify difference model
Modify one model
20
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Consistency recovery analysis: main issues
Mapping a change to an infinite sequence
This may happen, if a naive definition is used where a change to an
artifact m transitively leads to a change of m
We set up the analysis to never change an artifact that was already changed.
Nondeterminism management
There may exist megamodels and changes for which different recovery
sequences are possible
We set up the analysis to detect nondeterminism and fail with consistency recovery in this case.
21
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
MDEForge is an extensible platform enabling the adoption of model
management tools as SaaS (software as a service)
- Users have the possibility to create modeling artifacts and organize them in
projects that are, in turn, contained in workspaces
22
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
ProjectMonitoring implements listeners that execute the
consistency recovery manager when artifacts or projects
are changed.
23
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
ConsistencyManagement package implements the
presented consistency recovery concepts
For each symbolic function or relation name a
corresponding IOperationApplier implementation is
available
24
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
The links between symbolic operation names and the
corresponding appliers are specified in the operationMapper
HashMap of the ConsistencyRecoveryManager class
25
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
MegaL/Forge integration into MDEForge
The consistency check between a project and the
corresponding megamodel is performed by the method
checkConsistency
The method consistencyRecovery implements the recovery
mechanism
getFunctionsToRecoverConsistency is responsible of
identifying the functions to be applied and their execution order
26
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
User feedback upon changes
27
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Conclusion and future work
Megamodel-based approach towards consistency recovery in MDE
projects
Megamodels are facilitated to express consistency and to provide
guidance for consistency recovery
Future plans include at least:
- Management of richer dependencies between the involved artifacts (i.e.,
management of nondeterminism)
- Application of the approach on non-trivial examples of co-evolution
- Making megamodels and the underlying MDE projects explicitly version-
aware
28
3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas
Thank you !!!!

More Related Content

Similar to Consistency Recovery in Interactive Modeling

Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Venkat Projects
 
VSSML18. Practical Workshops
VSSML18. Practical WorkshopsVSSML18. Practical Workshops
VSSML18. Practical WorkshopsBigML, Inc
 
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...Pedro Luis Mateo Navarro
 
Visual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureVisual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureIRJET Journal
 
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Benoit Combemale
 
Tools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsTools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsRichard Oliver Legendi
 
A survey on fem modelling for composites
A survey on fem modelling for compositesA survey on fem modelling for composites
A survey on fem modelling for compositeseSAT Publishing House
 
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...Mani Poshdar
 
Design and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfDesign and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfIRJET Journal
 
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...IJECEIAES
 
Introduction to design patterns
Introduction to design patternsIntroduction to design patterns
Introduction to design patternsAmit Kabra
 
A Model-based Framework for Continuous Development and Runtime Validation of...
A Model-based Framework for Continuous Development and Runtime Validation  of...A Model-based Framework for Continuous Development and Runtime Validation  of...
A Model-based Framework for Continuous Development and Runtime Validation of...Hugo Bruneliere
 
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...Misu Md Rakib Hossain
 
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Romina Eramo
 
3 d molding and casting2
3 d molding and casting23 d molding and casting2
3 d molding and casting2Fab Lab LIMA
 
Scalable architectures for phenotype libraries
Scalable architectures for phenotype librariesScalable architectures for phenotype libraries
Scalable architectures for phenotype librariesMartin Chapman
 
Calculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsCalculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsIJMERJOURNAL
 
Design Patterns
Design PatternsDesign Patterns
Design Patternsfrgo
 

Similar to Consistency Recovery in Interactive Modeling (20)

Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...Application and evaluation of a K-Medoidsbased shape clustering method for an...
Application and evaluation of a K-Medoidsbased shape clustering method for an...
 
VSSML18. Practical Workshops
VSSML18. Practical WorkshopsVSSML18. Practical Workshops
VSSML18. Practical Workshops
 
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
A Context-aware Model for the Analysis of User Interaction and QoE in Mobile ...
 
Visual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in ArchitectureVisual Calculation through Shape Grammar in Architecture
Visual Calculation through Shape Grammar in Architecture
 
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?Modeling For Sustainability: Or How to Make Smart CPS Smarter?
Modeling For Sustainability: Or How to Make Smart CPS Smarter?
 
Tools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason ModelsTools For Statistical And Behavioral Analysis Of Mason Models
Tools For Statistical And Behavioral Analysis Of Mason Models
 
A survey on fem modelling for composites
A survey on fem modelling for compositesA survey on fem modelling for composites
A survey on fem modelling for composites
 
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
SimCon01: The benefits of Conceptual Modelling for Construction Simulation, b...
 
Design and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage ShelfDesign and Development of Hybrid Storage Shelf
Design and Development of Hybrid Storage Shelf
 
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
A Novel Optimization towards Higher Reliability in Predictive Modelling towar...
 
Francesco Serafin
Francesco Serafin Francesco Serafin
Francesco Serafin
 
Model Integration
Model IntegrationModel Integration
Model Integration
 
Introduction to design patterns
Introduction to design patternsIntroduction to design patterns
Introduction to design patterns
 
A Model-based Framework for Continuous Development and Runtime Validation of...
A Model-based Framework for Continuous Development and Runtime Validation  of...A Model-based Framework for Continuous Development and Runtime Validation  of...
A Model-based Framework for Continuous Development and Runtime Validation of...
 
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
FANTASIA: A Tool for Automatically Identifying Inconsistency in AngularJS MVC...
 
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
Tool-Support of Socio-Technical Coordination in the Context of Heterogeneous ...
 
3 d molding and casting2
3 d molding and casting23 d molding and casting2
3 d molding and casting2
 
Scalable architectures for phenotype libraries
Scalable architectures for phenotype librariesScalable architectures for phenotype libraries
Scalable architectures for phenotype libraries
 
Calculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applicationsCalculation of Reusability Matrices for Object Oriented applications
Calculation of Reusability Matrices for Object Oriented applications
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 

More from Davide Ruscio

Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Davide Ruscio
 
Detecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDetecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDavide Ruscio
 
On the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesOn the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesDavide Ruscio
 
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
FOCUS:  A Recommender System for Mining API Function Calls and  Usage PatternsFOCUS:  A Recommender System for Mining API Function Calls and  Usage Patterns
FOCUS: A Recommender System for Mining API Function Calls and Usage PatternsDavide Ruscio
 
CrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsCrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsDavide Ruscio
 
Use of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareUse of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareDavide Ruscio
 
Semantic based model matching with emf compare
Semantic based model matching with emf compareSemantic based model matching with emf compare
Semantic based model matching with emf compareDavide Ruscio
 
Collaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyCollaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyDavide Ruscio
 
Model repositories: will they become reality?
Model repositories: will they become reality?Model repositories: will they become reality?
Model repositories: will they become reality?Davide Ruscio
 
Mining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel MetricsMining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel Metrics Davide Ruscio
 
MDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformMDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformDavide Ruscio
 

More from Davide Ruscio (11)

Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...Developing recommendation systems to support open source software developers ...
Developing recommendation systems to support open source software developers ...
 
Detecting java software similarities by using different clustering
Detecting java software similarities by using different clusteringDetecting java software similarities by using different clustering
Detecting java software similarities by using different clustering
 
On the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activitiesOn the way of listening to the crowd for supporting modeling activities
On the way of listening to the crowd for supporting modeling activities
 
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
FOCUS:  A Recommender System for Mining API Function Calls and  Usage PatternsFOCUS:  A Recommender System for Mining API Function Calls and  Usage Patterns
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
 
CrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projectsCrossSim: exploiting mutual relationships to detect similar OSS projects
CrossSim: exploiting mutual relationships to detect similar OSS projects
 
Use of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source SoftwareUse of MDE to Analyse Open Source Software
Use of MDE to Analyse Open Source Software
 
Semantic based model matching with emf compare
Semantic based model matching with emf compareSemantic based model matching with emf compare
Semantic based model matching with emf compare
 
Collaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping StudyCollaborative model driven software engineering: a Systematic Mapping Study
Collaborative model driven software engineering: a Systematic Mapping Study
 
Model repositories: will they become reality?
Model repositories: will they become reality?Model repositories: will they become reality?
Model repositories: will they become reality?
 
Mining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel MetricsMining Correlations of ATL Transformation and Metamodel Metrics
Mining Correlations of ATL Transformation and Metamodel Metrics
 
MDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platformMDEForge: an extensible Web-based modeling platform
MDEForge: an extensible Web-based modeling platform
 

Recently uploaded

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 

Recently uploaded (20)

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 

Consistency Recovery in Interactive Modeling

  • 1. http://www.di.univaq.it/diruscio/ davide.diruscio@univaq.it @ddiruscio Consistency Recovery in Interactive Modeling Davide Di Ruscio Joint work with Juri Di Rocco, Marcel Heinz, Ludovico Iovino, Ralf Laemmel, Alfonso Pierantonio
  • 2. 2 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Introduction > Model-Driven Engineering Over the last decades many MDE technologies have been conceived to support a wide range of modeling and model management activities
  • 3. 3 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Introduction > MDE projects MDE projects contain different kinds of artifacts such as models, metamodels, model transformations, deltas, … Artifacts are related in terms of relationships such as transformation or conformance Metamodel
  • 4. 4 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Collection of modelling artifacts developed with a specific goal MDE Projects Thank you… but … how to use it????
  • 5. 5 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 6. 6 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 7. 7 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 8. 8 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MDE Project In case of big projects it’s difficult to figure out the relations between the different artifacts and to understand their roles in the projects
  • 9. 9 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective We want to exercise an effective, declarative (model- based), and transparent (understandable) approach to organizing the artifacts in an MDE project (in a model repository or not) and the relationships between the artifacts
  • 10. 10 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user
  • 11. 11 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user +
  • 12. 12 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Research objective A model-managed project has an associated megamodel - users can understand the structure of the project - the project’s consistency with the megamodel is continuously monitored in the background - changes can be mapped to corrective, automated actions to be proposed to and confirmed by the user + MegaL/Forge
  • 13. 13 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas The MegaL/Forge language
  • 14. 14 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas A simple project’s megamodel (1/2)
  • 15. 15 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas A simple project’s megamodel (2/2)
  • 16. 16 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge Static Semantics (Well-formedness) Types, artifacts, relations, and function are declared before they are used Each name can be declared once only (‘no overloading’) The arguments of relationships and function applications and results of function applications must be of the types as prescribed by the signatures of the corresponding relations and functions Each artifact symbol is linked to some filename
  • 17. 17 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge Dynamic Semantics (Consistency) Relational consistency when the interpretation of all relation applications (relationships) in a given megamodel m for a given environment E returns true Functional consistency when the interpretation of all function applications in the megamodel m with the environment E returns true
  • 18. 18 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Consistency recovery A project change triggers: - recovery analysis on the megamodel - to determine a sequence of function applications - execution of the recovery sequence - to facilitate consistency recovery when applied to the artifacts in the project
  • 19. 19 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Sample change scenarios Modify difference model Modify one model
  • 20. 20 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Consistency recovery analysis: main issues Mapping a change to an infinite sequence This may happen, if a naive definition is used where a change to an artifact m transitively leads to a change of m We set up the analysis to never change an artifact that was already changed. Nondeterminism management There may exist megamodels and changes for which different recovery sequences are possible We set up the analysis to detect nondeterminism and fail with consistency recovery in this case.
  • 21. 21 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge MDEForge is an extensible platform enabling the adoption of model management tools as SaaS (software as a service) - Users have the possibility to create modeling artifacts and organize them in projects that are, in turn, contained in workspaces
  • 22. 22 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge ProjectMonitoring implements listeners that execute the consistency recovery manager when artifacts or projects are changed.
  • 23. 23 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge ConsistencyManagement package implements the presented consistency recovery concepts For each symbolic function or relation name a corresponding IOperationApplier implementation is available
  • 24. 24 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge The links between symbolic operation names and the corresponding appliers are specified in the operationMapper HashMap of the ConsistencyRecoveryManager class
  • 25. 25 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas MegaL/Forge integration into MDEForge The consistency check between a project and the corresponding megamodel is performed by the method checkConsistency The method consistencyRecovery implements the recovery mechanism getFunctionsToRecoverConsistency is responsible of identifying the functions to be applied and their execution order
  • 26. 26 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas User feedback upon changes
  • 27. 27 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Conclusion and future work Megamodel-based approach towards consistency recovery in MDE projects Megamodels are facilitated to express consistency and to provide guidance for consistency recovery Future plans include at least: - Management of richer dependencies between the involved artifacts (i.e., management of nondeterminism) - Application of the approach on non-trivial examples of co-evolution - Making megamodels and the underlying MDE projects explicitly version- aware
  • 28. 28 3rd International Workshop on Executable Modeling at MODELS 2017 - September 18, 2017, Austin, Texas Thank you !!!!