Closed karikolehmainen closed 11 months ago
As agreed during the last technical meeting with the coordinator, I focused on the user on-boarding part of the flow, which is the most critical for the next demo.
OS Ubuntu 22.04.3 LTS Browser Firefox 117.0.1 (Mozilla Firefox Snap for Ubuntu) Adaptive Questionnaire (AQ) version: 1.6.6 Platform Configurator (PC) version: 0.5.0
JSON parse error: Cannot deserialize value of type ``java.util.UUID`` from String "88f87e4602d33f92c67ed078f1b7e0d0": UUID has to be represented by standard 36-char representation
. 88f87e4602d33f92c67ed078f1b7e0d0
is not formatted as a UUID, but its value is read by PC directly from the datasheet tool database (field information.component_uuid
). Suggestions for @karikolehmainen @RyanKelvinFord :For details about the request payload as sent by the PC to RAMP, check the 'KitSetDTO' payload at https://kitt4sme.collab-cloud.eu/platform-configurator/docs
Findings from the demo flow:
@karikolehmainen about the PC error:
the given datasheet does not match the current schema; indeed, the key information.component_uuid
is missing from the json (and thus, it is impossible to create the payload to send to RAMP, which requires the tool uuid).
As I suggested in my previous comment, we need to fix some entries in the database (which possibly have been inserted by using an old version of the datasheets application), otherwise the PC will skip all of them if not providing the required properties (the exception is caught and the datasheet is discarded)
Schema is now fixed in datasheets backend. API is added to retrieve datasheets with valid RAMP UUID's also new datasheets must have valid UUID when created so issue should not arise again. (two out of 15 datasheets currently do not have valid UUID as the components have not been added to martketplace)
@vcutrona