Top Banner
Introducing S-CASE MDE Engine from the S- CASE developer perspective Chistoforos Zolotas , Intelligent Systems & So6ware Engineering Labgroup, Department of Electrical and Computer Engineering, Aristotle University of Thessaloniki, Greece 16.10.2015 1 S-CASE MDE Webinar [email protected]
32

S-CASE MDE Webinar

Apr 11, 2017

Download

Software

ISSEL
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: S-CASE MDE Webinar

IntroducingS-CASEMDEEnginefromtheS-CASEdeveloperperspective

ChistoforosZolotas,IntelligentSystems&So6wareEngineeringLabgroup,DepartmentofElectricalandComputerEngineering,AristotleUniversityofThessaloniki,Greece

16.10.2015

1

S-CA

SEM

DEW

ebinar

[email protected]

Page 2: S-CASE MDE Webinar

WebinarOutline

•  Webinar’sGoals

•  Bigpicture–EnvisioninganidealMDEengine

•  S-CASE:Atwo-foldmechanism

•  ReferencemodelofRESTandnon-CRUDfuncVonality

•  MDEEngine’slayersoffuncVonality

•  Themeta-model:RESTaspects&Wizard

•  Themeta-model:BasicAuthenVcaVon&Wizard-Demo

•  Themeta-model:DatabaseKeyword-Searching&Wizard-Demo

•  Themeta-model:InteroperaVngwithexisVngservices&Wizard-Demo

•  PreparaVonsfortheS-CASETechnicalmeeVngon29-30/10

•  ConclusionsandQuesVons

16.10.2015

S-CA

SEM

DEW

ebinar

2

Page 3: S-CASE MDE Webinar

Webinar’sGoals

1.  FamiliarizeeveryonewiththeS-CASEMDEEngine,itsfuncVonalityandUIs.

2.  PrepareeveryoneforthenextS-CASETechnicalmeeVnghackathoninThessaloniki(29-30/10).

16.10.2015

S-CA

SEM

DEW

ebinar

3

Page 4: S-CASE MDE Webinar

EnvisioningtheidealMDEengine

16.10.2015

S-CA

SEM

DEW

ebinar

4

Thecoffeemachineparadigm–Easyhandling,readytouseoutput

Page 5: S-CASE MDE Webinar

EnvisioningtheidealMDEengine

16.10.2015

S-CA

SEM

DEW

ebinar

5

Thecoffeemachineparadigm–Easyhandling,readytouseoutput

1)Theuserprovidesthedesiredinputtothemachine.Itissupposedtobeeasytousefordomainexperts(e.g.someonewhohasusedseveralcoffeemachines)

Page 6: S-CASE MDE Webinar

EnvisioningtheidealMDEengine

16.10.2015

S-CA

SEM

DEW

ebinar

6

Thecoffeemachineparadigm–Easyhandling,readytouseoutput

1)Theuserprovidesthedesiredinputtothemachine.Itissupposedtobeeasytousefordomainexperts(e.g.someonewhohasusedseveralcoffeemachines)

2)Themachinemakesanyneededcalcula>onsandproducestheoutcome.Theuserisnotsupposedtounderstandhowthemachineworks.

Page 7: S-CASE MDE Webinar

EnvisioningtheidealMDEengine

16.10.2015

S-CA

SEM

DEW

ebinar

7

Thecoffeemachineparadigm–Easyhandling,readytouseoutput

1)Theuserprovidesthedesiredinputtothemachine.Itissupposedtobeeasytousefordomainexperts(e.g.someonewhohasusedseveralcoffeemachines)

3)Theusergetstheoutput.Somepost-ac>onsmightberequirede.g.addsomesugar.

2)Themachinemakesanyneededcalcula>onsandproducestheoutcome.Theuserisnotsupposedtounderstandhowthemachineworks.

Page 8: S-CASE MDE Webinar

16.10.2015

S-CA

SEM

DEW

ebinar

S-CASELowerCASEMDEEngine

S-CASEFramework

8

S-CASE:Atwo-foldmechanism

Page 9: S-CASE MDE Webinar

16.10.2015

S-CA

SEM

DEW

ebinar

9S-CASEUpperCASERAT,StoryboardCreatoretc.

S-CASELowerCASEMDEEngine

S-CASE:Atwo-foldmechanism

S-CASEFramework

Iknowhowtousethismachine!

Page 10: S-CASE MDE Webinar

16.10.2015

S-CA

SEM

DEW

ebinar

10S-CASEUpperCASERAT,StoryboardCreatoretc.

S-CASELowerCASEMDEEngine

S-CASE:Atwo-foldmechanism

Iwantsomecoffee

S-CASEDeveloper

S-CASEFramework

