Skip to content

Commit 5bd6f0e

Browse files
chore(test): add some resource for event tests"
1 parent 5742879 commit 5bd6f0e

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"data":{
3+
"modelId":"dtmi:io:github:smartoperatingblock:OperatingRoom;1",
4+
"patch":[
5+
{
6+
"value":6,
7+
"path":"/humidity",
8+
"op":"replace"
9+
}
10+
]
11+
},
12+
"contenttype":"application/json",
13+
"traceparent":"00-ec33d2b7df39351b8526aa8a26816c2a-fd2b158b466da2d2-01",
14+
"id":"ProvaOperatingRoom",
15+
"eventType":"Microsoft.DigitalTwins.Twin.Update",
16+
"eventDateTime":"2/15/2023 4:30:58 PM +00:00"
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"data":{
3+
"modelId":"dtmi:io:github:smartoperatingblock:OperatingRoom;1",
4+
"patch":[
5+
{
6+
"value":5,
7+
"path":"/luminosity",
8+
"op":"replace"
9+
}
10+
]
11+
},
12+
"contenttype":"application/json",
13+
"traceparent":"00-9682a07951f5ad4a3bf9a301675f361d-9327e76e9ed9b525-01",
14+
"id":"ProvaOperatingRoom",
15+
"eventType":"Microsoft.DigitalTwins.Twin.Update",
16+
"eventDateTime":"2/15/2023 4:35:53 PM +00:00"
17+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"data":{
3+
"modelId":"dtmi:io:github:smartoperatingblock:OperatingRoom;1",
4+
"patch":[
5+
{
6+
"value":5,
7+
"path":"/temperature",
8+
"op":"replace"
9+
}
10+
]
11+
},
12+
"contenttype":"application/json",
13+
"traceparent":"00-9682a07951f5ad4a3bf9a301675f361d-9327e76e9ed9b525-01",
14+
"id":"ProvaOperatingRoom",
15+
"eventType":"Microsoft.DigitalTwins.Twin.Update",
16+
"eventDateTime":"2/15/2023 4:35:53 PM +00:00"
17+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"data":{
3+
"$relationshipId":"96d407cc-afdd-48e1-8972-3b7413333058",
4+
"$etag":"W/\"20b6b6a5-0349-4027-9f4a-dba5af30e39c\"",
5+
"$sourceId":"health1",
6+
"$relationshipName":"rel_is_inside",
7+
"$targetId":"ProvaOperatingRoom",
8+
"$sourceModel":"dtmi:io:github:smartoperatingblock:HealthProfessional;1"
9+
},
10+
"contenttype":"application/json",
11+
"traceparent":"00-acc18931bfbcdac4cd520dc3b08fc871-53281297c87d648b-01",
12+
"id":"health1/relationships/96d407cc-afdd-48e1-8972-3b7413333058",
13+
"eventType":"Microsoft.DigitalTwins.Relationship.Create",
14+
"eventDateTime":"2/15/2023 4:40:25 PM +00:00"
15+
}

0 commit comments

Comments
 (0)