From 65555d50f7fdf3ae3a76447a3a1c56eb06a7983e Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Tue, 20 Jan 2026 12:56:21 +0100 Subject: [PATCH 1/7] add component to requirement for future fix of meta model --- .../module_name/component_name/docs/requirements/index.rst | 1 + .../guidance/architecture_modeling_example.rst | 1 + .../requirements_engineering/guidance/requirements_templates.rst | 1 + 3 files changed, 3 insertions(+) diff --git a/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst b/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst index 66b777004c..24e835803c 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst @@ -44,6 +44,7 @@ Component Requirements :safety: ASIL_B :satisfies: feat_req__feature_name__some_title :status: invalid + :belongs_to: comp__component_name_template The Component shall do xyz to another component to bring it to this condition at this time diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index 67025ca77e..e6f54ead1e 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -285,5 +285,6 @@ Requierements for the Example :safety: ASIL_B :satisfies: feat_req__example_feature__archdes_example_req :status: valid + :belongs_to: comp__component_example_2 The component shall provide the Logical Operation 4 to get the .. diff --git a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst index 630c773553..11f7deb055 100644 --- a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst +++ b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst @@ -65,6 +65,7 @@ Templates :safety: :satisfies: :status: + :belongs_to: .. gd_temp:: AoU Requirement Template :id: gd_temp__req_aou_req From 93918e60b6e7c6d716f303615b67b9c5245f296f Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 08:31:40 +0100 Subject: [PATCH 2/7] move any changes to one PR --- .../module_name/component_name/docs/architecture/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 669d78e88f..feb1f7b330 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -82,7 +82,6 @@ The components are designed to cover the expectations from the feature architect :security: YES :safety: ASIL_B :status: invalid - :implements: logic_arc_int__feature_name__interface_name1 :fulfils: comp_req__component_name__some_title :includes: comp_arc_sta__component_name__2 @@ -101,6 +100,7 @@ Dynamic Architecture :safety: ASIL_B :status: invalid :fulfils: comp_req__component_name__some_title + :belongs_to: comp__component_name_template Put here a sequence diagram @@ -126,7 +126,6 @@ Internal Components :safety: ASIL_B :security: YES :fulfils: comp_req__component_name__some_title - :implements: logic_arc_int__feature_name__interface_name1 No architecture but detailed design From fc6fd81a22afb882e4a1bc54d26ce117cf0ca457 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 12:06:49 +0100 Subject: [PATCH 3/7] add requirements to components --- MODULE.bazel | 6 ++++++ .../module_name/component_name/docs/architecture/index.rst | 3 +-- .../guidance/architecture_modeling_example.rst | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index f0bd0d67b5..f5005e75c7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,3 +51,9 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.2") + +git_override( + module_name = "score_docs_as_code", + remote = "https://github.com/eclipse-score/docs-as-code.git", + commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", +) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index feb1f7b330..13d8d470f5 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -76,13 +76,13 @@ The components are designed to cover the expectations from the feature architect :safety: ASIL_B :status: invalid :implements: logic_arc_int__feature_name__interface_name1 + :fulfils: comp_req__component_name__some_title .. comp_arc_sta:: Component Name (Static View) :id: comp_arc_sta__component_name__static_view :security: YES :safety: ASIL_B :status: invalid - :fulfils: comp_req__component_name__some_title :includes: comp_arc_sta__component_name__2 .. needarch:: @@ -99,7 +99,6 @@ Dynamic Architecture :security: YES :safety: ASIL_B :status: invalid - :fulfils: comp_req__component_name__some_title :belongs_to: comp__component_name_template Put here a sequence diagram diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index e6f54ead1e..a22623b85c 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -194,6 +194,7 @@ Component Architecure File(s) :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_1 :consists_of: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 + :fulfils: comp_req__example_feature__archex_example_req Example Component 1 description. @@ -212,6 +213,7 @@ Component Architecure File(s) :safety: QM :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_3 + :fulfils: comp_req__example_feature__archex_example_req Example Component 3 description. @@ -221,7 +223,6 @@ Component Architecure File(s) :safety: ASIL_B :security: NO :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 - :fulfils: comp_req__example_feature__archex_example_req .. needarch:: :scale: 50 From b6356f3023277bf7039ea2f8fffa56df3bdda5ca Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 16:58:54 +0100 Subject: [PATCH 4/7] change to latest version --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index f5005e75c7..7073b7d666 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -50,7 +50,7 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") ############################################################################### bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") -bazel_dep(name = "score_docs_as_code", version = "2.3.2") +bazel_dep(name = "score_docs_as_code", version = "2.3.3") git_override( module_name = "score_docs_as_code", From 0448ebbd0c6ce5011f7af4c1620dccd24d3f43f9 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 14:29:43 +0100 Subject: [PATCH 5/7] fix picture and link --- .../docs/architecture/index.rst | 2 +- ...core_building_blocks_meta_model.drawio.svg | 200 +++++++++++------- 2 files changed, 121 insertions(+), 81 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 13d8d470f5..2fd60933ff 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -83,7 +83,7 @@ The components are designed to cover the expectations from the feature architect :security: YES :safety: ASIL_B :status: invalid - :includes: comp_arc_sta__component_name__2 + :includes: comp__component_name_template .. needarch:: :scale: 50 diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index 1c8fda4a87..dee7d5bc3c 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -27,7 +27,7 @@ -
+
1, * @@ -35,7 +35,7 @@
- + 1, * @@ -45,7 +45,7 @@ -
+
belongs_to @@ -67,7 +67,7 @@ -
+
includes @@ -105,14 +105,14 @@ - - + + -
+
implements / @@ -122,7 +122,7 @@
- + implements /... @@ -229,7 +229,7 @@ -
+
fulfills @@ -244,14 +244,14 @@ - + -
+
includes @@ -259,12 +259,52 @@
- + includes + + + + + + + + +
+
+
+ has +
+
+
+
+ + has + +
+
+
+ + + + +
+
+
+ belongs_to +
+
+
+
+ + belongs_to + +
+
+
@@ -298,7 +338,7 @@ -
+
satifies @@ -306,7 +346,7 @@
- + satifies @@ -344,7 +384,7 @@ -
+
1,* @@ -352,7 +392,7 @@
- + 1,* @@ -362,7 +402,7 @@ -
+
belongs_to @@ -370,7 +410,7 @@
- + belongs_to @@ -380,7 +420,7 @@ -
+
consists of @@ -388,7 +428,7 @@
- + consists of @@ -402,7 +442,7 @@ -
+
includes @@ -410,7 +450,7 @@
- + includes @@ -465,7 +505,7 @@ -
+
has @@ -483,7 +523,7 @@ -
+
belongs_to @@ -491,7 +531,7 @@
- + belongs_to @@ -634,7 +674,7 @@ -
+
1, * @@ -642,7 +682,7 @@
- + 1, * @@ -652,7 +692,7 @@ -
+
consists of @@ -660,7 +700,7 @@
- + consists of @@ -670,7 +710,7 @@ -
+
has @@ -688,7 +728,7 @@ -
+
1, * @@ -696,7 +736,7 @@
- + 1, * @@ -733,7 +773,7 @@ -
+
1 @@ -778,7 +818,7 @@ -
+
fulfills @@ -829,7 +869,7 @@ -
+
satifies @@ -837,7 +877,7 @@
- + satifies @@ -869,7 +909,7 @@ -
+
belongs_to @@ -881,7 +921,7 @@
- + belongs_to @@ -942,7 +982,7 @@ -
+
satifies @@ -964,7 +1004,7 @@ -
+
implements @@ -982,7 +1022,7 @@ -
+
consists of @@ -990,14 +1030,14 @@
- + consists of - + @@ -1019,9 +1059,9 @@ - + - + @@ -1155,7 +1195,7 @@ -
+
1, * @@ -1163,7 +1203,7 @@
- + 1, * @@ -1200,8 +1240,8 @@ - - + + @@ -1319,7 +1359,7 @@ -
+
verifies @@ -1327,7 +1367,7 @@
- + verifies @@ -1337,7 +1377,7 @@ -
+
violates @@ -1345,7 +1385,7 @@
- + violates @@ -1355,7 +1395,7 @@ -
+
mitigated_by @@ -1363,7 +1403,7 @@
- + mitigated_by @@ -1373,7 +1413,7 @@ -
+
verifies @@ -1381,7 +1421,7 @@
- + verifies @@ -1486,7 +1526,7 @@ -
+
violates @@ -1494,7 +1534,7 @@
- + violates @@ -1504,7 +1544,7 @@ -
+
mitigated_by @@ -1512,7 +1552,7 @@
- + mitigated_by @@ -1522,7 +1562,7 @@ -
+
mitigated_by @@ -1530,7 +1570,7 @@
- + mitigated_by @@ -1540,7 +1580,7 @@ -
+
mitigated_by @@ -1548,7 +1588,7 @@
- + mitigated_by @@ -1558,7 +1598,7 @@ -
+
verifies @@ -1566,7 +1606,7 @@
- + verifies @@ -1603,7 +1643,7 @@ -
+
verifies @@ -1611,7 +1651,7 @@
- + verifies @@ -1621,7 +1661,7 @@ -
+
verifies @@ -1629,7 +1669,7 @@
- + verifies @@ -1710,7 +1750,7 @@ -
+
mitigated_by @@ -1718,7 +1758,7 @@
- + mitigated_by @@ -1758,7 +1798,7 @@ -
+
mitigated_by @@ -1766,7 +1806,7 @@
- + mitigated_by @@ -1780,7 +1820,7 @@ -
+
violates @@ -1788,7 +1828,7 @@
- + violates @@ -1974,7 +2014,7 @@ -
+
belongs_to @@ -1982,7 +2022,7 @@
- + belongs_to From 7beebaabda18d4ded43fa46916ba1c6e1273ed59 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 14:44:59 +0100 Subject: [PATCH 6/7] fix format --- MODULE.bazel | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 7073b7d666..0dfd74462a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,9 +51,8 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.3") - git_override( module_name = "score_docs_as_code", - remote = "https://github.com/eclipse-score/docs-as-code.git", commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", + remote = "https://github.com/eclipse-score/docs-as-code.git", ) From c2db6f21f42e62756ba2c094a29a54cc6385075d Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 16:03:57 +0100 Subject: [PATCH 7/7] further fixes --- .../component_name/docs/architecture/index.rst | 4 ++-- .../architecture_design/architecture_concept.rst | 9 ++++++--- .../guidance/architecture_modeling_example.rst | 4 +--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 2fd60933ff..6fa660cbc8 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -76,14 +76,13 @@ The components are designed to cover the expectations from the feature architect :safety: ASIL_B :status: invalid :implements: logic_arc_int__feature_name__interface_name1 - :fulfils: comp_req__component_name__some_title .. comp_arc_sta:: Component Name (Static View) :id: comp_arc_sta__component_name__static_view :security: YES :safety: ASIL_B :status: invalid - :includes: comp__component_name_template + :belongs_to: comp__component_name_template .. needarch:: :scale: 50 @@ -125,6 +124,7 @@ Internal Components :safety: ASIL_B :security: YES :fulfils: comp_req__component_name__some_title + :belongs_to: comp__component_example_2 No architecture but detailed design diff --git a/process/process_areas/architecture_design/architecture_concept.rst b/process/process_areas/architecture_design/architecture_concept.rst index bd693653d7..e34ce9ec73 100644 --- a/process/process_areas/architecture_design/architecture_concept.rst +++ b/process/process_areas/architecture_design/architecture_concept.rst @@ -211,8 +211,8 @@ The *component architecture* describes the implementation of the functionalities :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -538,8 +538,8 @@ The following section is an example, how an component looks like and how the det :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -556,7 +556,7 @@ The following section is an example, how an component looks like and how the det :security: NO :includes: logic_arc_int__example_feature__archex_logical_interface_1, comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req - + :belongs_to: comp__component_component_getstrt .. needarch:: :scale: 50 :align: center @@ -603,6 +603,7 @@ Debug example for component architecture: :security: NO :includes: :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -629,6 +630,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun :security: NO :uses: logic_arc_int__example_feature__archex_logical_interface_1 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_component_manual_getstrt .. needuml:: @@ -644,6 +646,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun :security: NO :uses: logic_arc_int__example_feature__archex_logical_interface_1 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index a22623b85c..0860c0b9a3 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -194,7 +194,6 @@ Component Architecure File(s) :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_1 :consists_of: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 - :fulfils: comp_req__example_feature__archex_example_req Example Component 1 description. @@ -213,7 +212,6 @@ Component Architecure File(s) :safety: QM :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_3 - :fulfils: comp_req__example_feature__archex_example_req Example Component 3 description. @@ -222,7 +220,7 @@ Component Architecure File(s) :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50