architecture description metamodels · 22 / target application target application inclusion of...

23
OPEN www.thalesgroup.com Architecture Description Metamodels Version 1.0.0

Upload: others

Post on 30-Sep-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPEN

www.thalesgroup.com

Architecture Description

Metamodels

Version 1.0.0

Page 2: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

2 /2 / Agenda

1 Introduction

AD DSL Metamodels

AD Metamodels

2

3

Page 3: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

3 /3 /

Introduction

Page 4: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

4 /4 / Two levels of Metamodels

AD DSL Metamodel

AD Metamodel

At design time: For description of the AF / Viewpoint and the viewpoint aspects (e.g., model, diagrams…)

At runtime: For management of the viewpoints

AD: Architecture DescriptionAF: Architecture FrameworkDSL: Domain-Specific LanguageVP: Viewpoint

The generated AF and viewpoint models conform to

Page 5: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

5 /5 / Architecture Framework Development Lifecycle

TextTextTextTextTextual AF description

[af].aftextAF Model[af].afdesc

Artefacts of each aggregated viewpoints

AF artefacts

generation

packaging

Deployable AF

edition edition

Text file generation(manual)

Text file generation(automatic, manual)

Page 6: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

6 /6 / Viewpoint Lifecycle

packaging

Deployable viewpoint

installation

Dev

elop

men

tD

evel

opm

ent

Use

Use

Page 7: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

7 /7 / AD – Plugin name convention

org.polarsys.kitalpha.ad

.af .viewpoint .ta .services .integration

.[component]

.common

.dsl

.as .generation .cs

.text

.services

.model

.edit .editor

.validation .helper …

.desc .[aspect]

.coredomain

ad : architecture description

as : abstract syntax

af : architecture framework

cs : concrete syntax

Abbreviation

gen : generator

(ISO/IEC/IEEE 42010)

(ISO/IEC/IEEE 42010)

ta : target application

Aspect examples

- Diagram

- Conf

- UI

Examples

- Releng

Component examples

- eMde

- Sirius

Page 8: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

8 /8 /

AD DSL Metamodels

Page 9: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

9 /9 / AD DSL Metamodels – Information

Architecture Framework – Structure1. An AF DSL is just an aggregation of viewpoint DSLs

Viewpoint DSL – Structure1. The Viewpoint Description is the entry point2. The Data Aspect is mandatory even if no data are described3. The Configuration Aspect is mandatory even if no option is described

Viewpoint DSL – Extensibility1. The Viewpoint DSL metamodel is extensible through the Aspect metaclass2. The aspects not defined in the AD DSL metamodels are considered as additional

contributions3. The integration of a new viewpoint aspect requires: 1) a metamodel definition, 2) the

implementation of an associated textual syntax, 3) the development of a generator to produce the expected artefacts.

Page 10: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

10 /10 / Viewpoint and Data Description DSL (VP Desc)

Page 11: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

11 /11 / Viewpoint Diagram Description (VP Diagram)

Page 12: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

12 /12 / Viewpoint Service Description (VP Services)

Page 13: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

13 /13 / Generation Configuration (VP Conf)

Page 14: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

14 /14 /

AD Metamodels

Page 15: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

15 /15 / AD Metamodels – Information

General1. The AD and Viewpoint metamodels are technical2. The AD and Viewpoint metamodels are designed to be executable at runtime but also at

design time (in the current workspace)

Architecture Framework – Structure1. An AF is just an aggregation of viewpoints

Viewpoint – Structure1. The Viewpoint has model and representation (e.g., diagram) references2. Services and rules are for execution of command and code3. Property are for the definition of Viewpoint parameters4. Services, rules and properties can be modified at runtime

Viewpoint – Extensibility1. A viewpoint may accept different kinds of representations2. A representation defines the kind of object for its representation (e.g. a Group for a

viewpoint in Sirius)3. A representation integration defines how to interpret a representation

Page 16: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

16 /16 / Architecture Framework Metamodel

Page 17: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

17 /17 / Viewpoint Metamodel

Page 18: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

18 /18 / Representation – Sirius Integration

Page 19: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

19 /19 /

Tha nk You!https://www.polarsys.org/projects/polarsys.kitalpha

[email protected]

#LangloisBenoit

Kitalpha is supported by Sys2Soft , Crystal , and Clarity , French and European projects

Page 20: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

20 /20 /

Annex

Page 21: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

21 /21 /

Viewpoint DSLTarget Application

Page 22: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

22 /22 / Target Application

Target Application

Inclusion of metamodels in the default scope of a viewpoint

Generators of viewpointartefacts which target an application-specific environment

Adaptation of the viewpoint DSL editors (e.g., new viewpointaspect)

Page 23: Architecture Description Metamodels · 22 / Target Application Target Application Inclusion of metamodels in the default scope of a viewpoint Generators of viewpoint artefacts which

OPENTRN : xxxx-xxxxxxxxxx rev xxx - dateThales Global Services / Template: 83150233-DOC-TGS-EN-002

Thi

s do

cum

ent

is n

ot to

be

repr

oduc

ed, m

odifi

ed, a

dapt

ed, p

ublis

hed,

tran

slat

ed in

any

mat

eria

l for

m in

who

le o

r in

par

t nor

dis

clos

ed to

any

thir

d pa

rty

with

out t

he p

rior

wri

tten

perm

issi

on o

f Tha

les.

© T

HA

LES

201

3 –

All

righ

ts r

eser

ved.

23 /23 / Viewpoint Creation – Selection of Target Application

At the creation of Kitalha viewpoint project, select a target application.