AbsaOSS / AbsaOSS/vcxagencynode

Add new status update message type

Offen
#161 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
23
Forks
8
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

- Message type `MSGTYPE_UPDATE_MSG_STATUS_BY_CONNS` has following format
```
{
"@type": ,
"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 `uid`s 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": ,
"statusCode": "MS-106",
"uids":["Br4CoNP4TU", ... ]
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.