Hi Adinan,
You are right, the problem was not caused by the relatedParty since the CTK-Customer-4.0.0 postman collection was sending engagedParty.
The problem is on a header, the
swagger.json spec available in the TMF website and used to generate the OpenAPI server specifies that the server should produce and consume "
application/json;charset=utf-8":
consumes: [
"application/json;charset=utf-8"
],
produces: [
"application/json;charset=utf-8"
],
Therefor the server created using this OpenAPI spec produces and consumes "application/json;charset=utf-8" but then the CTK is not sending that format, instead it sends: "application/json" which is not interpreted as the same thing:
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},...
When the CTK request with header Accept: "application/json" is received the server responds with a "406 Not Acceptable" error response.
So there are two options, manually change the swagger.json to:
consumes: [
"application/json"
],
produces: [
"application/json"
],
or change the conformance toolkit to send "application/json;charset=utf-8", both of these resources are produced and released by TMF and ideally should not be changed, so I am not sure how to proceed.
Any suggestions?
------------------------------
Eduardo Sanchez
MATRIXX Software
------------------------------
Original Message:
Sent: Oct 15, 2021 14:18
From: Adinan Sousa
Subject: TMF629 Documentation vs Conformance Inconsistency
Hi Eduardo,
I agree with you about the inconsistency in the documentation, but in this case I believe that the inconsistency is in the examples, which has relatedParty instead of engagedParty, but when talking about the CTK, the mandatory attributes are engagedParty and name as you can see on the schema, then in this case it seems that there is no need to change it.

Best regards,
Adinan Sousa
------------------------------
Adinan Sousa
Ericsson Inc.
------------------------------