Open APIs

 View Only
  • 1.  TMF 630 - Task resource pattern

    Posted May 26, 2020 07:44
    TMF 630 part 1 document has  task resource pattern described which has  iterator based response.  Should we use this when we have to perform the task on an object and then gather the response in a pagination mode . Is Iterator based task a way to achieve pagination requirement?  The example of iterator based response looks incomplete since the POST request has no body.


    ------------------------------
    Rati Mehrotra
    Telstra Corporation
    ------------------------------


  • 2.  RE: TMF 630 - Task resource pattern

    Posted May 26, 2020 10:59
    Hi Rati

    Thanks for pointing this out. Assuming you are referring to the previously released guidelines (17.5).

    The updated design guidelines, TMF630, are published for member review here: https://projects.tmforum.org/wiki/display/PUB/TMF630+REST+API+Design+Guidelines+v4.0
    Can I suggest that you take a look at these revised guidelines. If you still have a concern, suggest you raise it with @Alexis De Peufeilhoux - whose hard work (with others) was behind the substantial revisions that have been made in this release.

    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: TMF 630 - Task resource pattern

    Posted May 26, 2020 19:21
    Hi @Jonathan Goldberg,  Thanks for the latest link. I had checked in this as well and the POST example looks same.

    Hi @Alexis De Peufeilhoux , Can you please assist with this query  regarding the TMF 630 v4 ​​ iterator based response for task resource? Is it for pagination ? The example of POST request has no body , is it complete.

    ------------------------------
    Rati Mehrotra
    Telstra Corporation
    ------------------------------



  • 4.  RE: TMF 630 - Task resource pattern

    Posted May 27, 2020 02:01
    Hi Rati,

    The provided example iterates on alternate geographic addresses, part of the result of a GeographicAddressValidation task. Sure you can use it for pagination, if there are more alternate geographic addresses that you can display on a page.
    The POST body shall not be empty, as it should contain the GeographicAddressValidation with the address to be validated. However the purpose of the paragraph is to illustrate the iterator, not the address validation. Still this requires a note.
    Thanks for your attention

    Regards

    AdP

    ------------------------------
    Alexis de Peufeilhoux
    Deutsche Telekom AG
    ------------------------------