xenanetworks / open-automation-core

🚀 XOA framework for test execution, tester management, and data subscription.
https://docs.xenanetworks.com/projects/xoa-core
Apache License 2.0
2 stars 0 forks source link

The json data generated by converter different from REST API's paylaod #20

Closed leonardhyu closed 1 year ago

leonardhyu commented 1 year ago

@ArtemConstantinov I noticed that the json file generated by converter from .v2544 is different from the actual payload we pass via REST API. There is no test_name or destination fields in the json file but in the REST API payload.

Is this by design or a bug?

Converted json:

Image

REST API payload:

Image

ArtemConstantinov commented 1 year ago

The converter is not related to the api, it's only converting old config files to the new format which test suite from xoa-core expecting to get.

Guys already need to adjust test-suites to an updated structure of the port_identities coz latest version of the core push updated version of that field which represents a list of dict instead dict of dict's