TM Forum Community

 View Only
  • 1.  CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Aug 27, 2023 03:30

    Hi Team,

    We have tried to executed CTK tool for TMF629- Customer Management API. Here CTK is expecting "href" as mandatory in response result while TMF629 swagger file showing "href" as optional in response.  Can you please suggest which one is correct and how to proceed further?

    CTK Result :

    Swagger File :


    #General

    ------------------------------
    Chetan Patel
    Tech Mahindra Limited
    ------------------------------


  • 2.  RE: CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Aug 30, 2023 03:33

    Hi Team,

    Can any one please help me for my query?

    Thanks

    Chetan Patel



    ------------------------------
    Chetan Patel
    Tech Mahindra Limited
    ------------------------------



  • 3.  RE: CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Aug 30, 2023 06:06

    According to design guidelines (TMF630), id and href are mandatory in output (must be populated) of GET on the top-level entity and on any embedded <entity>Ref .

    Hope it helps



    ------------------------------
    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.
    ------------------------------



  • 4.  RE: CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Aug 30, 2023 06:15

    Thanks a lot @Jonathan Goldberg for response.

    So here guidelines (TMF630) and swagger of TMF APIs are conflict because if we following swagger then it will not compliance with CTK asked.

    We are getting both Id & href mandatory  only for few TMF APIs response<Post/Patch/Get/Get{id}> operations while Majority APIs swagger is showing optional.



    ------------------------------
    Chetan Patel
    Tech Mahindra Limited
    ------------------------------



  • 5.  RE: CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Aug 31, 2023 09:18

    Hello Jonathan,

    Thanks for sharing the update on the above point.

    Still, I am not sure which needs to be followed as Swagger and CTK has the different parameters/values as mandate point of view.

    Could you please confirm that which needs to be followed Swagger Or CTK?

    Please confirm.

    Thanks in advance. 

     



    ------------------------------
    Raj Gahalot
    Tech Mahindra Limited
    ------------------------------



  • 6.  RE: CTK Test for TMF629 Customer Management

    TM Forum Member
    Posted Nov 14, 2023 04:40

    Sorry for the delayed response.

    The CTK is generated from a conformance profile, which is represented as a document in the list of assets for an API. The conformance profile is hand-crafted by the API designer, with assistance from tooling that creates the initial profile based on the swagger.

    The profile is considered as part of the standard, so it is possible that the API designer decides that in various contexts a field must be populated in the output even though this is not represented explicitly in the swagger file.

    Hope it helps and sorry about the delayed response. 



    ------------------------------
    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.
    ------------------------------