forked from faucetsdn/udmi
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
215 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests/traces/lengthy/devices/AHU-1/001_events_pointset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"points" : { | ||
"filter_alarm_pressure_status" : { | ||
"present_value" : true | ||
}, | ||
"filter_differential_pressure_sensor" : { | ||
"present_value" : 11 | ||
} | ||
}, | ||
"timestamp" : "2022-07-17T05:04:26Z", | ||
"version" : "1.5.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"logentries" : [ { | ||
"message" : "2022-07-19T05:04:36Z sending test message #70", | ||
"category" : "device.testing", | ||
"timestamp" : "2022-07-19T05:04:36Z", | ||
"level" : 200 | ||
} ], | ||
"metrics": { | ||
"mem_total_mb": 25164.88, | ||
"store_total_mb": null | ||
}, | ||
"timestamp" : "2022-07-17T05:34:36+0000", | ||
"version" : "1.5.1" | ||
} |
15 changes: 15 additions & 0 deletions
15
tests/traces/lengthy/devices/AHU-1/003_events_pointset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"points" : { | ||
"filter_alarm_pressure_status" : { | ||
"present_value" : true | ||
}, | ||
"filter_differential_pressure_setpoint" : { | ||
"present_value" : 98 | ||
}, | ||
"filter_differential_pressure_sensor" : { | ||
"present_value" : 11 | ||
} | ||
}, | ||
"timestamp" : "2022-07-17T06:07:36Z", // Over threshold from _initial_ event | ||
"version" : "1.5.1" | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/traces/lengthy/expected/devices/AHU-1/events_pointset.attr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"deviceNumId" : "00000062256946", | ||
"publishTime" : "1999-10-20T01:02:03Z", | ||
"subFolder" : "pointset", | ||
"deviceRegistryId" : "ZZ-TRI-FECTA", | ||
"subType" : "events", | ||
"msgSource" : "003_events_pointset.json", | ||
"deviceId" : "AHU-1", | ||
"projectId" : "playback-project" | ||
} |
15 changes: 15 additions & 0 deletions
15
tests/traces/lengthy/expected/devices/AHU-1/events_pointset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"points" : { | ||
"filter_alarm_pressure_status" : { | ||
"present_value" : true | ||
}, | ||
"filter_differential_pressure_setpoint" : { | ||
"present_value" : 98 | ||
}, | ||
"filter_differential_pressure_sensor" : { | ||
"present_value" : 11 | ||
} | ||
}, | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"version" : "1.5.1" | ||
} |
17 changes: 17 additions & 0 deletions
17
tests/traces/lengthy/expected/devices/AHU-1/events_pointset.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"version" : "1.5.1", | ||
"sub_folder" : "pointset", | ||
"sub_type" : "events", | ||
"status" : { | ||
"message" : "Successful validation", | ||
"category" : "validation.device.receive", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 200 | ||
}, | ||
"pointset" : { | ||
"missing" : [ ], | ||
"extra" : [ ] | ||
}, | ||
"errors" : [ ] | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/traces/lengthy/expected/devices/AHU-1/events_system.attr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"deviceNumId" : "00000062256946", | ||
"publishTime" : "2022-07-19T05:04:36+0000", | ||
"subFolder" : "system", | ||
"deviceRegistryId" : "ZZ-TRI-FECTA", | ||
"subType" : "events", | ||
"msgSource" : "002_events_system.json", | ||
"deviceId" : "AHU-1", | ||
"projectId" : "playback-project" | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/traces/lengthy/expected/devices/AHU-1/events_system.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"logentries" : [ { | ||
"message" : "1999-10-20T01:02:03Z sending test message #70", | ||
"category" : "device.testing", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 200 | ||
} ], | ||
"metrics" : { | ||
"mem_total_mb" : 25164.88 | ||
}, | ||
"timestamp" : "2022-07-19T05:04:36+0000", | ||
"version" : "1.5.1" | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/traces/lengthy/expected/devices/AHU-1/events_system.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"version" : "1.5.1", | ||
"sub_folder" : "system", | ||
"sub_type" : "events", | ||
"status" : { | ||
"message" : "Successful validation", | ||
"category" : "validation.device.receive", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 200 | ||
}, | ||
"errors" : [ ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"version" : "1.5.1", | ||
"cloud_version" : { | ||
"deployed_by" : "Default implementation for class com.google.daq.mqtt.validator.MessageReadingClient" | ||
}, | ||
REDACTED, | ||
"start_time" : "1999-10-20T01:02:03Z", | ||
"summary" : { | ||
"correct_devices" : [ "AHU-1" ], | ||
"extra_devices" : [ ], | ||
"missing_devices" : [ ], | ||
"error_devices" : [ "AHU-22", "GAT-123", "SNS-4" ] | ||
}, | ||
"devices" : { | ||
"AHU-1" : { | ||
"last_seen" : "1999-10-20T01:02:03Z", | ||
"status" : { | ||
"message" : "Successful validation", | ||
"category" : "validation.device.receive", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 200 | ||
} | ||
}, | ||
"AHU-22" : { | ||
"last_seen" : "1999-10-20T01:02:03Z", | ||
"status" : { | ||
"message" : "While converting to json node: 2 schema violations found", | ||
"detail" : "events_pointset: While converting to json node: 2 schema violations found @Validator.validateMessage(REDACTED); 2 schema violations found; object instance has properties which are not allowed by the schema: [\"yesvalue\"]; object has missing required properties ([\"version\"])", | ||
"category" : "validation.device.schema", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 500 | ||
} | ||
}, | ||
"GAT-123" : { | ||
"last_seen" : "1999-10-20T01:02:03Z", | ||
"status" : { | ||
"message" : "missing pointset subblock", | ||
"detail" : "state_update: missing pointset subblock", | ||
"category" : "validation.device.schema", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 500 | ||
} | ||
}, | ||
"SNS-4" : { | ||
"last_seen" : "1999-10-20T01:02:03Z", | ||
"status" : { | ||
"message" : "Multiple validation errors", | ||
"detail" : "While converting to json node: 1 schema violations found; Device has extra points: rocket_count, triangulating_axis_y; Unexpected character ('{' (code 123)): was expecting double-quote to start field name\n at [Source: (File), line: 1, column: 3]; While converting to json node: 1 schema violations found", | ||
"category" : "validation.device.multiple", | ||
"timestamp" : "1999-10-20T01:02:03Z", | ||
"level" : 500 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters