Open APIs

 View Only
  • 1.  Hub endpoint

    Posted Jun 16, 2021 09:44
    Hello, I have a question regarding a /hub endpoint present in all of the specification. I can see it is a pub/sub pattern endpoint but I have a hard time what type of events should be published once there is a subscription? It's pretty clear in other examples what has to be sent, it's not in the case of the /hub endpoint.

    ------------------------------
    Jan Petryk
    TO BE VERIFIED
    ------------------------------


  • 2.  RE: Hub endpoint

    TM Forum Member
    Posted Jun 16, 2021 10:36
    Hi Jan
    The event structure is documented at the end of each user guide. Basically it's a bunch of header fields, and a JSON object that is typically the entire entity that is the subject of the event.
    Suggest you also look at the design guidelines TMF630, which you can find here.
    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: Hub endpoint

    TM Forum Member
    Posted Jun 17, 2021 12:28
    Hi Jan,

    The hub indeed provides a pub/sub pattern for the notifications of each specification. TMF does not prescribe if a single hub is required per specification or if one hub is used for multiple specifications. The last model matches the ODA design where there could be one hub per domain.

    The implementation of the hub requires a message queue (e.g. Rabbit MQ) or a streaming platform (e.g. Kafka) in the background.

    We are launching a commercial hub implementation based on Kafka later this year. Let me know by private reply if you are interested in beta-testing.

    ------------------------------
    Koen Peeters
    Ciminko Luxembourg
    ------------------------------