cnr-ibba/IMAGE-InjectTool

Support the last IMAGE-ValidationTool library

Closed this issue · 0 comments

bunop commented

Is your feature request related to a problem? Please describe.
InjectTool does not support the last IMAGE-ValidationTool version

Describe the solution you'd like
Upgrade code and support last library version. image_validation now returns a ValidationResultRecord for functions like validation.check_usi_structure and validation.check_ruleset. Since all validation objects reply in the same way the Wrong JSON structure status will no more appear. ValidationSummary objects and its related functions should change accordingly

Describe alternatives you've considered
We could keep current version, however we can't add last validation features. We can also force the Wrong JSON structure status for data which fails check_usi_structure

Additional context

  • Upgrade image_validation package
  • Fix/Upgrade code
  • Check tests and Validation behaviour
  • remove Wrong JSON structure and its stuff or force this status again