[JBoss JIRA] (DROOLS-5587) SceSim requires an F5 and full Build when testing and importing DMN model
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-5587:
--------------------------------------
Summary: SceSim requires an F5 and full Build when testing and importing DMN model
Key: DROOLS-5587
URL: https://issues.redhat.com/browse/DROOLS-5587
Project: Drools
Issue Type: Bug
Components: Test Scenarios Editor
Reporter: Matteo Mortari
Assignee: Toni Rikkola
Attachments: Screenshot 2020-08-20 at 09.39.37.png
Create in BC 2 DMN files, when creating the importing model Save but don't build.
Create SceSim for the importing model.
Execution works but pop-up if failed values won't show actual values.
!Screenshot 2020-08-20 at 09.39.37.png|thumbnail!
(on mouseover no pop, clicking view alerts nothing happens)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 11 months
[JBoss JIRA] (DROOLS-5577) Calling static Java method from DMN model (Drools Business Central)
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5577?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5577:
--------------------------------
Labels: support (was: )
> Calling static Java method from DMN model (Drools Business Central)
> -------------------------------------------------------------------
>
> Key: DROOLS-5577
> URL: https://issues.redhat.com/browse/DROOLS-5577
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor, dmn engine
> Affects Versions: 7.40.0.Final
> Reporter: Kristina Mandekic
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: support
> Attachments: Artifacts.PNG, Artifacts0.PNG, DroolsNewTypes5-0.0.1-SNAPSHOT.jar, dependencies.PNG, stdev 0.PNG, stdev 1.PNG
>
>
> When calling static Java method {{stdev_a}} (which I created in a new Java Maven project) from Drools Business Central DMN project/model, I'm getting following error:
>
> {code:java}
> DMN: Error compiling Java function 'stdev' on node 'stdev': Error resolving external function as defined by: function(val) external { java: { class: ""com.samplea.drools.DroolsNewTypes5.StandardDeviationA"", method signature: ""stdev_a(java.lang.Number)"" }} (DMN id: _3B4B6CBE-847B-4488-8754-214F506BBB48, Error compiling the referenced FEEL expression){code}
>
> Also, how to view logs of DMN model when it has build errors?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 11 months
[JBoss JIRA] (DROOLS-5577) Calling static Java method from DMN model (Drools Business Central)
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5577?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5577:
--------------------------------
Tester: Jozef Marko
> Calling static Java method from DMN model (Drools Business Central)
> -------------------------------------------------------------------
>
> Key: DROOLS-5577
> URL: https://issues.redhat.com/browse/DROOLS-5577
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor, dmn engine
> Affects Versions: 7.40.0.Final
> Reporter: Kristina Mandekic
> Assignee: Guilherme Gomes
> Priority: Major
> Attachments: Artifacts.PNG, Artifacts0.PNG, DroolsNewTypes5-0.0.1-SNAPSHOT.jar, dependencies.PNG, stdev 0.PNG, stdev 1.PNG
>
>
> When calling static Java method {{stdev_a}} (which I created in a new Java Maven project) from Drools Business Central DMN project/model, I'm getting following error:
>
> {code:java}
> DMN: Error compiling Java function 'stdev' on node 'stdev': Error resolving external function as defined by: function(val) external { java: { class: ""com.samplea.drools.DroolsNewTypes5.StandardDeviationA"", method signature: ""stdev_a(java.lang.Number)"" }} (DMN id: _3B4B6CBE-847B-4488-8754-214F506BBB48, Error compiling the referenced FEEL expression){code}
>
> Also, how to view logs of DMN model when it has build errors?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 11 months
[JBoss JIRA] (WFLY-13770) Create jdbc job repository using deployment descriptors
by Cheng Fang (Jira)
[ https://issues.redhat.com/browse/WFLY-13770?page=com.atlassian.jira.plugi... ]
Cheng Fang edited comment on WFLY-13770 at 8/19/20 8:29 PM:
------------------------------------------------------------
Looks like this doc section is out of date. It should use the latest schema namespace ({{urn:jboss:domain:batch-jberet:2.0}}), and use {{data-source}} attribute when defining a jdbc job repository:
{code:xml}
<jboss xmlns="urn:jboss:1.0">
<batch xmlns="urn:jboss:domain:batch-jberet:2.0">
<job-repository>
<jdbc data-source="ExampleDS"/>
</job-repository>
</batch>
</jboss>
{code}
Besides the doc, batch subsystem and tests also need to be updated to support this use case.
was (Author: cfang):
Looks like this doc section is out of date. It should use the latest schema namespace ({{urn:jboss:domain:batch-jberet:2.0}}), and use {{data-source}} attribute when defining a jdbc job repository:
{code:xml}
<jboss xmlns="urn:jboss:1.0">
<batch xmlns="urn:jboss:domain:batch-jberet:2.0">
<job-repository>
<jdbc data-source="java:jboss/datasources/ExampleDS"/>
</job-repository>
</batch>
</jboss>
{code}
Besides the doc, batch subsystem and tests also need to be updated to support this use case.
> Create jdbc job repository using deployment descriptors
> -------------------------------------------------------
>
> Key: WFLY-13770
> URL: https://issues.redhat.com/browse/WFLY-13770
> Project: WildFly
> Issue Type: Enhancement
> Components: Batch
> Affects Versions: 20.0.1.Final
> Reporter: Jurij Bernhardt
> Assignee: Cheng Fang
> Priority: Major
>
> The Example for "new Job Repository" ([https://docs.wildfly.org/20/Admin_Guide.html#deployment-descriptors]) doesn't work properly.
> {code:xml}
> <jboss xmlns="urn:jboss:1.0">
> <batch xmlns="urn:jboss:batch-jberet:1.0">
> <job-repository>
> <jdbc jndi-name="java:jboss/datasources/ExampleDS"/>
> </job-repository>
> </batch>
> </jboss>
> {code}
> Schema batch-jberet_1_0.xsd alllows only in-memory or named job-repositoryType.
> You get the validation exception by using the jdbc example.
> It would be useful to improve the batch-jberet integration so that the example given above would work.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 11 months