Skip to content

Commit c19d6e5

Browse files
authored
Merge pull request #7 from ode4hera/dev
Updated requirements management library
2 parents cec9b9d + 1c689b7 commit c19d6e5

6 files changed

Lines changed: 37 additions & 35 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Install sysand
2929
run: |
30-
curl -fsSL https://client.sysand.com/install.sh | sh -s -- --version latest
30+
curl -fsSL https://sysand.com/install.sh | SYSAND_VERSION=latest sh
3131
3232
- name: Check version in git tag matches the project's declared version
3333
run: |
@@ -51,25 +51,7 @@ jobs:
5151

5252
- name: Install sysand
5353
run: |
54-
curl -fsSL https://client.sysand.com/install.sh | sh -s -- --version latest
55-
56-
- name: Acquire and configure sysand index credentials
57-
run: |
58-
GITHUB_OIDC_TOKEN=$(
59-
curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
60-
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sysand" \
61-
| grep -o '"value": *"[^"]*"' \
62-
| cut -d'"' -f4 \
63-
)
64-
SYSAND_INDEX_TOKEN=$(
65-
curl -s -X POST "${SYSAND_INDEX_URL}/api/v1/oidc/token" \
66-
-H "Content-Type: application/json" \
67-
-d "{\"token\": \"${GITHUB_OIDC_TOKEN}\"}" \
68-
| grep -o '"token": *"[^"]*"' \
69-
| cut -d'"' -f4 \
70-
)
71-
echo "SYSAND_CRED_X=${SYSAND_INDEX_URL}/api/v1/**" >> "$GITHUB_ENV"
72-
echo "SYSAND_CRED_X_BEARER_TOKEN=$SYSAND_INDEX_TOKEN" >> "$GITHUB_ENV"
54+
curl -fsSL https://sysand.com/install.sh | SYSAND_VERSION=latest sh
7355
7456
- name: Build and publish the project to the index
7557
run: |

simulation_analysis/.project.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "Simulation and Analysis",
3+
"publisher": "ode4hera",
34
"description": "Library for modeling simulation and analysis concepts, in particular related to Model-Based Design (MBD) and Multidisciplinary Design Analysis and Optimization (MDAO).",
4-
"version": "2.0.1",
5+
"version": "2.0.2",
56
"license": "MIT",
67
"maintainer": [
78
"German Aerospace Center (DLR) <digital.engineering@dlr.de>"
89
],
9-
"publisher": "ode4hera",
1010
"website": "https://www.ode4hera.eu/",
1111
"topic": [
1212
"MBD",
@@ -15,10 +15,6 @@
1515
"Multidisciplinary Design Analysis and Optimization"
1616
],
1717
"usage": [
18-
{
19-
"resource": "pkg:sysand/ode4hera/requirements-management",
20-
"versionConstraint": "^2.0.0"
21-
},
2218
{
2319
"resource": "pkg:sysand/ode4hera/architecture-design",
2420
"versionConstraint": "^2.0.0"
@@ -34,6 +30,10 @@
3430
},
3531
{
3632
"resource": "https://www.omg.org/spec/SysML/20250201/Systems-Library.kpar"
33+
},
34+
{
35+
"resource": "pkg:sysand/ode4hera/requirements-management",
36+
"versionConstraint": "^2.0.1"
3737
}
3838
]
3939
}

simulation_analysis/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Simulation and Analysis Changelog
22

3-
## 2026-05-29: v2.0
3+
## 2026-07-14: v2.0.2
4+
5+
- Support changes in requirements management library (changed SYSMOD dependency)
6+
7+
## 2026-05-29: v2.0.1
48

59
- Reworked the MDAO problem definition structure to be more SysML v2-native
610
- Reused design variable and metric attribute definitions from the Architecture Design library

