Skip to content
Open
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
25 changes: 25 additions & 0 deletions docs/internals/requirements/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,31 @@ Testing

Docs-As-Code shall enforce that every Safety Analysis has a short description of the failure effect (e.g. failure lead to an unintended actuation of the analysed element)


.. tool_req:: Safety Analysis Safety Relevant Attribute
:id: tool_req__docs_saf_attrs_safety_relevant
:implemented: YES
:tags: Safety Analysis
:version: 1

Docs-As-Code shall allow needs of type :need:`tool_req__docs_saf_types` and
``plat_saf_dfa`` to have an optional ``safety_relevant`` attribute. The
allowed values are:

* yes
* no


.. tool_req:: FMEA: Root Cause Attribute
:id: tool_req__docs_saf_attrs_root_cause
:implemented: YES
:tags: Safety Analysis
:version: 1

Docs-As-Code shall allow FMEA needs (``feat_saf_fmea``, ``comp_saf_fmea``)
to have an optional ``root_cause`` attribute with non-empty content.


----------------------------------------------------------------
Safety Analysis (DFA + FMEA) Process to Tool Requirement Mapping
----------------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions src/extensions/score_metamodel/metamodel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ needs_types:
violates: feat_arc_sta
optional_options:
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
optional_links:
mitigated_by: stkh_req, aou_req
parts: 3
Expand All @@ -758,6 +759,8 @@ needs_types:
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
# req-Id: tool_req__docs_saf_attrs_safety_relevant
safety_relevant: ^(yes|no)$
optional_links:
# req-Id: tool_req__docs_saf_attrs_mitigated_by
# (only mandatory once valid status == valid)
Expand All @@ -782,6 +785,8 @@ needs_types:
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
# req-Id: tool_req__docs_saf_attrs_safety_relevant
safety_relevant: ^(yes|no)$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: comp_arc_sta
Expand Down Expand Up @@ -810,6 +815,10 @@ needs_types:
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
# req-Id: tool_req__docs_saf_attrs_safety_relevant
safety_relevant: ^(yes|no)$
# req-Id: tool_req__docs_saf_attrs_root_cause
root_cause: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: feat_arc_dyn, feat_arc_sta
Expand Down Expand Up @@ -837,6 +846,10 @@ needs_types:
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
# req-Id: tool_req__docs_saf_attrs_safety_relevant
safety_relevant: ^(yes|no)$
# req-Id: tool_req__docs_saf_attrs_root_cause
root_cause: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: comp_arc_dyn, comp_arc_sta
Expand Down
Loading