-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat(runloop): plugin:configure(configs) handler #11703
Conversation
0318788
to
490d63e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great change!
d82ee05
to
2235663
Compare
@jschmid1 I also tried to minimize the delta between CE and EE on this, see: |
33870d9
to
088c845
Compare
26d3be8
to
b45adf6
Compare
a672f87
to
292c7b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We absolutely need tests for this. What about utilizing one of our mock/test plugins and implement a configure phase that is easily verifiable?
### Summary Adds a new handler that plugins can implement: ``` -- configs will be `nil` if there is no active configs for the plugin function Plugin:configure(configs) end ``` See the change in `acme` plugin. Signed-off-by: Aapo Talvensaari <[email protected]>
292c7b4
to
5ce96a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all my points have been addressed. approved granted the tests pass. @ADD-SP wanted to take a look as well?
Summary
Adds a new handler that plugins can implement:
See the change in
acme
andprometheus
plugins.KAG-2672
KAG-2678
KAG-2679