Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

Model

Callback

Promotion

Endpoint and EnpointReference creation algorithm

 

EndpointReference

Endpoint

Location

Leaftmost component reference

leaftmost component service

Multiplicity

One for each binding on a leaf reference + promoted references

One for each binding on a service

Interface

From the reference
If none then from the implementation

From the service
If none then from the implementation

Binding

If target then from service
Else from reference

Binding on service
If none then binding from promoted service
If none then binding.sca

Intents

Sum of intents on references at all levels

Sum of intents on services at all levels

Policy Sets

Use attached policy sets
If none then use policy sets attached to impl reference

Use attached policy sets
If none then use policy sets attached to impl service

Results expected in itest/builder

Scenario

CAS1

CBS2

CCS2

CDS3

Endpoints at CD

1 Binding

binding.ws

 

 

 

CD/S3/binding.sca

2 Binding

 

binding.ws

 

 

CD/S3/binding.sca

3 Binding

 

 

binding.ws

 

CD/S3/binding.sca

4 Binding

 

 

 

binding.ws

CD/S3/binding.sca

Scenario

CAR1

CBR2

CCR2

CDR3

Calculated CDR3

5 Binding

binding.ws uri=

X

X

X

binding.ws uri=

5 Interface

 

 

 

 

 

6 Binding

X

binding.ws target=CBS2a

X

X

binding.ws uri=

6 Interface

 

 

 

 

 

7 Binding

X

X

binding.ws target=CBS2a

X

binding.ws uri=

7 Interface

 

 

 

 

 

8 Binding

X

X

X

binding.ws target=CDS3a

binding.ws uri=

8 Interface

 

 

 

 

 

Scenario

CAR1a

CBR2a

CCR2a

CDR3a

Calculated CDR3a

9 Binding

binding.ws uri=

X

X

X/target=CES3

Wire to CES3 binding.sca, binding.ws uri=

9 Interface

 

 

 

 

 

10 Binding

X

binding.ws/target=CFS3

X

X/target=CES3

Wire to CES3 binding.sca, CFS3 binding.ws

10 Interface

 

 

 

 

 

11 Binding

X

X/target=CFS3

binding.ws

X/target=CES3

Wire to CES3 binding.sca, CFS3 binding.ws

11 Interface

 

 

 

 

 

12 Binding

X

X/target=CFS3

X

binding.ws/target=CES3

Wire to CES3 binding.ws, CFS3 binding.ws

12 Interface

 

 

 

 

 

13 Binding

X

X

X

binding.ws/target=CES3

Wire to CES3 binding.ws

13 Interface

 

 

 

 

 

Creation and Activation

Event

Action

Create/Start Node

Read Model
Resolve model
Build model
Activate Runtime
Start Runtime

Message through reference

(if not resolved) EndpointReference resolution
Build Reference Chains

Service Not Available

TBD - possible future event

Add Service

TBD - Possible future event

Remove Service

TBD - Possible future event

...