Skip to content

Commit a8c93f2

Browse files
authored
add new need doc_tool (#137)
doc_tool added for tool verification reports updated document with optional_links and moved realizes under this category
1 parent e438c8c commit a8c93f2

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ bazel_dep(name = "score_cr_checker", version = "0.3.1")
9797

9898
# Grab dash
9999
bazel_dep(name = "score_dash_license_checker", version = "0.1.1")
100-
bazel_dep(name = "score_process", version = "1.0.2")
100+
bazel_dep(name = "score_process", version = "1.0.4")

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ needs_types:
166166
optional_links:
167167
contains: ^rl__.*$
168168

169-
# Documents
169+
# Documents, process_description only
170170
doc_concept:
171171
title: Concept Definition
172172
prefix: doc_concept__
@@ -181,6 +181,7 @@ needs_types:
181181
id: ^doc_getstrt__[0-9a-z_]*$
182182
status: ^(valid|draft)$
183183

184+
# Documents, score, and other modules only
184185
document:
185186
title: Generic Document
186187
prefix: doc__
@@ -190,6 +191,20 @@ needs_types:
190191
optional_options:
191192
safety: "^(QM|ASIL_B)$"
192193
security: "^(YES|NO)$"
194+
optional_links:
195+
realizes: "^wp__.+$"
196+
197+
doc_tool:
198+
title: Tool Verification Report
199+
prefix: doc_tool__
200+
mandatory_options:
201+
id: ^doc_tool__[0-9a-z_]*$
202+
status: ^(draft|evaluated|qualified|released|rejected)$
203+
version: ^.*$
204+
safety_affected: "^(YES|NO)$"
205+
security_affected: "^(YES|NO)$"
206+
tcl: "^(LOW|HIGH)$"
207+
optional_links:
193208
realizes: "^wp__.+$"
194209

195210
# Requirements
@@ -628,6 +643,11 @@ needs_extra_links:
628643
incoming: complies to
629644
outgoing: complies
630645

646+
# document, doc_tool
647+
realizes:
648+
incoming: realized by
649+
outgoing: realizes
650+
631651
##############################################################
632652
# S-CORE Metamodel
633653
##############################################################

0 commit comments

Comments
 (0)