Menu

#286 tlm_reply() is missing a sourceURI parameter as defined in the standard

2.0.3.0
closed
2020-08-21
2019-10-14
No

Currently. md replies don't contain a sourceURI. According to the standard it should be set through a parameter of the service primitive call MD.reply. Simply using the destinationURI of the request may lead to a wrong URI being sent back.

Discussion

  • Bernd Löhr

    Bernd Löhr - 2020-02-10
    • Labels: --> Conformance Test
     
  • Stefan Bender

    Stefan Bender - 2020-03-27
    • assigned_to: Stefan Bender
     
  • Bernd Löhr

    Bernd Löhr - 2020-03-27
    • status: open --> accepted
     
  • Bernd Löhr

    Bernd Löhr - 2020-03-27

    API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.

     
  • Bernd Löhr

    Bernd Löhr - 2020-03-27
    • Milestone: 2.1.0.0 --> 2.0.3.0
     
  • Bernd Löhr

    Bernd Löhr - 2020-03-27

    API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.

     
  • Bernd Löhr

    Bernd Löhr - 2020-07-09
    • status: accepted --> open
    • assigned_to: Stefan Bender --> Bernd Löhr
    • Milestone: 2.0.3.0 --> 2.1.0.0
     
  • Bernd Löhr

    Bernd Löhr - 2020-07-09

    API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.
    Update: Changed MS to 2.1 because of API change.

     
  • Bernd Löhr

    Bernd Löhr - 2020-07-29
    • status: open --> accepted
    • Milestone: 2.1.0.0 --> 2.0.3.0
     
  • Bernd Löhr

    Bernd Löhr - 2020-07-29

    To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.

     
  • Bernd Löhr

    Bernd Löhr - 2020-07-29
    • status: accepted --> pending
     
  • Bernd Löhr

    Bernd Löhr - 2020-07-29

    To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.

     
  • Bernd Löhr

    Bernd Löhr - 2020-08-21
    • Status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB