Create plugin standard
LNow opened this issue · comments
Is your feature request related to a problem? Please describe.
In order to implement plugins system we need a plugin-trait contract that defines set of public functions all plugins must expose.
Describe the solution you'd like
Trait with 2 functions:
get-name
returns plugin nameget-version
returns plugin version
Additional context
Discussion can about plugins, how they should work and communicate with each other can be found here: #24
I'd like to think on this more as a result of our convo in #24 . Would be nice to have an updated C4 of communication between RBAC, SCPS, and Treasury(Vault) before diving into implementation level details. Do you agree? I can provide a new C4 with our updated understanding this weekend. As of right now I don't have a perfect perspective on how all of the pieces fit together to know whether or not the solution proposed in this issue is the best approach.
OK, lets update our models first.
Is your feature request related to a problem? Please describe.
In order to implement plugins system we need a plugin-trait contract that defines set of public functions all plugins must expose.Describe the solution you'd like
Trait with 2 functions:
get-name
returns plugin nameget-version
returns plugin versionAdditional context
Discussion can about plugins, how they should work and communicate with each other can be found here: #24
This is goung to be a kind of standard for writing plugin contracts?
This is goung to be a kind of standard for writing plugin contracts?
Yes it should be viewed as standard minimal set of functions that every single plugin must implement.
This is goung to be a kind of standard for writing plugin contracts?
Yes it should be viewed as standard minimal set of functions that every single plugin must implement.
Ok then we should set its standard identifier... Syv-05