Open APIs

 View Only
  • 1.  TMF 637 ProductAttributeValueChangeEvent and ProductStateChangeEvent Payload

    TM Forum Member
    Posted Aug 08, 2024 04:11
    Edited by Ilyas Premji Aug 08, 2024 04:30

    Hey team,

    Per TMF637-ProductInventory (v5.0.0), The product inventory (PI) should publish these events when patch requests against Product Entity completed.

    Our question are about the what the event payload and which event(s) will be published. To be detailed,

    1. Per patch request with `status` field ONLY, will the ProductStateChangeEvent be published ONLY?
      1. From the meaning of the event, if the `status` doesn't change between request and db, the event shouldn't be published, right?
      2. What's the event payload? Per the swagger definition, the `Product` entity should be the payload, but what specific fields should be published? Will `status` be the ONLY field to be published?
    2. Per patch request with any other fields besides `status` field, will the ProductAttributeValueChangeEvent be published? 
      1. From the meaning of the event, if the fields doesn't change between request and db, the event shouldn't be published, right?
      2. What's the event payload? Per the swagger definition, the `Product` entity should be the payload, but what specific fields should be published? All changed fields should be published?
    3. Per patch request with any other fields along with `status` field, which event(s) will be published?
      1. For example, if the `status` fields changed, the StateChangeEvent should be published as item 1st above, but for other fields will be sent through AttributeChangeEvent as item 2nd above.

    Hope it is clear to you, and we are looking forward to your suggestion! Thanks

    Duplicate with the following one, will mark as deprecated.



    ------------------------------
    Shangfeng Liu
    LotusFlare
    ------------------------------



  • 2.  RE: TMF 637 ProductAttributeValueChangeEvent and ProductStateChangeEvent Payload

    TM Forum Member
    Posted Aug 08, 2024 06:06

    This is a duplicate post, please follow on the other thread: https://engage.tmforum.org/discussion/tmf-637-productattributevaluechangeevent-and-productstatechangeevent-payload-1



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