-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
RFC: Isolate the Rules DSL and package it as a bundle #526
Comments
This should be really fairly simple - we already have dedicated Karaf features for the DSL rules, so those could be simply made optional, once we do not want to package the "old" rule engine by default anymore. |
That info probably saved me a couple hours! Is there a way to turn a Karaf feature into a bundle, so that someone could choose to install/uninstall through Paper UI? |
Sounds as if you still have to learn a bit about Karaf features 😎 - they cannot be "turned into a bundle", they are simply a set of bundles (roughly speaking). Features with a specific naming ( |
Yes... this is definitely an area I'm not familiar with! 🙂 I'd like to make this change locally to test (and learn!), but I'm not sure I understand the mechanism for toggling optional/required. I see an /etc/org.apache.karaf.features.cfg with featuresBoot in my local install, but I can't find this file in the repo. I'm also not sure which line in featureBoot installs openhab-core-model-rule. But if it is removed from features.xml, this should prevent it from installing by default. Then, move A rule engine is at the heart of an HA system, but shouldn't it be optional, for people who DIY their own (e.g. node-RED)? I'm not saying to make it an optional feature now, but maybe in OH3 make them both optional? |
@openhab-5iver I'm relatively new to openHAB but I like the direction it is taking. |
I'd be happy to submit the PRs for these! |
Depends on whether we can make existing rules work on the new rule engine with merely small adaptations. As long as we don't have an answer to this, it should be optionally available.
It should be technically an independent component, but any standard openHAB setup must have it included. Just like @ghys' new Default UI. |
As we transition to the NGRE, we will need the ability to choose which engine is installed on a system. I will begin researching this, but wanted to quickly throw this out here to pull in others that would like to help and/or discuss.
The text was updated successfully, but these errors were encountered: