vcxagencynode icon indicating copy to clipboard operation
vcxagencynode copied to clipboard

Add new status update message type

Open Patrik-Stas opened this issue 3 years ago • 0 comments

  • Message type MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS has following format
{
    "@type": <MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS>,
    "statusCode": "MS-106",
    "uidsByConns": [{"pairwiseDID":"6FRuB95abcmzz1nURoHyWE","uids":["Br4CoNP4TU"]}, ...]
}
  • In PR https://github.com/AbsaOSS/vcxagencynode/pull/159 we changed behaviour of MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS such that values pairwiseDID are ignored and simply merge of uid is performed, whereas we guarantee on DB level that uids are unique across all agent connections.

We should deprecate MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS and replace it by new message type with simpler argument interface. Proposal

{
    "@type": <MSGTYPE_UPDATE_MSG_STATUS_BY_UID>,
    "statusCode": "MS-106",
   "uids":["Br4CoNP4TU", ... ] 
}

Patrik-Stas avatar Apr 08 '22 08:04 Patrik-Stas