如何维护 Drools 决策表的版本
这是我的场景,我使用 drools 来存储主要是决策表的规则,而不是我想要创建我的知识版本的场景。并根据某些参数想要使用这些知识。
当我决定规则和一切时,今天是我的基本引擎。明天,如果它发生变化,那么它应该只影响新用户,而旧用户应该能够使用旧的规则,如果它再次发生变化,那么我们将拥有三组用户和三组规则。
我可以看到,我可以维护不同的 Excel 文件并加载所有文件,并在规则发生一些更改后继续添加它们。
在同一个文件中,我可以有一个日期或一些标志,通过它我可以决定必须使用哪个规则。
但对我来说,这些似乎都不像标准的流口水解决方案。任何想法或建议
Here is my scenario I am using drools for storing the rules mainly decision tables not I have a scenario where I want to create version of my knowledge. and depending on certain param want to use the knowledge.
today is my base engine when I am deciding the rules and everything. tomorrow if it changes than it should affect only the new user and old user should be able to use the older rules and if it changes again than we have three sets of user and three sets of rules.
I could see that I can maintain different Excel file and load them all and keep adding them once I get some changes in the rule.
In the same file I could have a date or some flag by that I could decide which rule has to be used.
but none of this seems to be looks like a standard drools solution to me. any thoughts or suggestions
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我没记错的话,Drools Guvnor 提供了一个选项来发布不同版本的规则集。公司可以以类似的方式发布不同版本的 Web 服务。
请对此发表评论,因为我也很感兴趣我是否正确,并且它会以这种方式工作:)
If I'm not mistaken Drools Guvnor offers an option to publish different versions of your rule set. In a similar fashion as companies can publish different versions of Web Services.
Please comment back on this as I'm also interested whether I'm correct or not and it'll work in such a manner :)