You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the last delivery, I found tht some improvments and bugs can be tackled:
Logging information: It is necessary to have way to configure the logging level in the data_file like, FULL (like today but 10mm before finshing when more than 10 offers to display...) MEDIUM (only loging main infos like steps passed, nbr of offers but not their details, MINIMUM 5i do not know what would be the minimum...t be discussed)
DATA_File parameters naming convention must be aligned with tehhe OSDM specs, like passenger.reference in data file while externalRef in OSDM spec...
configuration with minimum set of info. If I am using only the foillowing for the trip requirements
{
"origin": "urn:uic:stn:8814001",
"destination": "urn:uic:stn:8892007",
"startDatetime": "2025-01-15T11:00:00"
}
Got the foillowing error :
{type: "Error", name: "TypeError", message: "Cannot read properties of undefined (reading 'replace')"}
Passenger : External reference. I do not know why I set the external ref of the PAX in the data_file, does not seems to be used... as an external ref is generated automatically in the code.
Empty parameters: If a parameter is empty in the data file, it is anyway used to built the offer call. SHould not we check if the parameter is empty before using it, no added value to send empty parameters in the request
{"objectType":"StopPlaceRef","stopPlaceRef":"urn:uic:stn:8892007"},"parameters":{"dataFilter":{"carrierFilter":null,"vehicleFilter":{"vehicleNumbers":[null],"lineNumbers":null,"exclude":false}}}},
The text was updated successfully, but these errors were encountered:
Testing the last delivery, I found tht some improvments and bugs can be tackled:
{
"origin": "urn:uic:stn:8814001",
"destination": "urn:uic:stn:8892007",
"startDatetime": "2025-01-15T11:00:00"
}
Got the foillowing error :
{type: "Error", name: "TypeError", message: "Cannot read properties of undefined (reading 'replace')"}
{"objectType":"StopPlaceRef","stopPlaceRef":"urn:uic:stn:8892007"},"parameters":{"dataFilter":{"carrierFilter":null,"vehicleFilter":{"vehicleNumbers":[null],"lineNumbers":null,"exclude":false}}}},
The text was updated successfully, but these errors were encountered: