Commit 70bcb25
Update to Metamodel Version 3.2 (#327)
* Updates Go Version and adapts SNAPSHOT Workflow (#8)
* Update to latest aas-package3-golang
* Fixes go mod
* Adapts Vuln Scan Workflow
* Updates SUPPLY_CHAIN_SECURITY.md
* Update to 3.2 dependencies
Co-authored-by: Aaron Zielstorff <aaron.zielstorff@iese.fraunhofer.de>
* Adapts Submodel Repository OpenAPI Yaml to Version 3.2 (incl. SSP 005, 006, 007)
* 1_1_0 Schema Update
* Updates remaining openapi.yml files
Co-authored-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
* Adds aaset kind migration
* Adds small fixes to openapi files
* Fixes aas env test failures
* Implements v3.2 API capabilities
* Increases test coverage and adds docu
* Fixes schema patch test
* Implement history and audit configuration with eventing support
- Added history configuration options via environment variables, including modes for history behavior (off, api, audit), retention days, immutability settings, and audit identity modes.
- Introduced ChangeEvent structure to encapsulate event data for history storage.
- Updated AppendVersionTx to append immutable event rows instead of updating existing history rows.
- Implemented SHA-256 hashing for canonical JSON snapshots and row hashes for history events.
- Added support for audit metadata in history events, including actor subject, request ID, and other contextual information.
- Created tests for history functionality, ensuring stable hashing and correct behavior under different configurations.
- Enhanced documentation to reflect new history features and configuration options.
* Implement PostgreSQL mutation guards for history tables and update related services
* Fixes failing tests
* Rem test
* 1_1_1 Changes
- changes openapi
- adds history guard
* Fixes typo
* Improves new schema changes
Co-authored-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
* Small fixes
* Fixes linting errors
* Resolves Review Remark
* Adapts .gitignore
* Adds missing endpoints
* Small Changes
* Improves documentation
* Adresses review remarks
* Adresses further review remarks
* Adds missing method in pkg submodel repo api
* Adresses review remarks
* Fixes swagger base path handling
* Fixes incorrect operation contracts
* Adresses Martins Remarks
* Fixes incorrect submodel repo query test setup
* Adds logging for new configs and changes order from new to old
* Prepares the new history storage diff mode
---------
Co-authored-by: Aaron Zielstorff <aaron.zielstorff@iese.fraunhofer.de>1 parent d9c0e2c commit 70bcb25
111 files changed
Lines changed: 16293 additions & 8421 deletions
File tree
- cmd
- aasenvironmentservice
- aasregistryservice
- aasrepositoryservice
- aasxfileserverservice
- basyxconfigurationservice
- conceptdescriptionrepositoryservice
- digitaltwinregistryservice
- discoveryservice
- submodelregistryservice
- submodelrepositoryservice
- database/patches
- docu
- developer
- user
- examples/BaSyxHistoryAuditGuardedExample
- aas
- internal
- aasenvironment
- integration_tests
- docker_compose
- preconfiguration_integration_tests/docker_compose/observer
- aasregistry
- api
- integration_tests
- docker_compose
- persistence
- aasrepository
- api
- integration_tests
- docker_compose
- persistence
- common
- history
- model
- security
- swagger_part2_schemas/V3.2.0
- testenv
- conceptdescriptionrepository
- api
- integration_tests
- docker_compose
- persistence
- submodelrepository
- api
- integration_tests
- docker_compose
- persistence
- submodelElements
- query_integration_tests/docker_compose
- pkg
- aasregistryapi
- aasrepositoryapi/go
- aasxfileserverapi
- conceptdescriptionrepositoryapi/go
- submodelrepositoryapi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
| |||
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
121 | | - | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
220 | 224 | | |
221 | 225 | | |
222 | 226 | | |
| 227 | + | |
| 228 | + | |
223 | 229 | | |
224 | | - | |
| 230 | + | |
| 231 | + | |
225 | 232 | | |
226 | 233 | | |
227 | | - | |
| 234 | + | |
| 235 | + | |
228 | 236 | | |
229 | 237 | | |
230 | | - | |
| 238 | + | |
| 239 | + | |
231 | 240 | | |
232 | 241 | | |
233 | | - | |
| 242 | + | |
| 243 | + | |
234 | 244 | | |
235 | 245 | | |
236 | | - | |
| 246 | + | |
| 247 | + | |
237 | 248 | | |
238 | 249 | | |
239 | | - | |
| 250 | + | |
| 251 | + | |
240 | 252 | | |
241 | 253 | | |
242 | | - | |
| 254 | + | |
| 255 | + | |
243 | 256 | | |
244 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
245 | 264 | | |
246 | 265 | | |
247 | 266 | | |
248 | 267 | | |
249 | 268 | | |
250 | 269 | | |
251 | 270 | | |
| 271 | + | |
252 | 272 | | |
253 | 273 | | |
254 | 274 | | |
| |||
291 | 311 | | |
292 | 312 | | |
293 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
294 | 338 | | |
295 | 339 | | |
296 | 340 | | |
| |||
0 commit comments