@@ -29,6 +29,7 @@ Requirements
2929 :safety: ASIL_B
3030 :satisfies: feat_req__persistency__support_datatype_keys
3131 :status: valid
32+ :belongs_to: comp__persistency_kvs
3233
3334 The component shall accept keys that consist solely of alphanumeric characters, underscores, or dashes.
3435
@@ -39,7 +40,8 @@ Requirements
3940 :safety: ASIL_B
4041 :satisfies: feat_req__persistency__support_datatype_keys
4142 :status: valid
42-
43+ :belongs_to: comp__persistency_kvs
44+
4345 The component shall encode each key as valid UTF-8.
4446
4547.. comp_req :: Key Uniqueness
@@ -49,6 +51,7 @@ Requirements
4951 :safety: ASIL_B
5052 :satisfies: feat_req__persistency__support_datatype_keys
5153 :status: valid
54+ :belongs_to: comp__persistency_kvs
5255
5356 The component shall guarantee that each key is unique.
5457
@@ -59,6 +62,7 @@ Requirements
5962 :safety: ASIL_B
6063 :satisfies: feat_req__persistency__support_datatype_keys
6164 :status: valid
65+ :belongs_to: comp__persistency_kvs
6266
6367 The component shall limit the maximum length of a key to 32 bytes.
6468
@@ -69,7 +73,8 @@ Requirements
6973 :safety: ASIL_B
7074 :satisfies: feat_req__persistency__support_datatype_value
7175 :status: valid
72-
76+ :belongs_to: comp__persistency_kvs
77+
7378 The component shall accept only values of the following data types: Number,
7479 String, Null, Array[Value], or Dictionary{Key:Value}.
7580
@@ -80,6 +85,7 @@ Requirements
8085 :safety: ASIL_B
8186 :satisfies: feat_req__persistency__support_datatype_value
8287 :status: valid
88+ :belongs_to: comp__persistency_kvs
8389
8490 The component shall serialize and deserialize all values to and from JSON.
8591
@@ -90,6 +96,7 @@ Requirements
9096 :safety: ASIL_B
9197 :satisfies: feat_req__persistency__support_datatype_value
9298 :status: valid
99+ :belongs_to: comp__persistency_kvs
93100
94101 The component shall limit the maximum length of a value to 1024 bytes.
95102
@@ -100,6 +107,7 @@ Requirements
100107 :safety: ASIL_B
101108 :satisfies: feat_req__persistency__support_datatype_value,feat_req__persistency__default_values
102109 :status: valid
110+ :belongs_to: comp__persistency_kvs
103111
104112 The component shall support unset values and shall provide a default value
105113 when a value is unset.
@@ -111,6 +119,7 @@ Requirements
111119 :safety: ASIL_B
112120 :satisfies: feat_req__persistency__support_datatype_value,feat_req__persistency__default_values
113121 :status: valid
122+ :belongs_to: comp__persistency_kvs
114123
115124 The component shall allow resetting a value to its default if a default is
116125 defined.
@@ -122,6 +131,7 @@ Requirements
122131 :safety: ASIL_B
123132 :satisfies: feat_req__persistency__default_values,feat_req__persistency__default_value_get,feat_req__persistency__reset_to_default,feat_req__persistency__default_value_file
124133 :status: valid
134+ :belongs_to: comp__persistency_kvs
125135
126136 The component shall accept default values of only permitted value data
127137 types.
@@ -133,6 +143,7 @@ Requirements
133143 :safety: ASIL_B
134144 :satisfies: feat_req__persistency__default_values,feat_req__persistency__default_value_get,feat_req__persistency__reset_to_default,feat_req__persistency__default_value_file
135145 :status: valid
146+ :belongs_to: comp__persistency_kvs
136147
137148 The component shall provide an API to retrieve default values.
138149
@@ -143,6 +154,7 @@ Requirements
143154 :safety: ASIL_B
144155 :satisfies: feat_req__persistency__default_values,feat_req__persistency__default_value_get,feat_req__persistency__reset_to_default,feat_req__persistency__default_value_file
145156 :status: valid
157+ :belongs_to: comp__persistency_kvs
146158
147159 The component shall allow configuration of default values in code or in a
148160 separate configuration file.
@@ -154,6 +166,7 @@ Requirements
154166 :safety: ASIL_B
155167 :satisfies: feat_req__persistency__default_values,feat_req__persistency__default_value_get,feat_req__persistency__reset_to_default,feat_req__persistency__default_value_file
156168 :status: valid
169+ :belongs_to: comp__persistency_kvs
157170
158171 The component shall secure the configuration file for default values with an
159172 associated checksum file when default values are stored in a file.
@@ -165,6 +178,7 @@ Requirements
165178 :safety: ASIL_B
166179 :satisfies: feat_req__persistency__cfg
167180 :status: valid
181+ :belongs_to: comp__persistency_kvs
168182
169183 The component shall allow configuration of KVS constraints at compile-time
170184 using source code constants or at runtime using a configuration file.
@@ -176,6 +190,7 @@ Requirements
176190 :safety: ASIL_B
177191 :satisfies: feat_req__persistency__concurrency
178192 :status: valid
193+ :belongs_to: comp__persistency_kvs
179194
180195 The component shall implement thread-safe mechanisms to enable concurrent
181196 access to data without data races.
@@ -187,6 +202,7 @@ Requirements
187202 :safety: ASIL_B
188203 :satisfies: feat_req__persistency__multiple_kvs
189204 :status: valid
205+ :belongs_to: comp__persistency_kvs
190206
191207 The component shall manage all runtime variables within an instance to
192208 enable creation and use of multiple KVS instances concurrently within a
@@ -199,6 +215,7 @@ Requirements
199215 :safety: ASIL_B
200216 :satisfies: feat_req__persistency__integrity_check,feat_req__persistency__store_data
201217 :status: valid
218+ :belongs_to: comp__persistency_kvs
202219
203220 The component shall use the file API and the JSON data format to persist data.
204221
@@ -209,6 +226,7 @@ Requirements
209226 :safety: ASIL_B
210227 :satisfies: feat_req__persistency__integrity_check,feat_req__persistency__store_data
211228 :status: valid
229+ :belongs_to: comp__persistency_kvs
212230
213231 The component shall generate a checksum for each data file and shall store
214232 it alongside the data.
@@ -220,6 +238,7 @@ Requirements
220238 :safety: ASIL_B
221239 :satisfies: feat_req__persistency__integrity_check,feat_req__persistency__load_data
222240 :status: valid
241+ :belongs_to: comp__persistency_kvs
223242
224243 The component shall verify the checksum when loading data.
225244
@@ -230,6 +249,7 @@ Requirements
230249 :safety: ASIL_B
231250 :satisfies: feat_req__persistency__integrity_check,feat_req__persistency__store_data
232251 :status: valid
252+ :belongs_to: comp__persistency_kvs
233253
234254 The component shall use the file API to persist data.
235255
@@ -240,6 +260,7 @@ Requirements
240260 :safety: ASIL_B
241261 :satisfies: feat_req__persistency__integrity_check,feat_req__persistency__store_data
242262 :status: valid
263+ :belongs_to: comp__persistency_kvs
243264
244265 The component shall use the JSON data format to persist data.
245266
@@ -250,6 +271,7 @@ Requirements
250271 :safety: ASIL_B
251272 :satisfies: feat_req__persistency__versioning,feat_req__persistency__update_mechanism
252273 :status: valid
274+ :belongs_to: comp__persistency_kvs
253275
254276 The component shall not provide built-in versioning.
255277
@@ -260,6 +282,7 @@ Requirements
260282 :safety: ASIL_B
261283 :satisfies: feat_req__persistency__versioning,feat_req__persistency__update_mechanism
262284 :status: valid
285+ :belongs_to: comp__persistency_kvs
263286
264287 The component shall use a JSON file storage format that enables the
265288 application to implement versioning, including upgrade and downgrade paths,
@@ -272,6 +295,7 @@ Requirements
272295 :safety: ASIL_B
273296 :satisfies: feat_req__persistency__snapshot_create
274297 :status: valid
298+ :belongs_to: comp__persistency_kvs
275299
276300 The component shall create a snapshot each time data is stored.
277301
@@ -282,6 +306,7 @@ Requirements
282306 :safety: ASIL_B
283307 :satisfies: feat_req__persistency__cfg
284308 :status: valid
309+ :belongs_to: comp__persistency_kvs
285310
286311 The component shall maintain a configurable maximum number of snapshots.
287312
@@ -292,6 +317,7 @@ Requirements
292317 :safety: ASIL_B
293318 :satisfies: feat_req__persistency__snapshot_create
294319 :status: valid
320+ :belongs_to: comp__persistency_kvs
295321
296322 The component shall assign the ID 1 to the newest snapshot and shall increment the IDs of older snapshots accordingly.
297323
@@ -302,6 +328,7 @@ Requirements
302328 :safety: ASIL_B
303329 :satisfies: feat_req__persistency__snapshot_remove, feat_req__persistency__snapshot_restore
304330 :status: valid
331+ :belongs_to: comp__persistency_kvs
305332
306333 The component shall rotate and delete the oldest snapshot when the maximum number is reached.
307334
@@ -312,6 +339,7 @@ Requirements
312339 :safety: ASIL_B
313340 :satisfies: feat_req__persistency__snapshot_restore
314341 :status: valid
342+ :belongs_to: comp__persistency_kvs
315343
316344 The component shall allow restoration of a snapshot by its ID.
317345
@@ -322,6 +350,7 @@ Requirements
322350 :safety: ASIL_B
323351 :satisfies: feat_req__persistency__snapshot_remove
324352 :status: valid
353+ :belongs_to: comp__persistency_kvs
325354
326355 The component shall allow deletion of individual snapshots.
327356
@@ -332,6 +361,7 @@ Requirements
332361 :safety: ASIL_B
333362 :satisfies: feat_req__persistency__dev_mode
334363 :status: valid
364+ :belongs_to: comp__persistency_kvs
335365
336366 The component shall provide an engineering mode that can be enabled during
337367 build time to display debugging and internal information.
@@ -343,6 +373,7 @@ Requirements
343373 :safety: ASIL_B
344374 :satisfies: feat_req__persistency__prod_mode
345375 :status: valid
376+ :belongs_to: comp__persistency_kvs
346377
347378 The component shall provide a field mode that can be enabled during build
348379 time to restrict access as much as possible.
@@ -354,6 +385,7 @@ Requirements
354385 :safety: ASIL_B
355386 :satisfies: feat_req__persistency__async_api
356387 :status: valid
388+ :belongs_to: comp__persistency_kvs
357389
358390 The component shall provide an asynchronous API in addition to the standard API.
359391
@@ -364,6 +396,7 @@ Requirements
364396 :safety: ASIL_B
365397 :satisfies: feat_req__persistency__access_control
366398 :status: valid
399+ :belongs_to: comp__persistency_kvs
367400
368401 The component shall rely on the underlying filesystem for access and
369402 permission management and shall not implement its own access or permission
@@ -376,6 +409,7 @@ Requirements
376409 :safety: ASIL_B
377410 :satisfies: feat_req__persistency__access_control
378411 :status: valid
412+ :belongs_to: comp__persistency_kvs
379413
380414 The component shall report any access or permission errors encountered at
381415 the filesystem level to the application.
@@ -387,6 +421,7 @@ Requirements
387421 :safety: ASIL_B
388422 :satisfies: feat_req__persistency__async_api, feat_req__persistency__async_completion
389423 :status: valid
424+ :belongs_to: comp__persistency_kvs
390425
391426 The component shall provide an API for registering callbacks that are triggered by data change events.
392427
0 commit comments