COVESA / ifex

The Interface Exchange Framework. Tools for processing interface/API descriptions in different formats, including the IFEX core format. Some example files are at: https://github.com/COVESA/vehicle_service_catalog.
Mozilla Public License 2.0
14 stars 17 forks source link

Fixes #109: Fundamental types used in ifex_ast.py #110

Closed mnlbm closed 6 months ago

mnlbm commented 7 months ago

Author: Manuel Böhm [manuel.boehm@mercedes-benz.com](mailto:manuel.boehm@mercedes-benz.com), on behalf of MBition GmbH.

Fix for issue #109: Fundamental types used in ifex_ast.py

Currently the fundamental types used in ifex_ast.py are only [str, int] and the code reflects that. To make the code more future-proof and complete further types are added.

Some other corner-cases and forgotten things might also still be here.


The program was tested solely for our own use cases, which might differ from yours.

The submission is provided under the main project license (LICENSE file in root of project).

Provider Information

gunnar-mb commented 6 months ago

Squashed into single commit and signed-off, and pushed.

gunnar-mb commented 6 months ago

Automated tests failed for ifex_to_json_schema.py. Found a small bug - the test for Any type lost when switching to is_simple_type() function. Tests run OK now.

gunnar-mb commented 6 months ago

Rebased on master after #108 merge

gunnar-mb commented 6 months ago

All OK now. Thanks Manuel! Merging.