Page 11: S-CASE MDE Webinar

16.10.2015

S-CA

SEM

DEW

ebinar

11S-CASEUpperCASERAT,StoryboardCreatoretc.

S-CASELowerCASEMDEEngine

S-CASE:Atwo-foldmechanism

Iwantsomecoffee

S-CASEDeveloper

S-CASEFramework

MulV-modalrequirements

LetsseeifIgotthisright!

Page 12: S-CASE MDE Webinar

OverviewofRESTdesign

16.10.2015

S-CA

SEM

DEW

ebinar

12

Richardson’sMaturityModelasa“RESTfulnessmetric”

Level3:HypermediaLinks(HATEOAS)

Level2:ProperHTTPVerbsUse

Level1:ResourceOrientedDesign

Level0:TheswampPOX

RESTfulServices

Ref:hkp://marVnfowler.com/arVcles/richardsonMaturityModel.html

Page 13: S-CASE MDE Webinar

OverviewofRESTdesign

ThecommoninterfaceofRESTdefineswhatshouldbedonewithrespecttothefourCRUDverbs:

1.  Create:Createanewinstanceofaresource

2.  Read:RetrieveanexisVngresource

3.  Update:UpdatethecontentofanexisVngresource

4.  Delete:DeleteanexisVngresource

However,thatisenoughonlyforbasicdatacentricapplicaVons.AnyotheracVons(non-CRUDfunc>onality)cannotbemodeled(andthusautomated)withrespecttoCRUDverbs.

16.10.2015

S-CA

SEM

DEW

ebinar

13

CRUDandNon-CRUDfunc>onality

Page 14: S-CASE MDE Webinar

MDEEngine’sLayersofFunctionality

16.10.2015

S-CA

SEM

DEW

ebinar

14

GoingBeyondREST–Essen>alWebServiceFunc>onality

1)BasicAuthenVcaVonwithusernameandpassword:

2)DatabaseKeywordSearching:

3)InteroperaVngwith3rdPartyServicestofetchdatafromelsewhere,ortousefuncVonalityofanotherservice(e.g.bookhotel,getweather):

TellmeyourcredenVals!

Page 15: S-CASE MDE Webinar

Themeta-model:RESTaspects

16.10.2015

S-CA

SEM

DEW

ebinar

15

ExploringtheCoreCIMMeta-Model

Resource:ThebuildingblockCRUDAc>vity:ThecommonwebAPIProperty:Theresource’sdataI/ORepresenta>on:e.g.JSON/XMLHypermedia:InterconnecVonofresources

Page 16: S-CASE MDE Webinar

Themeta-model:RESTaspects

16.10.2015

S-CA

SEM

DEW

ebinar

16

Hypermediaconcept

WitheveryrequesttheserversendsbacktotheclientthenextpossibleacVons:

Page 17: S-CASE MDE Webinar

Themeta-model:RESTaspects

16.10.2015

S-CA

SEM

DEW

ebinar

17

Hypermediaexample&NamingProper>es

<<Resource>>

ShoppingList

<<Resource>>

Product

<<Property>>

Price

<<Property>>

DescripVon

hasrelatedResource

Page 18: S-CASE MDE Webinar

Themeta-model:RESTaspects

16.10.2015

S-CA

SEM

DEW

ebinar

18

Hypermediaexample&NamingProper>es

<<Resource>>

ShoppingList

<<Resource>>

Product

<<Property>>

Price

<<Property>>

DescripVon

hasrelatedResource

Page 19: S-CASE MDE Webinar

Themeta-model:RESTWizard

16.10.2015

S-CA

SEM

DEW

ebinar

19

ExploringtheCoreCIMWizard&Demo

Page 20: S-CASE MDE Webinar

Themeta-model:RESTWizard

16.10.2015

S-CA

SEM

DEW

ebinar

20

ExploringtheCoreCIMWizard&Demo

Page 21: S-CASE MDE Webinar

DEMO:TheRESTMarksapplication

16.10.2015

S-CA

SEM

DEW

ebinar

21

ExploringtheCoreCIMWizard&Demo

Requirements:

1)  Thesystemmustbeabletocreate,updateanddeleteanaccount

2)  Thesystemmustbeabletocreate,read,updateanddeletebookmarkslinkedtoanaccount,whichhaveaURLproperty

3)  Thesystemmustbeabletocreate,read,updateanddeletetagslinkedtobookmarks,whichhaveadescrip>onproperty

4)  ThesystemmustbeabletosearchbookmarksbytagdescripVon

5)  ThesystemmustbeabletoshareabookmarktofacebookprovidedtheusersID.

6)  NFR:ThesystemmustsupportBasicAuthenVcaVon

Page 22: S-CASE MDE Webinar

