[JBoss JIRA] (DROOLS-5549) Drools model compilation fails when using object builders within method calls
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5549?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-5549:
--------------------------------
Sprint: 2020 Week 31-33 (from Jul 27)
> Drools model compilation fails when using object builders within method calls
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5549
> URL: https://issues.redhat.com/browse/DROOLS-5549
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
> Reporter: Ciprian Chiru
> Assignee: Mario Fusco
> Priority: Major
>
> Given the example rule below:
> {code:java}
> import org.example.drools.model.*;
> import java.util.Map;
> global java.util.Set controlSet;
> function String dummyFunction(Map m) {
> return "test";
> }
> rule "will execute per each Measurement having ID color"
> no-loop
> when
> Measurement( id == "color", $colorVal : val )
> $val: String() from dummyFunction(Map.entry($colorVal))
> then
> controlSet.add($colorVal);
> end{code}
>
> compiling the rule with kie-maven-plugin, it throws the error:
> {code:java}
> ...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
> [ERROR] symbol: variable $colorVal
> [ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
>
> Same code works fine if the rules are not pre-compiled.
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13718) Update quick start references to "Red Hat Developer Studio" to new name "Red Hat CodeReady Studio"
by Eduardo Martins (Jira)
[ https://issues.redhat.com/browse/WFLY-13718?page=com.atlassian.jira.plugi... ]
Eduardo Martins updated WFLY-13718:
-----------------------------------
Description: Red Hat Developer Studio has been renamed to Red Hat Code Ready Studio. We need to update the quickstart documentation. (was: Red Hat Developer Studio has been renamed to Red Hat Code Ready Studio. Naming has been updated in the EAP documentation repository. We need to update the quickstart documentation as well.
One instance has a broken link. It looks like an unresolved attribute, but should be investigated.)
> Update quick start references to "Red Hat Developer Studio" to new name "Red Hat CodeReady Studio"
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-13718
> URL: https://issues.redhat.com/browse/WFLY-13718
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Eduardo Martins
> Assignee: Eduardo Martins
> Priority: Minor
>
> Red Hat Developer Studio has been renamed to Red Hat Code Ready Studio. We need to update the quickstart documentation.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13718) Update quick start references to "Red Hat Developer Studio" to new name "Red Hat CodeReady Studio"
by Eduardo Martins (Jira)
[ https://issues.redhat.com/browse/WFLY-13718?page=com.atlassian.jira.plugi... ]
Eduardo Martins moved JBEAP-20009 to WFLY-13718:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-13718 (was: JBEAP-20009)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Quickstarts
(was: Quickstarts)
Target Release: (was: 7.backlog.GA)
Affects Version/s: (was: 7.2.3.CR1)
> Update quick start references to "Red Hat Developer Studio" to new name "Red Hat CodeReady Studio"
> --------------------------------------------------------------------------------------------------
>
> Key: WFLY-13718
> URL: https://issues.redhat.com/browse/WFLY-13718
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Reporter: Eduardo Martins
> Assignee: Eduardo Martins
> Priority: Minor
>
> Red Hat Developer Studio has been renamed to Red Hat Code Ready Studio. Naming has been updated in the EAP documentation repository. We need to update the quickstart documentation as well.
> One instance has a broken link. It looks like an unresolved attribute, but should be investigated.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13717) Add expressions for the host/port attributes for the outbound socket binding used for mail
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-13717?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFLY-13717:
------------------------------------
Description:
We should make it easier for people to set the host/port of the remote mail server at runtime without having to edit the configuration. See https://github.com/bstansberry/wildfly/blob/ee-9-feature-pack/ee-9/featur... for a possible equivalent thing for a connection to a remote messaging broker.
{code}
<?xml version="1.0" encoding="UTF-8"?>
<feature-group-spec name="messaging-sockets" xmlns="urn:jboss:galleon:feature-group:1.0">
<feature spec="socket-binding-group.remote-destination-outbound-socket-binding">
<param name="remote-destination-outbound-socket-binding" value="messaging-activemq"/>
<param name="host" value="${jboss.messaging.connector.host:localhost}"/>
<param name="port" value="${jboss.messaging.connector.port:61616}"/>
</feature>
</feature-group-spec>
{code}
was:We should make it easier for people to set the host/port of the remote mail server at runtime without having to edit the configuration. See https://github.com/bstansberry/wildfly/blob/ee-9-feature-pack/ee-9/featur... for a possible equivalent thing for a connection to a remote messaging broker.
> Add expressions for the host/port attributes for the outbound socket binding used for mail
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-13717
> URL: https://issues.redhat.com/browse/WFLY-13717
> Project: WildFly
> Issue Type: Enhancement
> Components: Mail
> Reporter: Brian Stansberry
> Assignee: Yeray Borges Santana
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> We should make it easier for people to set the host/port of the remote mail server at runtime without having to edit the configuration. See https://github.com/bstansberry/wildfly/blob/ee-9-feature-pack/ee-9/featur... for a possible equivalent thing for a connection to a remote messaging broker.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <feature-group-spec name="messaging-sockets" xmlns="urn:jboss:galleon:feature-group:1.0">
> <feature spec="socket-binding-group.remote-destination-outbound-socket-binding">
> <param name="remote-destination-outbound-socket-binding" value="messaging-activemq"/>
> <param name="host" value="${jboss.messaging.connector.host:localhost}"/>
> <param name="port" value="${jboss.messaging.connector.port:61616}"/>
> </feature>
> </feature-group-spec>
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months