从 Guvnor 下载 Drools RuleFlow 文件
我可以将 RuleFlow (.rf) 文件上传到 Guvnor(5.1 M1 和 5.0)并使用服务器上的规则执行它们。如果我想使用 Guvnor 作为存储库,有什么方法可以将 RuleFlow 文件即时下载到我的项目中?
在包级别,Guvnor 提供了一些仅讨论规则的“信息和重要 URL”。我想知道是否有其他 URL 可以为我提供 RuleFlow 文件? WebDav 是我唯一的选择吗?
I can upload RuleFlow (.rf) files to Guvnor (both 5.1 M1 and 5.0) and execute them with rules on the server. If I want to use Guvnor as a repository, is there any way I can download the RuleFlow files into my project on the fly?
On the package level, Guvnor provides some "Information and Important URLs" which only talk about rules. I was wondering if there is any other URL which will give me the RuleFlow files? Is WebDav my only other option?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果将规则流文件添加到 Guvnor,它们将成为构建包时创建的编译包的一部分。当您使用知识代理从 Guvnor 构建知识库时,它也将包含规则流,因此您可以在项目中执行这些规则流。
If you add your ruleflow files to Guvnor, they will be part of the compiled package that is created when building your package. When you use the knowledge agent to build a knowledge base from Guvnor, it will include the ruleflows as well, so you can execute these in your project.
如果您确实需要 .rf 文件 - 您可以使用下载链接/按钮提供的链接(但它需要经过身份验证的会话)。否则,正如您所猜测的,webdav 可以提供该文件的 URL。
If you really do need the .rf file - you can use the link that the Download link/button provides (it requires an authenticated session though). Otherwise webdav can provide a URL to the file, as you guessed.