EdgeLab-FHDO / Edge-Diagnostic-Platform

MIT License
0 stars 2 forks source link

Fixed Jackson ignore annotation to obtain correct Scenario serializing #90

Closed juan-castrillon closed 3 years ago

juan-castrillon commented 3 years ago

Fixes #89 .

Jackson was not ignoring the runner and ownerModuleproperties inherited in Scenario from PlatformInput and PlatformObject so it was trying to serialize those objects as well, when serializing a Scenario

Fixed it by adding them to the @JsonIgnoreProperties annotation