summaryrefslogtreecommitdiffstats
path: root/spec/spec
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-27 10:51:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commitea176558fc14f46096e45f58cd858062acbcd150 (patch)
treeb55eb79f94330814261f541e7fb964cd02880d35 /spec/spec
parentitems: Add link role filter to Item methods (diff)
downloadrtems-central-ea176558fc14f46096e45f58cd858062acbcd150.tar.bz2
spec: Add dedicated constraint items
Diffstat (limited to 'spec/spec')
-rw-r--r--spec/spec/constraint-role.yml23
-rw-r--r--spec/spec/constraint.yml24
2 files changed, 41 insertions, 6 deletions
diff --git a/spec/spec/constraint-role.yml b/spec/spec/constraint-role.yml
new file mode 100644
index 00000000..c57cf17f
--- /dev/null
+++ b/spec/spec/constraint-role.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+- role: spec-refinement
+ spec-key: role
+ spec-value: constraint
+ uid: link
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes: {}
+ description: |
+ It defines the constraint role of links. The link target shall be a
+ constraint.
+ required-attributes: all
+spec-name: Constraint Link Role
+spec-type: constraint-role
+type: spec
diff --git a/spec/spec/constraint.yml b/spec/spec/constraint.yml
index 446c97f8..aa00f51f 100644
--- a/spec/spec/constraint.yml
+++ b/spec/spec/constraint.yml
@@ -6,18 +6,30 @@ links:
- role: spec-member
uid: root
- role: spec-refinement
- spec-key: role
+ spec-key: type
spec-value: constraint
- uid: link
+ uid: root
spec-description: null
spec-example: null
spec-info:
dict:
- attributes: {}
+ attributes:
+ rationale:
+ description: |
+ If the value is present, then it shall state the rationale or
+ justification of the constraint.
+ spec-type: optional-str
+ scope:
+ description: |
+ It shall be the scope of the constraint.
+ spec-type: str
+ text:
+ description: |
+ It shall state the constraint.
+ spec-type: requirement-text
description: |
- It defines the constraint role of links. The link target shall be a
- constraint.
+ This set of attributes specifies a constraint.
required-attributes: all
-spec-name: Constraint Link Role
+spec-name: Constraint Item Type
spec-type: constraint
type: spec