Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion docs/internals/requirements/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,13 @@ This section provides an overview of current process requirements and their clar
:parent_covered: NO: Can not cover 'ISO/IEC/IEEE/29148'
:version: 1
:implemented: YES
:satisfies: gd_req__req_attr_description, gd_req__req_check_mandatory, gd_req__sec_argument
:satisfies:
gd_req__req_attr_description,
gd_req__req_check_mandatory,
gd_req__sec_argument,
gd_req__impl_diagram_description,
gd_req__impl_unit_description,
gd_req__impl_interface_description,

Enforce that each need of type :need:`tool_req__docs_req_types` has a description (content)

Expand Down Expand Up @@ -204,6 +210,7 @@ This section provides an overview of current process requirements and their clar
:satisfies:
gd_req__req_check_mandatory,
gd_req__req_attr_safety,
gd_req__impl_diagram_safety,
gd_req__arch_attr_safety

Docs-as-Code shall enforce that the ``safety`` attribute has one of the following values:
Expand Down Expand Up @@ -233,6 +240,7 @@ This section provides an overview of current process requirements and their clar
gd_req__req_attr_status,
gd_req__arch_attr_status,
gd_req__saf_attr_status,
gd_req__impl_diagram_status,
gd_req__req_check_mandatory,

Docs-as-Code shall enforce that the ``status`` attribute has one of the following values:
Expand Down Expand Up @@ -759,6 +767,28 @@ Architecture Attributes
but are still defined as architectural elements, which means they have the properties of
architectural elements.

.. tool_req:: Architecture diagram links
:id: tool_req__docs_arch_links
:implemented: PARTIAL
:version: 1
:satisfies:
gd_req__impl_diagram_check_id,
gd_req__impl_diagram_linkage_id,
gd_req__impl_diagram_check_includes,
gd_req__impl_diagram_linkage_includes,
:parent_covered: YES

Architectural diagrams (``mod_view_sta``, ``feat_arc_sta``, ``comp_arc_sta``,
``mod_view_dyn``, ``feat_arc_dyn``, ``comp_arc_dyn``)
shall provide the following links:

.. csv-table::
:header: "Link Type", "Link Target"

"belongs_to", "corresponding architecture element same level"
"includes", "corresponding architecture element lower level"


💻 Detailed Design & Code
##########################

Expand Down
7 changes: 7 additions & 0 deletions src/extensions/score_metamodel/metamodel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,11 @@ needs_types:
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
# req-Id: tool_req__docs_arch_links
includes: logic_arc_int, logic_arc_int_op
# req-Id: tool_req__docs_arch_link_fulfils, tool_req__docs_arch_link_fulfils_aou
fulfils: feat_req, aou_req
# req-Id: tool_req__docs_arch_links
belongs_to: feat # make it mandatory for evaluation
tags:
- architecture_element
Expand All @@ -465,6 +467,7 @@ needs_types:
status: ^(valid|invalid)$
mandatory_links:
fulfils: feat_req
# req-Id: tool_req__docs_arch_links
belongs_to: feat
tags:
- architecture_view
Expand Down Expand Up @@ -539,6 +542,7 @@ needs_types:
color: #FEDCD2
style: card
optional_links:
# req-Id: tool_req__docs_arch_links
belongs_to: mod # for evaluation
includes: comp
tags:
Expand All @@ -553,6 +557,7 @@ needs_types:
style: card
parts: 3
optional_links:
# req-Id: tool_req__docs_arch_links
belongs_to: mod # for evaluation

# Architecture Element
Expand Down Expand Up @@ -592,6 +597,7 @@ needs_types:
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
# req-Id: tool_req__docs_arch_links
belongs_to: comp
# req-Id: tool_req__docs_arch_link_fulfils, tool_req__docs_arch_link_fulfils_aou
fulfils: comp_req, aou_req
Expand All @@ -615,6 +621,7 @@ needs_types:
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
# req-Id: tool_req__docs_arch_links
belongs_to: comp
fulfils: comp_req
tags:
Expand Down
Loading