Enabling features
-
@msbt mm, so while that MR works, it goes against our philosophy of code being readonly at runtime. Wondering if there are any strong reasons to do this. After all, we can just enable the necessary features in the package. Things like --db etc should not be changed by users (the manifest addons are static)
-
@girish is there any workaround/solution planned for this (capability to add/modify features)?
Example, i'm trying to add SMS Auth and Webhook Events capabilities, by first adding the
.jarfiles to theprovidersfolder > add/edit the corresponding conf/env variables inkeycloak.conf> trigger thebuildoperation. But it simply restarts the container, while removing all of my changes to the.conffile. -
I see. In the case of this MR, the executable (the
.jarfile) is rebuilt on every app startup. Thus, this would not be overwritten by an update. The relevant commandline parameters are persistent inenv.shwhen updating.I think there are two failure modes after an update: 1) obsolete commandline parameters in
env.shor 2).jarfiles inproviders/, which were compatible with the previous version but incompatible with the new version. If you want to allow users to select custom features and install custom providers. I think both these options are essentially unavoidable.Let me know if there is something I can improve. I am looking forward to getting this merged.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login