Open APIs

 View Only
  • 1.  TMF639 - Open API Conformance

    Posted Dec 15, 2021 09:59

    Hi All,

    Hope you are doing well, safe and healthy

    I am looking some detailed step for open api ctk.
    I have followed below link and performed the steps for TMF639 (TMF639_Resource_Inventory.zip)
    https://projects.tmforum.org/wiki/display/API/Open+API+Conformance

    However I have below question:

    - Should API be up and running before executing Windows-PowerShell-RUNCTK.ps1 ?

    - Should API URL be configured to any place ? If yes, please share the detail with example where it can be configured ?



    ------------------------------
    Best Regards,
    Ashok Hathal
    ------------------------------



  • 2.  RE: TMF639 - Open API Conformance

    TM Forum Member
    Posted Dec 16, 2021 02:53
    Hi Ashok
    Your implementation of the API should certainly be up and running before you attempt to invoke the API from the CTK. Just as it would need to be up and running before any other consumer tries to call the API.
    Regarding the URL, I've referred your query to the TMF focal.
    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.
    ------------------------------



  • 3.  RE: TMF639 - Open API Conformance

    TM Forum Member
    Posted Dec 16, 2021 06:52
    Hi @Ashok Ha​, Yes, the API needs to be running.

    And there is a config.json script on the root folder of the API, you can change the data on this file to match what you need.

    One of the lines is the url, this is the base URL for your API, without the resource itself.
    You can also manipulated the headers and payload for the POST also on this file.

    Best Regards,

    ------------------------------
    Henrique Rodrigues
    TM Forum
    ------------------------------