[jboss-jira] [JBoss JIRA] (DROOLS-1269) RHQ / JON plug-in display wrong hierarchy and repeatedly nesting KieSession under KieBase

Matteo Mortari (JIRA) issues at jboss.org
Thu Sep 8 07:51:01 EDT 2016


    [ https://issues.jboss.org/browse/DROOLS-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290512#comment-13290512 ] 

Matteo Mortari commented on DROOLS-1269:
----------------------------------------

Fixed for correct nesting and correct hierarchy display by cascading
manually the {{\{kcontainerId\}}} variable. Specifically, the hierarchy now is:

{code}
KieContainer
 + KieBase
    + KieSession
{code}

The KieBase: take the {{\{kcontainerId\}}} variable from the parent, and
re-exposes it as a new variable "kcId", at the level of the KieBase
itself. In turn, now the KieSession can access to {{\{kcId\}}} variable,
effectively and for any pragmatic effect representing the KieContainer
from the grand-parent.

Functional test result on RHQ / JON : 
!screenshot-1.png|thumbnail!
In the screenshot, the JVisualVM is show the correct nesting of the KieSession under their respective KieBases. Now the hierarchy is correctly reflected on the RHQ/JON plug-in, and the KieSession are correctly nested only under the KieBase they actually belongs to.

> RHQ / JON plug-in display wrong hierarchy and repeatedly nesting KieSession under KieBase
> -----------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1269
>                 URL: https://issues.jboss.org/browse/DROOLS-1269
>             Project: Drools
>          Issue Type: Bug
>          Components: integration
>    Affects Versions: 6.1.0.Final, 6.2.0.Final, 6.3.0.Final, 6.4.0.Final
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>            Priority: Minor
>             Fix For: 6.5.0.Final, 7.0.0.Final
>
>         Attachments: rhqjon.png, screenshot-1.png
>
>
> ... regardless of the real KieBase they actually belong to.
> Ref example screenshot:
> !rhqjon.png|thumbnail!



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list