When edge devices are reporting telemetry there is currently no way to create rules against that data. This is because the rules flyout only looks in the device twin for message schema.
This PR makes a query for modules in the same device group to see if they are reporting a message schema in the module twin. The expected schema to use is something like:
"reported": {
"Telemetry": {
"MessageSchema": {
"Fields": {
"temperature": "Double",
}
}
}
Checklist:
[x] All tests passed
[x] The code follows the code style and conventions of this project
[ ] The change requires a change to the documentation
Type of change?
Description, Context, Motivation
When edge devices are reporting telemetry there is currently no way to create rules against that data. This is because the rules flyout only looks in the device twin for message schema.
This PR makes a query for modules in the same device group to see if they are reporting a message schema in the module twin. The expected schema to use is something like: "reported": { "Telemetry": { "MessageSchema": { "Fields": { "temperature": "Double", } } } Checklist:
This change is