- 02 Apr, 2019 4 commits
-
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
MigrationAssistant | +-- IncidentMigrationAssistant (Deprecated) | +-- JsonMigrationAssistant | +--using JsonTransformation Interface The JsonTransformation interface is implemented by in two different ways: AbstractJsonTransformation | implements JsonTransformation, JsonNodeExplorer | +-- JoltTransformation --> relying on Jolt [1] | +-- SimpleJsonTransformation --> relying on Jackson JsonNode The JsonTransformation interface provides a three step process of to transform a given scenario File were each consumes a JsonNode and returns the changed JsonNode. 1) preHooks 2) transformation 3) postHooks The MigrationAssistant selects the correct implementation by using the JsonTransformationFactory which map a given Version to the corresponding implementation of some JsonTransformation. 1. Subclass either JoltTransformation or SimpeJsonTransformation. (a) If JoltTransformation is used, a specialized transformation syntax must be used. See [1] for Doc. (b) If SimpleJsonTransformation is used no additional input is needed. The transformation is done by manually manipulating the Jackson JsonNode-Tree 2. add annotation where X.X resembles the Version label i.e. "0.8" @MigrationTransformation(targetVersionLabel = "X.X") 3. add the default constructor with no arguments and the call super constructor passing the Version 4. Implement initDefaultHooks() and add the pre- and postHook LinkedList with JsonTransformationHooks (a) use add[Post|Pre][First|Last] methods. (b) add addPostHookLast(AbstractJsonTransformation::sort) to ensure the right sorting order within the scenario file. 5. (optional) overwrite any of applyPreHooks, applyTransformation, applyPostHooks if needed. 6. (optional) add generic JsonNode manipulations to JsonNodeExplorer This interface contains useful default implementation to navigate a JsonNode-Tree such as: path(jsonNode, "some/path/within/the/json") <-- will return empty nodes with path das not exist pathMustExist(jsonNode, "some/path/within/the/json") <-- will throw MigrationException renameField(node, "release", "version") <-- rename keys iteratorProcessorsByType(jsonRoot, "org...PedestrianVelocityProcessor ) <-- returns an iterator of JsonNodes representing a PedestrianVelocityProcessor [1]: https://github.com/bazaarvoice/joltSigned-off-by: hm-schuhba1's avatarhm-schuhba1 <stefan.schuhbaeck@hm.edu>
-
Stefan Schuhbaeck authored
fix #222. allow renaming and setting of log level programmatically Closes #222 See merge request !54
-
Stefan Schuhbaeck authored
-
- 26 Mar, 2019 4 commits
-
-
Stefan Schuhbaeck authored
fix #225. Keep dialog open after csv export. Closes #225 See merge request !53
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
178 measurement area See merge request !52
-
Stefan Schuhbaeck authored
-
- 20 Mar, 2019 3 commits
-
-
-
Benedikt Zoennchen authored
-
Marion Goedel authored
Issue #138 : Update only if there are still pedestrians in the scenario and /or still pedestrians to be spawned.
-
- 19 Mar, 2019 4 commits
-
-
Stefan Schuhbaeck authored
generated sources see issue #227
-
Marion Goedel authored
-
Marion Goedel authored
-
Marion Goedel authored
-
- 18 Mar, 2019 5 commits
-
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
Add keyboard shortcuts to play, pause and stop animation in post visualization Closes #81 See merge request !50
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
-
- 15 Mar, 2019 1 commit
-
-
adrianhollow authored
-
- 14 Mar, 2019 4 commits
-
-
Benedikt Kleinmeier authored
-
adrianhollow authored
-
adrianhollow authored
-
adrianhollow authored
-
- 11 Mar, 2019 4 commits
-
-
Christina Maria Mayr authored
-
Christina Maria Mayr authored
create ticket
-
Christina Maria Mayr authored
-
Christina Maria Mayr authored
-
- 08 Mar, 2019 5 commits
-
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
-
adrianhollow authored
-
adrianhollow authored
-
- 07 Mar, 2019 2 commits
-
-
adrianhollow authored
-
adrianhollow authored
-
- 04 Mar, 2019 2 commits
-
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
In "run_seed_comparison_test.py" and "run_vadere_console_with_all_scenario_files.py", increased timeouts to avoid errors during CI pipeline. Further changes: - Renamed test directory "TESTOVM" to "TestOVM". - Renamed test directory "TestOSM_Group" to "TestOSMGroup".
-
- 01 Mar, 2019 2 commits
-
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
-