-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add filenames to req elements in reqrepo. generate the 2nd direction …
…for the bi-directional traceability into the reqrepo for each req.
- Loading branch information
1 parent
4004416
commit 1a990dd
Showing
5 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
@startjson | ||
{"reqsrepopath": ".", "reqsrepofile": "./reqsrepo_json.puml", "reqs": [{"type": "Requirement", "alias": "REQ_WS1", "status": "decided", "derived from": null, "taggedvalues": [{"tag": "Vendor", "values": ["A Inc.", "C Ltd."]}, | ||
{"tag": "Variant", "values": ["SysA", "SysB"]}], "content": "This is a requirement towards my Weather Station. The Weather Station shall be able to measure the temperature.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS2", "status": "new", "derived from": null, "content": "This is another requirement. The Weather Station housing shall be blue.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS3", "status": "aligned", "derived from": null, "content": "The Weather Station shall display the measured temperature so that it is conveniently readable by every human.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS4", "status": "aligned", "derived from": null, "content": "It shall be possible to switch the unit of the displayed temperature between degree celsius and Fahrenheit.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS5", "status": "aligned", "derived from": null, "content": "The unit in which the temperature is displayed shall stay as it is even after the batteries and/or the power supply has been removed.", "derived to": "not yet derived"}]} | ||
{"tag": "Variant", "values": ["SysA", "SysB"]}], "content": "This is a requirement towards my Weather Station. The Weather Station shall be able to measure the temperature.", "derived to": "REQ_SensorA1", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS2", "status": "new", "derived from": null, "content": "This is another requirement. The Weather Station housing shall be blue.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS3", "status": "aligned", "derived from": null, "content": "The Weather Station shall display the measured temperature so that it is conveniently readable by a human looking at it in a distance of up to 3m.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS4", "status": "aligned", "derived from": null, "content": "It shall be possible to switch the unit of the displayed temperature between degree Celsius and Fahrenheit.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS5", "status": "aligned", "derived from": null, "content": "The unit in which the temperature is displayed shall stay as it is even after the batteries and/or the power supply has been removed.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_SensorA1", "status": "aligned", "derived from": "REQ_WS1", "content": "The sensor shall be able to measure the temperature of the surrounding air in the room.", "derived to": "not yet derived", "in file": "./tempSensorA/req.yaml"}]} | ||
@endjson | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
!$allreqs = {"reqsrepopath": ".", "reqsrepofile": "./reqsrepo_json.puml", "reqs": [{"type": "Requirement", "alias": "REQ_WS1", "status": "decided", "derived from": null, "taggedvalues": [{"tag": "Vendor", "values": ["A Inc.", "C Ltd."]}, | ||
{"tag": "Variant", "values": ["SysA", "SysB"]}], "content": "This is a requirement towards my Weather Station. The Weather Station shall be able to measure the temperature.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS2", "status": "new", "derived from": null, "content": "This is another requirement. The Weather Station housing shall be blue.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS3", "status": "aligned", "derived from": null, "content": "The Weather Station shall display the measured temperature so that it is conveniently readable by every human.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS4", "status": "aligned", "derived from": null, "content": "It shall be possible to switch the unit of the displayed temperature between degree celsius and Fahrenheit.", "derived to": "not yet derived"}, | ||
{"type": "Requirement", "alias": "REQ_WS5", "status": "aligned", "derived from": null, "content": "The unit in which the temperature is displayed shall stay as it is even after the batteries and/or the power supply has been removed.", "derived to": "not yet derived"}]} | ||
{"tag": "Variant", "values": ["SysA", "SysB"]}], "content": "This is a requirement towards my Weather Station. The Weather Station shall be able to measure the temperature.", "derived to": "REQ_SensorA1", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS2", "status": "new", "derived from": null, "content": "This is another requirement. The Weather Station housing shall be blue.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS3", "status": "aligned", "derived from": null, "content": "The Weather Station shall display the measured temperature so that it is conveniently readable by a human looking at it in a distance of up to 3m.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS4", "status": "aligned", "derived from": null, "content": "It shall be possible to switch the unit of the displayed temperature between degree Celsius and Fahrenheit.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_WS5", "status": "aligned", "derived from": null, "content": "The unit in which the temperature is displayed shall stay as it is even after the batteries and/or the power supply has been removed.", "derived to": "not yet derived", "in file": "./req.yaml"}, | ||
{"type": "Requirement", "alias": "REQ_SensorA1", "status": "aligned", "derived from": "REQ_WS1", "content": "The sensor shall be able to measure the temperature of the surrounding air in the room.", "derived to": "not yet derived", "in file": "./tempSensorA/req.yaml"}]} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#PUMLARR | ||
|
||
- type: Requirement | ||
alias: REQ_SensorA1 | ||
status: aligned | ||
derived from: REQ_WS1 | ||
content: | ||
The sensor shall be able to measure the temperature of the surrounding air in the room. |