International-Data-Spaces-Association / IDS-testbed

Apache License 2.0
24 stars 32 forks source link

Invalid JSON for artifact #88

Closed IgorBalog-Eng closed 2 years ago

IgorBalog-Eng commented 2 years ago

Example payload which is used in testbed, is not valid JSON. It contains invalid characters, like ‘ and ’, and when you decode payload from DSC, and try to format JSON, it will not be possible.

"{‘type’:’FeatureCollection’,’features’:[{‘type’:’Feature’,’id’:’Autowarn_Analyse.fid-46a27240_180cc7856b1_-1fb6’,

When executing preconfigure request Artifacts: POST /api/artifacts this one will insert invalid json string to DSC provider connector.

Possible solution: update postman collection, and replace existing invalid json string with correct one.

This one does not impact on Testbed functionality, since no real payload processing is done.

jfernandezsqs commented 2 years ago

It should be solved in the PR #78

jfernandezsqs commented 2 years ago

Thanks for reporting the issue Igor! PR #78 merged. This issue is solved, therefore I close it.