Commit 757d17d
Launch Manager supports the new configuration format (#110)
* Basic python setup for mapping script
* Add latest example configuration
* Merging of default values
* Basic smoketest for defaults preprocessing
* Start to map PHM configuration
* Separate unit and integration tests
* Document mapping decisions and initial known limitations
* Copy dict only internally when merging defaults
* Initial mapping of hm configuration
* Treat StateManager supervision same as other supervisions
* Fix time unit and some flatbuffer schema violations
* basic Integration test for health configuration
* Better nameing of env vars in unit test
* Configs for health integration test
* Start work
* Almost done
* Add validation and update sample configs
* Add health test for empty config
* Update Readme file with validation info
* Continue config mapping script
* Cleanup
* Fix error in mapping script
* Minor fixes
* Cleanup
* Prevent cyclic dependencies
* First changes
* Cleanup
* Undo some changes
* Undo some changes
* Bazel command for lifecylce config gen
* Undo more changes, fix out of range
* Config generation working without pip dependency
* More cleanup
* Export jsonschema python dependency
* Fix python formatting
* Adapt expected output to file renaming
* Make shortName required
* Update Readme file with bazel interface
* Move script to tests folder
* Initial version of the new API
* Remove flatbuffer script
* Address reviewer comments
* Adapt ControlClient implementation to new API
* Update health config integration test
* Fix merge error in MODULE.bazel
* Adapt examples to use the bazel config generation
* Start demo via bazel target
* Merge different pip environments
* Add some custom validation rules
* Migrate smoketest to new configuration
* More integration tests
* Revert debugging changes
* Fix example scenario configuration
* Correct smoketest configuration
* Revert more debugging changes
* Fix crash
* Remove temporary schema file
* Update readme file
* Clarify that certain attributes will be ignored
* Use lowercase name for watchdog
* Run config tests via bazel
* Define central lifecycle bazel rules
* Add progress message to bazel function
* Make pip environment a proper dependency
This environment is used in the public bazel function for config
generation
* Improve error message
* Remove obsolete config scripts
* Fix formatting
* Fix copyright headers
* Tidy MODULE.bazel file
* Improve schema validation error message
* Fix formatting
* Use defined default values in configuration mapping
* Simplify bazel example runner
---------
Co-authored-by: Empting Eelco (ETAS-ECM/XPC-Fe2) <Eelco.Empting2@etas.com>
Co-authored-by: Eelco Empting <158553993+eelcoem@users.noreply.github.com>
Co-authored-by: SimonKozik <244535158+SimonKozik@users.noreply.github.com>
Co-authored-by: Paul Quiring <paul.quiring@etas.com>1 parent 1bd00fa commit 757d17d
76 files changed
Lines changed: 4887 additions & 1309 deletions
File tree
- examples
- config
- control_application
- cpp_supervised_app
- scripts
- config_mapping
- tests
- basic_test
- expected_output
- input
- custom_validation_failures_test/input
- empty_health_config_test
- expected_output
- input
- empty_lm_config_test
- expected_output
- input
- health_config_test
- expected_output
- input
- lm_config_test
- expected_output
- input
- schema_validation_failure_test/input
- src
- control_client_lib
- include/score/lcm
- src
- launch_manager_daemon
- config
- config_schema
- health_monitor_lib
- config
- src/score/lcm/saf/recovery
- src
- configuration_manager
- process_group_manager
- tests
- integration
- smoke
- scripts
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 | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | | - | |
| 132 | + | |
132 | 133 | | |
133 | | - | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
17 | | - | |
| 14 | + | |
18 | 15 | | |
19 | | - | |
| 16 | + | |
20 | 17 | | |
21 | | - | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | | - | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments