Azure / pcs-remote-monitoring-webui

Azure IoT PCS Remote Monitoring Web UI
MIT License
54 stars 72 forks source link

Read message schema from module twins #1204

Closed elvinm closed 5 years ago

elvinm commented 5 years ago

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 Reviewable