thinger-io/thinger-server

Allow the configuration of plugin property on plugin install

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When installing a new plugin, the plugin.json could define a property and its value to have by default, given that the property does not exist already (upgrades). This could allow us to ship plugins with default configurations.

Describe the solution you'd like
Be able do define a default property for the plugin on the plugin.json description file.

Describe alternatives you've considered
The current solution is to ship the plugins stripped or hard code de configuration in the code, in case of in house developments.

Additional context
For example, the Prometheus Exporter, sigfox and TTN plugins could have a default property.