NAF 4.1-view S6: Service Sequence
S6 — Service Sequence
Purpose & Usage
The S6 Viewpoint is concerned with identifying the chronological sequence of interactions between services in a scenario.
- Outline requirements for Service behaviour .
- Service implementation guidance.
- Service Orchestration.
Scope
- Shall contain Service Lifelines representing Services.
- Shall contain the Service Interactions between Service Lifelines.
- May show Service Events that trigger Service Interactions.
- May show Service Functions that enable the Service.
- May show Service Interfaces specified by the Service.
- May show Service Operations specified by the Service Interface or relating to the Service Interaction.
Representation
- Sequence Diagram.
Cut-out (Meta-model)
flowchart TB
ServiceFunction["Service Function"]:::service
Service:::service
ServiceInterface["Service Interface"]:::service
ServiceOperation["Service Operation"]:::service
ServiceLifeline["Service Lifeline"]:::service
ServiceInteraction["Service Interaction"]:::service
ServiceEvent["Service Event"]:::service
ServiceFunction -->|"enables"| Service
Service -->|"specifies"| ServiceInterface
ServiceInterface -->|"specifies"| ServiceOperation
ServiceLifeline -->|"represents a timeline of"| Service
ServiceInteraction -->|"is equal to"| ServiceLifeline
ServiceInteraction -->|"relates to"| ServiceOperation
ServiceEvent -->|"triggers"| ServiceInteraction
classDef service fill:#E5C1E5,stroke:#7B4F7B,color:#000
Notes on the Cut-out
The “is equal to” relationship illustrates an objectified relation — the element represents the instantiated form of a connection between other elements.
NAFv4 Compliant Example
flowchart TB
CoordInterface["«Service Interface» Coordination Interface"]:::service
RescueInterface["«Service Interface» Rescue Interface"]:::service
CoordService["«Service» Coordination Service"]:::service
SARService["«Service» SAR Service"]:::service
S3Op["«Service Operation» S3 Operation"]:::service
S2Op["«Service Operation» S2 operation"]:::service
CoordLifeline["«Service Lifeline» Coordination Service Lifeline"]:::service
SARLifeline["«Service Lifeline» SAR Service Lifeline"]:::service
RequestSortie["«Service Interaction» Request Sortie"]:::service
Acknowledge["«Service Interaction» Acknowledge"]:::service
CoordService -->|"specifies"| CoordInterface
CoordInterface -->|"specifies"| S3Op
SARService -->|"specifies"| RescueInterface
RescueInterface -->|"specifies"| S2Op
CoordLifeline -->|"represents a timeline of"| CoordService
SARLifeline -->|"represents a timeline of"| SARService
RequestSortie -->|"relates to"| S3Op
CoordLifeline --> RequestSortie
RequestSortie --> SARLifeline
SARLifeline --> Acknowledge
Acknowledge --> CoordLifeline
classDef service fill:#E5C1E5,stroke:#7B4F7B,color:#000