Dear all,
We are currently testing our TMF638 v5 implementation against the latest CTK (TMF638 v5.0.0) and have encountered the following two issues:
1. POST/GET URL Handling
The CTK appends an extra "/" to the URL, causing incorrect request formatting.
-
Issue Location: DO_NOT_CHANGE/cypress/support/commands/routes.js
-
Root Cause: The params argument is not passed by Cypress during the test. As a result, the default value "" is used, which leads to an unwanted "/" being added to the URL.
Relevant Code:
// Line 14
url: route + '/' + params
// Line 25
url: path + '/' + params + query
2. Place Validation Error
Analysis:
As seen in lines 12–17 of DO_NOT_CHANGE/cypress/support/commands/validate.js, the CTK explicitly removes discriminator definitions. This affects the validation of the Place resource.
The relevant schemas (GeographicLocation, GeographicSite, GeographicAddress, PlaceRef) only require @type and id. Without the discriminator, the oneOf logic breaks, resulting in a validation failure for PlaceRef.
The issue can be consistently reproduced using JSON samples from the TMF638 specification or the included request payloads.
Please let us know if you need further details or examples to reproduce the issues.
Thank you in advance for any suggestion or help.
Best regards,
------------------------------
David Xie
Hansen Technologies
------------------------------