vcxagencynode
vcxagencynode copied to clipboard
Add new status update message type
- Message type
MSGTYPE_UPDATE_MSG_STATUS_BY_CONNShas 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_CONNSsuch that valuespairwiseDIDare ignored and simply merge ofuidis performed, whereas we guarantee on DB level thatuids 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", ... ]
}