[jboss-jira] [JBoss JIRA] (DROOLS-5124) SceSim editor is not recognizing "default" session in kmodule
Daniele Zonca (Jira)
issues at jboss.org
Tue Mar 3 11:49:02 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987911#comment-13987911 ]
Daniele Zonca edited comment on DROOLS-5124 at 3/3/20 11:48 AM:
----------------------------------------------------------------
[~tari_manga]
I think this is not a bug, {{Stateless Session}} value is not intended to automatically match default value of kmodule. By default scesim looks for a default stateful kieSession, if you want to use another one you need to edit properties in {{Settings}}.
It might be possible that there is no default session (stateful or stateless) at all in the module and you will have to specify the name of the session you want to use so I would stay with the current behavior.
Wdyt? Can we close the ticket?
EDIT: you can also have two default sessions (one stateless and one stateful)
was (Author: danielezonca):
[~tari_manga]
I think this is not a bug, {{Stateless Session}} value is not intended to automatically match default value of kmodule. By default scesim looks for a default stateful kieSession, if you want to use another one you need to edit properties in {{Settings}}.
It might be possible that there is no default session (stateful or stateless) at all in the module and you will have to specify the name of the session you want to use so I would stay with the current behavior.
Wdyt? Can we close the ticket?
> SceSim editor is not recognizing "default" session in kmodule
> -------------------------------------------------------------
>
> Key: DROOLS-5124
> URL: https://issues.redhat.com/browse/DROOLS-5124
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Matteo Mortari
> Assignee: Yeser Amer
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot 2020-03-03 at 15.49.48.png, Screenshot 2020-03-03 at 15.51.52.png
>
>
> steps to reproduce.
> Similaely to sanity check procedure "Test native (DRL) decision services".
> Requires defining in kmodule of the BC Project a default kiebase/kiesession to use it later in the step to invoke on Kie Server.
> So one would normally create something like this in the Project kmodule
> !Screenshot 2020-03-03 at 15.49.48.png|thumbnail!
> But later the scesim editor is not picking up the default:
> !Screenshot 2020-03-03 at 15.51.52.png|thumbnail!
> so it would fail with the error for non-exiting null kie session:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list