hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
90 stars 20 forks source link

feat(22556): Add column mapping to the batch subscription flow #441

Closed vanch3d closed 1 month ago

vanch3d commented 1 month ago

See https://hivemq.kanbanize.com/ctrl_board/57/cards/22556/details/

This PR is the third step in the Batch Subscription epic and allows users to map columns of the data they uploaded to specific subscription properties.

The PR extracts the required properties of the subscription JSONSchema and the column of the worksheet, to present them in a select-based form. A simple auto-mapping (based on a Levenshtein distance) is also implemented to populate the mapping.

Out-of-scope

Before

After

screenshot-localhost_3000-2024 05 30-07_37_01

screenshot-localhost_3000-2024 05 30-07_37_14

screenshot-localhost_3000-2024 05 30-07_37_34