-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom configuration format(s) used by CSE #334
Comments
As the msmi files and the co-simulation configuration are related, these should be in the same format. The scenario files will probably be handmade and should be in a format that is easy to work with for humans. As the other workpackages are about to start using the MSMI files proposed in PR #333 and implemented in the msmi-validator and cse-configurator we should settle it sooner rather than later. xml
json
yaml
|
My recommendation: For other files use XML in combination with .xsd files. |
Humans may interact with scenarios today, but will also be handled by tools most likely. |
My two cents:
|
After discussion in "mob session" and taking in all your arguments, we conclude using xml for the msmi-file and the co-simulation configuration. As the scenario files often will be written by humans, these files should be json or yaml. Let me know if you strongly disagree :) |
Sounds good to me. XML is pretty decent coupled with xsd since you get on the fly input validation in IntelliJ/CLion and for Java you get superb code generation through JAXB. Regarding json and yaml: Remember that they are not mutually exclusive. Choosing yaml means json is also supported :). There are proabably some cavecats, but I think the two main yaml parsers for C++ and Java can handle both. |
Fine by me. IF human interaction is important in the scenario file, you should choose yaml. |
Discussion about the configuration format that is/should be used by CSE for:
The text was updated successfully, but these errors were encountered: