Skip to content

Commit 3be1288

Browse files
cleanup meta model (#379)
1 parent a145da7 commit 3be1288

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

MODULE.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ http_file(
101101
# Note: requirements were last aligned with 1.2.0,
102102
# the switch to 1.3.1 is purely to drop the dependency on docs-as-code 1.x.
103103
bazel_dep(name = "score_process", version = "1.4.2")
104+
git_override(
105+
module_name = "score_process",
106+
commit = "43b3a13eae17f2e539fb8cca2beedb69717b2e12",
107+
remote = "https://github.com/eclipse-score/process_description.git",
108+
)
104109

105110
# Add Linter
106111
bazel_dep(name = "rules_multitool", version = "1.9.0")

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ needs_types:
324324
mandatory_links:
325325
# req-Id: tool_req__docs_req_link_satisfies_allowed
326326
satisfies: feat_req
327+
belongs_to: comp
327328
optional_options:
328329
codelink: ^.*$
329330
testlink: ^.*$
@@ -332,8 +333,6 @@ needs_types:
332333
# req-Id: tool_req__docs_req_attr_testcov
333334
testcovered: ^(YES|NO)$
334335
hash: ^.*$
335-
optional_links:
336-
belongs_to: comp # TODO: make it mandatory
337336
tags:
338337
- requirement
339338
- requirement_excl_process
@@ -435,8 +434,7 @@ needs_types:
435434
status: ^(valid|invalid)$
436435
mandatory_links:
437436
includes: ^logic_arc_int(_op)*__.+$
438-
fulfils: feat_req # TODO: make it mandatory
439-
optional_links:
437+
fulfils: feat_req
440438
belongs_to: feat # make it mandatory for evaluation
441439
tags:
442440
- architecture_element
@@ -457,9 +455,8 @@ needs_types:
457455
# req-Id: tool_req__docs_common_attr_status
458456
status: ^(valid|invalid)$
459457
mandatory_links:
460-
fulfils: feat_req # TODO: make it mandatory
461-
optional_links:
462-
belongs_to: feat # make in mandatory for evaluation
458+
fulfils: feat_req
459+
belongs_to: feat
463460
tags:
464461
- architecture_view
465462
- architecture_element
@@ -481,7 +478,7 @@ needs_types:
481478
status: ^(valid|invalid)$
482479
optional_links:
483480
includes: logic_arc_int_op
484-
fulfils: feat_req # TODO: make it mandatory
481+
fulfils: feat_req
485482
tags:
486483
- architecture_element
487484
- architecture_view
@@ -582,12 +579,11 @@ needs_types:
582579
safety: ^(QM|ASIL_B)$
583580
# req-Id: tool_req__docs_common_attr_status
584581
status: ^(valid|invalid)$
582+
mandatory_links:
583+
belongs_to: comp
584+
fulfils: comp_req
585585
optional_links:
586-
fulfils: comp_req # TODO: make it mandatory
587-
implements: logic_arc_int, real_arc_int_op # deprecated, views does not implement anything. Now moved to comp
588-
includes: comp # deprecated
589586
uses: logic_arc_int, real_arc_int_op
590-
belongs_to: comp # TODO: make it mandatory
591587
tags:
592588
- architecture_view
593589
parts: 3
@@ -605,9 +601,9 @@ needs_types:
605601
safety: ^(QM|ASIL_B)$
606602
# req-Id: tool_req__docs_common_attr_status
607603
status: ^(valid|invalid)$
608-
optional_links:
609-
fulfils: comp_req # TODO: make it mandatory
610-
belongs_to: comp # TODO: make it mandatory
604+
mandatory_links:
605+
belongs_to: comp
606+
fulfils: comp_req
611607
tags:
612608
- architecture_view
613609
parts: 3

0 commit comments

Comments
 (0)