Skip to content

Adjust Amarisoft-related promises and tests to treat `data` in `*.json.log` as JSON

Kirill Smelkov requested to merge kirr/slapos.toolbox:y/json-data into master

Hello up there,

This merge-requests primarily adjusts promises code to treat data field in *.json.log as real JSON. It is counterpart to https://lab.nexedi.com/nexedi/slapos/merge_requests/1447 .

  • patch 1 syncs tests to current state of ORS SR;
  • patch 2 removes replacement of ' with " in input data;
  • patch 3 removes UTF-8 decoding when input is fed to json.loads.

Please see individual patches for details.

Kirill

/cc @jhuge, @lu.xu, @tomo, @xavier_thompson, @Daetalus, @jerome

Merge request reports