Skip to content

Commit 7c040d7

Browse files
authored
Merge branch 'main' into add_covers_meta_model
2 parents a5a6dbc + 37f4ca2 commit 7c040d7

2 files changed

Lines changed: 42 additions & 5 deletions

File tree

docs/internals/requirements/requirements.rst

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

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

570+
.. tool_req:: Requirement linkage to AoU via covers
571+
:id: tool_req__docs_req_link_covers_aou
572+
:implemented: YES
573+
:version: 1
574+
:satisfies: gd_req__req_linkage_aou
575+
:parent_covered: YES
576+
577+
Feature requirements (feat_req) and component requirements (comp_req)
578+
link to Assumptions of Use (aou_req) via the ``covers`` attribute.
579+
570580
🏛️ Architecture
571581
################
572582

@@ -631,7 +641,7 @@ Architecture Attributes
631641
:id: tool_req__docs_arch_link_fulfils
632642
:tags: Architecture
633643
:implemented: YES
634-
:version: 1
644+
:version: 2
635645
:satisfies:
636646
gd_req__arch_linkage_requirement_type,
637647
gd_req__arch_attr_fulfils,
@@ -649,14 +659,34 @@ Architecture Attributes
649659
==================================== ==========================================
650660
Link Source Allowed Link Target
651661
==================================== ==========================================
652-
feat_arc_sta feat_req
662+
feat_arc_sta feat_req, aou_req
653663
feat_arc_dyn feat_req
654664
logic_arc_int feat_req
655-
comp_arc_sta comp_req
665+
comp_arc_sta comp_req, aou_req
656666
comp_arc_dyn comp_req
657667
real_arc_int comp_req
658668
==================================== ==========================================
659669

670+
.. tool_req:: Architecture fulfils linkage to AoU
671+
:id: tool_req__docs_arch_link_fulfils_aou
672+
:implemented: YES
673+
:version: 1
674+
:satisfies: gd_req__arch_attr_fulfils_aou
675+
:parent_covered: YES
676+
677+
Architectural static views (feat_arc_sta, comp_arc_sta)
678+
link to Assumptions of Use (aou_req) via the ``fulfils`` attribute.
679+
680+
.. tool_req:: Check Architecture linkage to AoU
681+
:id: tool_req__docs_arch_link_aou_check
682+
:implemented: NO
683+
:version: 1
684+
:satisfies: gd_req__arch_linkage_aou
685+
:parent_covered: YES
686+
687+
Architectural static views (feat_arc_sta, comp_arc_sta)
688+
are not linked to their own AoU via the ``fulfils`` attribute.
689+
660690

661691
.. tool_req:: Ensure safety architecture elements link a safety requirement
662692
:id: tool_req__docs_arch_link_safety_to_req

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ needs_types:
439439
status: ^(valid|invalid)$
440440
mandatory_links:
441441
includes: ^logic_arc_int(_op)*__.+$
442-
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
443444
belongs_to: feat # make it mandatory for evaluation
444445
tags:
445446
- architecture_element
@@ -589,7 +590,8 @@ needs_types:
589590
status: ^(valid|invalid)$
590591
mandatory_links:
591592
belongs_to: comp
592-
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
593595
optional_links:
594596
uses: logic_arc_int, real_arc_int_op
595597
tags:
@@ -935,6 +937,11 @@ needs_extra_links:
935937
incoming: satisfied by
936938
outgoing: satisfies
937939

940+
# req-Id: tool_req__docs_req_link_covers_aou
941+
covers:
942+
incoming: covered by
943+
outgoing: covers
944+
938945
# Architecture
939946
consists_of:
940947
incoming: forms part of

0 commit comments

Comments
 (0)