thinger-io / thinger-server

Thinger.io Server Repository
MIT License
2 stars 0 forks source link

Allow the configuration of plugin property on plugin install #60

Open bautisflow opened 11 months ago

bautisflow commented 11 months ago

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.