SIP2: Protocol for self-checkout (UXPROD-1001)

[SIP2-13] SIP2: Request SC Resend Created: 15/Mar/19  Updated: 11/Apr/19  Resolved: 11/Apr/19

Status: Closed
Project: sip2
Components: None
Affects versions: None
Fix versions: 1.0.0
Parent: SIP2: Protocol for self-checkout

Type: Story Priority: P2
Reporter: Magda Zacharska Assignee: Martin Tran
Resolution: Done Votes: 0
Labels: q1-2019-spillover
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Cloners
clones SIP2-12 SIP2: Request ACS Resend Closed
Sprint: 3Ms-SIP2-61
Story Points: 2
Epic Link: SIP2: Protocol for self-checkout

 Description   

Sent from FOLIO to SC requesting SC to resend the last message.



 Comments   
Comment by Magda Zacharska [ 18/Mar/19 ]

It is sent by FOLIO to the SC when the checksum in a received message does not match the value calculated by FOLIO. The SC should respond by re-transmitting its last message, This message should never include a “sequence number” field, even when error detection is enabled, but would include a “checksum” field since checksums are in use.

96

Comment by Martin Tran [ 11/Apr/19 ]

Implemented it as follows:

  • Check that the Message output from the parser contains a checksum string, which indicates that Error Detection was enabled. If it was enabled, then check the validity of the checksum (performed by the parser). If it's invalid, send message 96.
  • Wrapped the socket handler with a RecordParser so that it can take care of waiting for the ending delimiter. This results in requiring all sip messages in tests to end in "\r".
Generated at Fri Feb 09 00:16:50 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.