kuzzleio / kuzzle-device-manager

IoT Devices & Assets Management providing digital twins, payload decoding, normalized measures, provisioning. Multi-Tenant ready for white labelled and B2B2C applications.
https://docs.kuzzle.io/official-plugins/device-manager/1
Apache License 2.0
14 stars 7 forks source link

Move Decoders from init of the plugin to the dedicated DecodersService #37

Closed rolljee closed 2 years ago

rolljee commented 3 years ago

Description

Decoders are initialized at the root level of the plugin (inside the init fonction) it will be better to move all that logic of init at the place where it belong -> DecodersService

rolljee commented 3 years ago

https://github.com/kuzzleio/kuzzle-plugin-device-manager/pull/114

This PR add a DecoderController and a Decoderservice i guess we could move the logic in there when this PR is merged

Aschen commented 3 years ago

Yes we could refactor all this part incrementally now 👍