Skip to content

Commit ced3dc5

Browse files
committed
feat: Enable new Process AoU Linkages
Fixes #444
1 parent f5d6e5f commit ced3dc5

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

docs/internals/requirements/requirements.rst

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,16 @@ Versioning
555555

556556
QM requirements (safety == QM) shall not be linked to safety requirements (safety != QM) via the ``satisfies`` attribute.
557557

558+
.. tool_req:: Requirement linkage to AoU via covers
559+
:id: tool_req__docs_req_link_covers_aou
560+
:implemented: YES
561+
:version: 1
562+
:satisfies: gd_req__req_linkage_aou
563+
:parent_covered: YES
564+
565+
Feature requirements (feat_req) and component requirements (comp_req)
566+
link to Assumptions of Use (aou_req) via the ``covers`` attribute.
567+
558568
🏛️ Architecture
559569
################
560570

@@ -619,7 +629,7 @@ Architecture Attributes
619629
:id: tool_req__docs_arch_link_fulfils
620630
:tags: Architecture
621631
:implemented: YES
622-
:version: 1
632+
:version: 2
623633
:satisfies:
624634
gd_req__arch_linkage_requirement_type,
625635
gd_req__arch_attr_fulfils,
@@ -637,14 +647,34 @@ Architecture Attributes
637647
==================================== ==========================================
638648
Link Source Allowed Link Target
639649
==================================== ==========================================
640-
feat_arc_sta feat_req
650+
feat_arc_sta feat_req, aou_req
641651
feat_arc_dyn feat_req
642652
logic_arc_int feat_req
643-
comp_arc_sta comp_req
653+
comp_arc_sta comp_req, aou_req
644654
comp_arc_dyn comp_req
645655
real_arc_int comp_req
646656
==================================== ==========================================
647657

658+
.. tool_req:: Architecture fulfils linkage to AoU
659+
:id: tool_req__docs_arch_link_fulfils_aou
660+
:implemented: YES
661+
:version: 1
662+
:satisfies: gd_req__arch_attr_fulfils_aou
663+
:parent_covered: YES
664+
665+
Architectural static views (feat_arc_sta, comp_arc_sta)
666+
link to Assumptions of Use (aou_req) via the ``fulfils`` attribute.
667+
668+
.. tool_req:: Check Architecture linkage to AoU
669+
:id: tool_req__docs_arch_link_aou_check
670+
:implemented: NO
671+
:version: 1
672+
:satisfies: gd_req__arch_linkage_aou
673+
:parent_covered: YES
674+
675+
Architectural static views (feat_arc_sta, comp_arc_sta)
676+
are not linked to their own AoU via the ``fulfils`` attribute.
677+
648678

649679
.. tool_req:: Ensure safety architecture elements link a safety requirement
650680
:id: tool_req__docs_arch_link_safety_to_req

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ needs_types:
306306
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
307307
optional_links:
308308
belongs_to: feat # for evaluation
309+
# req-Id: tool_req__docs_req_link_covers_aou
310+
covers: aou_req
309311
tags:
310312
- requirement
311313
- requirement_excl_process
@@ -336,6 +338,9 @@ needs_types:
336338
# req-Id: tool_req__docs_req_attr_testcov
337339
testcovered: ^(YES|NO)$
338340
hash: ^.*$
341+
optional_links:
342+
# req-Id: tool_req__docs_req_link_covers_aou
343+
covers: aou_req
339344
tags:
340345
- requirement
341346
- requirement_excl_process
@@ -434,7 +439,8 @@ needs_types:
434439
status: ^(valid|invalid)$
435440
mandatory_links:
436441
includes: ^logic_arc_int(_op)*__.+$
437-
fulfils: feat_req
442+
# req-Id: tool_req__docs_arch_link_fulfils, tool_req__docs_arch_link_fulfils_aou
443+
fulfils: feat_req, aou_req
438444
belongs_to: feat # make it mandatory for evaluation
439445
tags:
440446
- architecture_element
@@ -584,7 +590,8 @@ needs_types:
584590
status: ^(valid|invalid)$
585591
mandatory_links:
586592
belongs_to: comp
587-
fulfils: comp_req
593+
# req-Id: tool_req__docs_arch_link_fulfils, tool_req__docs_arch_link_fulfils_aou
594+
fulfils: comp_req, aou_req
588595
optional_links:
589596
uses: logic_arc_int, real_arc_int_op
590597
tags:
@@ -930,6 +937,11 @@ needs_extra_links:
930937
incoming: satisfied by
931938
outgoing: satisfies
932939

940+
# req-Id: tool_req__docs_req_link_covers_aou
941+
covers:
942+
incoming: covered by
943+
outgoing: covers
944+
933945
# Architecture
934946
consists_of:
935947
incoming: forms part of

0 commit comments

Comments
 (0)