[jboss-jira] [JBoss JIRA] (DROOLS-166) Provide a way to dump configuration options after the KieBase was built
Matteo Mortari (JIRA)
issues at jboss.org
Wed Aug 20 10:03:30 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994368#comment-12994368 ]
Matteo Mortari commented on DROOLS-166:
---------------------------------------
With reference to: https://groups.google.com/d/msg/drools-usage/fbF8KhOPCKM/D9pCQvLdfIEJ
Feedback by Edson Tirelli:
{quote}
As we moved to a minimal public API, the getConfiguration() method was moved to the internal API, but I think this can be reconsidered.
May I ask you please to open a JIRA requesting this method be moved to the public API?
Meanwhile, as a workaround, you will need to cast it to the internal API: InternalKnowledgeBase.getConfiguration().
{quote}
As I understand what should be the proper solution based on Edson's feedback, I also was able to discover this bug on JIRA; so I'm going to re-use this record instead of creating a new one.
I do confirm that the workaround in the meantime works for me, thank you very much Edson.
@Petr, for KieSession you can do .getSessionConfiguration() of the public API interface, works for me at least.
> Provide a way to dump configuration options after the KieBase was built
> -----------------------------------------------------------------------
>
> Key: DROOLS-166
> URL: https://issues.jboss.org/browse/DROOLS-166
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta3
> Reporter: Petr Široký
> Assignee: Mario Fusco
> Priority: Minor
>
> It would be nice to have a way to dump all the configuration options that were used when building the KieBase. That would enabled users to verify that the options they specified were indeed applied.
> Similarly it could be useful even for KieSession (sorry if that's already there, I have not checked).
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list