Themeta-model:BasicAuthentication

16.10.2015

S-CA

SEM

DEW

ebinar

22

ExploringtheBasicAuthen>ca>onCIMMeta-Model

Page 23: S-CASE MDE Webinar

Themeta-model:BasicAuthentication

16.10.2015

S-CA

SEM

DEW

ebinar

23

TheBasicAuthen>ca>onWizard&demo

Page 24: S-CASE MDE Webinar

DEMO:TheRESTMarksapplication

16.10.2015

S-CA

SEM

DEW

ebinar

24

ExploringtheAuthen>ca>onCIMWizard&Demo

Requirements:

1)  Thesystemmustbeabletocreate,updateanddeleteanaccount

2)  Thesystemmustbeabletocreate,read,updateanddeletebookmarkslinkedtoanaccount,whichhaveaURLproperty

3)  Thesystemmustbeabletocreate,read,updateanddeletetagslinkedtobookmarks,whichhaveadescripVonproperty

4)  ThesystemmustbeabletosearchbookmarksbytagdescripVon

5)  ThesystemmustbeabletoshareabookmarktofacebookprovidedtheusersID.

6)  NFR:ThesystemmustsupportBasicAuthen>ca>on

Page 25: S-CASE MDE Webinar

Themeta-model:DatabaseKeyword-Searching

16.10.2015

S-CA

SEM

DEW

ebinar

25

ExploringtheDatabaseKeyword-SearchingCIMMeta-Model

SearchResources

executesearchrequests

SearchableResources

haveindexedproperVesforsearching

Page 26: S-CASE MDE Webinar

Themeta-model:DatabaseKeyword-Searching

16.10.2015

S-CA

SEM

DEW

ebinar

26

ExploringtheDatabaseKeyword-SearchingWizard&Demo

Page 27: S-CASE MDE Webinar

DEMO:TheRESTMarksapplication

16.10.2015

S-CA

SEM

DEW

ebinar

27

ExploringtheSearchingCIMWizard&Demo

Requirements:

1)  Thesystemmustbeabletocreate,updateanddeleteanaccount

2)  Thesystemmustbeabletocreate,read,updateanddeletebookmarkslinkedtoanaccount,whichhaveaURLproperty

3)  Thesystemmustbeabletocreate,read,updateanddeletetagslinkedtobookmarks,whichhaveadescripVonproperty

4)  Thesystemmustbeabletosearchbookmarksbytagdescrip>on

5)  ThesystemmustbeabletoshareabookmarktofacebookprovidedtheusersID.

6)  NFR:ThesystemmustsupportBasicAuthenVcaVon

Page 28: S-CASE MDE Webinar

Themeta-model:Interoperatingwithexistingservices

16.10.2015

S-CA

SEM

DEW

ebinar

28

Exploringthe3rdPartyInteropera>onCIMMeta-model

Page 29: S-CASE MDE Webinar

Themeta-model:Interoperatingwithexistingservices

16.10.2015

S-CA

SEM

DEW

ebinar

29

Exploringthe3rdPartyInteropera>onWizard&Demo

Page 30: S-CASE MDE Webinar

DEMO:TheRESTMarksapplication

16.10.2015

S-CA

SEM

DEW

ebinar

30

ExploringtheCoreCIMWizard&Demo

Requirements:

1)  Thesystemmustbeabletocreate,updateanddeleteanaccount

2)  Thesystemmustbeabletocreate,read,updateanddeletebookmarkslinkedtoanaccount,whichhaveaURLproperty

3)  Thesystemmustbeabletocreate,read,updateanddeletetagslinkedtobookmarks,whichhaveadescripVonproperty

4)  ThesystemmustbeabletosearchbookmarksbytagdescripVon

5)  ThesystemmustbeabletoshareabookmarktofacebookprovidedtheusersID.

6)  NFR:ThesystemmustsupportBasicAuthenVcaVon

Page 31: S-CASE MDE Webinar

16.10.2015

S-CA

SEM

DEW

ebinar

31

[email protected]

Page 32: S-CASE MDE Webinar

PreparationsforS-CASETechnicalmeeting&demos

DownloadthelatestversionoftheMDEengineat:

hkp://s-case.github.io/s-case_update_site/

TrytousethenextfewdaystheMDEengineandbuildsomesmallservicessoas

•  tolearntousethesystem(especiallypilots)

•  toprovideusfeedbackthroughthehkps://openproject.scasefp7.comVcketsystem(bugs&featureproposals)

•  tohelpusalsouncovercrossplasormissues

•  everyoneofusismetantllypreparedforaproducVveTechnicalMeeVnginThessalonikiin2weeks

16.10.2015

S-CA

SEM

DEW

ebinar

32

HelpfulAc>ons