Let's distinguish between the behavior as tested by the CTK and the expected behavior of the API.
The CTK tests only mandatory properties, as in my previous reply. Subject to correction by @Victor Mari (CTK developer focal) you could pass the CTK by implementing only the properties described as mandatory in the conformance profile.
However a realistic implementation of the API would be expected to honor all parts of the entity model, and (for example) persist all the properties of ProductOrder, OrderItem, etc. If (for example) you are vendor of an order management system, your CSP customer might be rather annoyed if they discover that you don't support embedded Product within OrderItem even if it's optional in the profile.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jul 05, 2023 09:16
From: Waleed AbuQalben
Subject: TMF622 Conformance profile (RAND)
@Jonathan Goldberg
Sorry for the confusion, the below image is from the Conformance profile for TMF622 page 29 the request is 3 pages long and most of the attributes in it is optional.
to make my API accepted in the CTK:
Should I expect to resave all the information in the request (because it is the minimum required info as stated in the image below)?
Or I Should only expect to resave the mandatory attributes?
Thank for your help.
------------------------------
Waleed AbuQalben
TO BE VERIFIED
Original Message:
Sent: Jul 05, 2023 07:20
From: Jonathan Goldberg
Subject: TMF622 Conformance profile (RAND)
Hi Waleed
Not sure I understand your question. The conformance profile test (e.g. for POST) will expect to receive in the POST request body all the properties that are marked as Mandatory on the conformance profile. The operation call will fail (and so the test will fail) if a mandatory property is missing. If optional properties are missing, the call should succeed.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
Original Message:
Sent: Jul 05, 2023 03:14
From: Waleed AbuQalben
Subject: TMF622 Conformance profile (RAND)
Hello all,
In the Conformance profile for TMF622 page 34 for creating a prodectOrder (POST request) test case scenario:
The request has the minimum required information, which means (as I understand) that I should expect all these attributes (even if they are optional)
to pass the Conformance Test. (please correct me if I'm wrong)
What to do with the optional attributes like category, requestedStartDate, note ..etc if I don't need them in my request.
------------------------------
Waleed AbuQalben
TO BE VERIFIED
------------------------------