Correct message topology in test JSON

This commit is contained in:
Jon Chambers 2024-12-19 14:34:49 -05:00 committed by Jon Chambers
parent 8af939d320
commit 68209f270e
12 changed files with 36 additions and 48 deletions

View File

@ -1,23 +1,21 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"destinationRegistrationId" : 222, "destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 2, "destinationDeviceId" : 2,
"destinationRegistrationId" : 333, "destinationRegistrationId" : 333,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"destinationRegistrationId" : 222, "destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,20 +1,18 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 3, "destinationDeviceId" : 3,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 4, "destinationDeviceId" : 4,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,23 +1,21 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"destinationRegistrationId" : 222, "destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 2, "destinationDeviceId" : 2,
"destinationRegistrationId" : 333, "destinationRegistrationId" : 333,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 3, "destinationDeviceId" : 3,
"destinationRegistrationId" : 444, "destinationRegistrationId" : 444,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,26 +1,24 @@
{ {
"urgent": false, "urgent": false,
"timestamp": 1234,
"messages": [ "messages": [
{ {
"type": 1, "type": 1,
"destinationDeviceId": 1, "destinationDeviceId": 1,
"destinationRegistrationId": 222, "destinationRegistrationId": 222,
"content": "Zm9vYmFyego", "content": "Zm9vYmFyego"
"timestamp": 1234
}, },
{ {
"type": 1, "type": 1,
"destinationDeviceId": 2, "destinationDeviceId": 2,
"destinationRegistrationId": 333, "destinationRegistrationId": 333,
"content": "Zm9vYmFyego", "content": "Zm9vYmFyego"
"timestamp": 1234
}, },
{ {
"type": 1, "type": 1,
"destinationDeviceId": 3, "destinationDeviceId": 3,
"destinationRegistrationId": 444, "destinationRegistrationId": 444,
"content": "Zm9vYmFyego", "content": "Zm9vYmFyego"
"timestamp": 1234
} }
] ]
} }

View File

@ -1,23 +1,21 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"destinationRegistrationId" : 2222, "destinationRegistrationId" : 2222,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 2, "destinationDeviceId" : 2,
"destinationRegistrationId" : 3333, "destinationRegistrationId" : 3333,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 3, "destinationDeviceId" : 3,
"destinationRegistrationId" : 4444, "destinationRegistrationId" : 4444,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,8 +1,8 @@
{ {
"timestamp" : 1234,
"messages" : [ { "messages" : [ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, null ] }, null ]
} }

View File

@ -1,23 +1,21 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"destinationRegistrationId" : 222, "destinationRegistrationId" : 222,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 2, "destinationDeviceId" : 2,
"destinationRegistrationId" : 999, "destinationRegistrationId" : 999,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}, },
{ {
"type" : 1, "type" : 1,
"destinationDeviceId" : 3, "destinationDeviceId" : 3,
"destinationRegistrationId" : 444, "destinationRegistrationId" : 444,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,8 +1,8 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,8 +1,8 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 7, "type" : 7,
"destinationDeviceId" : 1, "destinationDeviceId" : 1,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }

View File

@ -1,11 +1,11 @@
{ {
"urgent": false, "urgent": false,
"timestamp": 1234,
"messages": [ "messages": [
{ {
"type": 1, "type": 1,
"destinationDeviceId": 1, "destinationDeviceId": 1,
"content": "Zm9vYmFyego", "content": "Zm9vYmFyego"
"timestamp": 1234
} }
] ]
} }

View File

@ -1,10 +1,10 @@
{ {
"timestamp": 1234,
"messages": [ "messages": [
{ {
"type": 5, "type": 5,
"destinationDeviceId": 1, "destinationDeviceId": 1,
"content": "Zm9vYmFyego", "content": "Zm9vYmFyego"
"timestamp": 1234
} }
] ]
} }

View File

@ -1,8 +1,8 @@
{ {
"timestamp" : 1234,
"messages" : [{ "messages" : [{
"type" : 1, "type" : 1,
"destinationDeviceId" : 2, "destinationDeviceId" : 2,
"content" : "Zm9vYmFyego", "content" : "Zm9vYmFyego"
"timestamp" : 1234
}] }]
} }