simulation_analysis/MultiDisciplinaryAnalysisOptimization.sysml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ library package MultidisciplinaryDesignAnalysisOptimization {
5454

5555
private import ScalarValues::*;
5656
private import Collections::*;
57-
private import SYSMOD::*;
57+
private import RequirementsManagement::*;
5858
private import ModelBasedDesign::*;
5959
private import ArchitectureDesign::*;
6060
public import MDAOSemanticMetadata::*;

simulation_analysis/examples/mdao/TMS/01_TMS_stakeholder_needs.sysml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ package TMS_Stakeholders {
1919

2020
part <Stake01> airline: Stakeholder {
2121
doc /* Specific airline company */
22-
attribute priority :>> risk = SYSMOD::PriorityKind::high;
22+
attribute :>> risk = SYSMOD::LevelKind::high;
2323
contact :>> contact= "point.of.contact@airline.com";
24-
:>> categories = StakeholderCategoryKind::User;
24+
:>> categories = StakeholderCategoryKind::user;
2525
}
2626
part <Stake02> aircraft_oem: Stakeholder {
2727
doc /* Specific aircraft manufacturer */

simulation_analysis/sysand-lock.toml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
lock_version = "0.5"
44

55
[[project]]
6+
publisher = "ode4hera"
67
name = "Architecture Design"
78
version = "2.0.0"
89
exports = [
@@ -100,13 +101,12 @@ usages = [
100101
]
101102

102103
[[project]]
104+
publisher = "ode4hera"
103105
name = "Requirements Management"
104-
version = "2.0.0"
106+
version = "2.0.1"
105107
exports = [
106108
"RequirementsManagement",
107109
"RequirementsManagement_AttributesExample",
108-
"SYSMOD",
109-
"SYSMOD_Process",
110110
]
111111
identifiers = [
112112
"pkg:sysand/ode4hera/requirements-management",
@@ -116,14 +116,16 @@ usages = [
116116
"https://www.omg.org/spec/KerML/20250201/Function-Library.kpar",
117117
"https://www.omg.org/spec/KerML/20250201/Semantic-Library.kpar",
118118
"https://www.omg.org/spec/SysML/20250201/Systems-Library.kpar",
119+
"pkg:sysand/mbse4u/sysmod",
119120
]
120121
sources = [
121-
{ index_kpar = "https://sysand.com/index/ode4hera/requirements-management/2.0.0/project.kpar", kpar_size = 11017, kpar_digest = "7703ee330e3787cc73907e863ef9b3d508bac6f2a8e956b72cd85cf23d5af6f0" },
122+
{ index_kpar = "https://sysand.com/index/ode4hera/requirements-management/2.0.1/project.kpar", kpar_size = 8798, kpar_digest = "bf4fa99b780a02c6498afd6912b18f70bb4321e04a306ecf474570a8cfdc2d68" },
122123
]
123124

124125
[[project]]
126+
publisher = "ode4hera"
125127
name = "Simulation and Analysis"
126-
version = "2.0.0"
128+
version = "2.0.2"
127129
exports = [
128130
"ArchitectureFileExample",
129131
"FlightControlSystemExample",
@@ -196,3 +198,17 @@ usages = [
196198
"https://www.omg.org/spec/KerML/20250201/Function-Library.kpar",
197199
"https://www.omg.org/spec/KerML/20250201/Semantic-Library.kpar",
198200
]
201+
202+
[[project]]
203+
publisher = "mbse4u"
204+
name = "sysmod"
205+
version = "5.1.0"
206+
exports = [
207+
"SYSMOD",
208+
]
209+
identifiers = [
210+
"pkg:sysand/mbse4u/sysmod",
211+
]
212+
sources = [
213+
{ index_kpar = "https://sysand.com/index/mbse4u/sysmod/5.1.0/project.kpar", kpar_size = 17039, kpar_digest = "2245124597e8c182d6e0060c714e9c0c942f8cde8e1ec60e5341fd2dc7c60cf4" },
214+
]

0 commit comments

Comments
 (0)