Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor front end code so message decoding is externally callable #28

Open
dajtxx opened this issue Feb 7, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@dajtxx
Copy link
Collaborator

dajtxx commented Feb 7, 2023

By making the message decoding function externally callable we gain the following benefits:

  • The code becomes unit testable.
  • The code can be fed messages from the raw_messages table for reprocessing those messages.
  • In the case of MQTT messages the code can be dynamically loaded and called based upon topic name patterns so we only need one MQTT receiving process.

The decoding function should take 1 message 'as received' and return an array of decoded messages in IoTa's internal format.

The decoding function will be responsible for determining the physical device for each returned message because this is source/provider specific.

@dajtxx dajtxx added the enhancement New feature or request label Feb 7, 2023
dajtxx pushed a commit that referenced this issue Oct 31, 2023
…_front_end_processors

MQTT Processors Fixes UAT Round 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant