[JBoss JIRA] (DROOLS-5459) Unable to add a formula for Boolean attributes
by Toni Rikkola (Jira)
[ https://issues.redhat.com/browse/DROOLS-5459?page=com.atlassian.jira.plug... ]
Toni Rikkola updated DROOLS-5459:
---------------------------------
Tester: Jozef Marko
> Unable to add a formula for Boolean attributes
> ----------------------------------------------
>
> Key: DROOLS-5459
> URL: https://issues.redhat.com/browse/DROOLS-5459
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 7.38.0.Final
> Reporter: Jim West
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools, guided_rule_editor
> Attachments: image-2020-06-30-15-02-18-760.png, image-2020-06-30-15-04-04-419.png, image-2020-06-30-15-17-34-791.png, no-formula-for-booleans-kjar.zip
>
>
> In a Guided Rule:
> !image-2020-06-30-15-02-18-760.png|width=634,height=270!
> !image-2020-06-30-15-17-34-791.png|width=464,height=235!
> Here a Data Object used in this example:
> !image-2020-06-30-15-04-04-419.png|width=420,height=207!
> The plan was to have an expression like this:
> *fact0.setGold( $a.getGold() && $b.getGold() )*
> I had to ditch the Guided Rule and write my rule on a drl file.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (DROOLS-5459) Unable to add a formula for Boolean attributes
by Toni Rikkola (Jira)
[ https://issues.redhat.com/browse/DROOLS-5459?page=com.atlassian.jira.plug... ]
Toni Rikkola moved JBPM-9211 to DROOLS-5459:
--------------------------------------------
Project: Drools (was: jBPM)
Key: DROOLS-5459 (was: JBPM-9211)
Component/s: Guided Rule Editor
(was: Workbench)
Affects Version/s: 7.38.0.Final
(was: 7.38.0.Final)
> Unable to add a formula for Boolean attributes
> ----------------------------------------------
>
> Key: DROOLS-5459
> URL: https://issues.redhat.com/browse/DROOLS-5459
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 7.38.0.Final
> Reporter: Jim West
> Assignee: Toni Rikkola
> Priority: Major
> Labels: guided_rule_editor
> Attachments: image-2020-06-30-15-02-18-760.png, image-2020-06-30-15-04-04-419.png, image-2020-06-30-15-17-34-791.png, no-formula-for-booleans-kjar.zip
>
>
> In a Guided Rule:
> !image-2020-06-30-15-02-18-760.png|width=634,height=270!
> !image-2020-06-30-15-17-34-791.png|width=464,height=235!
> Here a Data Object used in this example:
> !image-2020-06-30-15-04-04-419.png|width=420,height=207!
> The plan was to have an expression like this:
> *fact0.setGold( $a.getGold() && $b.getGold() )*
> I had to ditch the Guided Rule and write my rule on a drl file.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (DROOLS-5459) Unable to add a formula for Boolean attributes
by Toni Rikkola (Jira)
[ https://issues.redhat.com/browse/DROOLS-5459?page=com.atlassian.jira.plug... ]
Toni Rikkola updated DROOLS-5459:
---------------------------------
Labels: drools-tools guided_rule_editor (was: guided_rule_editor)
> Unable to add a formula for Boolean attributes
> ----------------------------------------------
>
> Key: DROOLS-5459
> URL: https://issues.redhat.com/browse/DROOLS-5459
> Project: Drools
> Issue Type: Bug
> Components: Guided Rule Editor
> Affects Versions: 7.38.0.Final
> Reporter: Jim West
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools, guided_rule_editor
> Attachments: image-2020-06-30-15-02-18-760.png, image-2020-06-30-15-04-04-419.png, image-2020-06-30-15-17-34-791.png, no-formula-for-booleans-kjar.zip
>
>
> In a Guided Rule:
> !image-2020-06-30-15-02-18-760.png|width=634,height=270!
> !image-2020-06-30-15-17-34-791.png|width=464,height=235!
> Here a Data Object used in this example:
> !image-2020-06-30-15-04-04-419.png|width=420,height=207!
> The plan was to have an expression like this:
> *fact0.setGold( $a.getGold() && $b.getGold() )*
> I had to ditch the Guided Rule and write my rule on a drl file.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (WFLY-13600) EJB client over HTTP Fail on Java SE
by Brian Stansberry (Jira)
[ https://issues.redhat.com/browse/WFLY-13600?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFLY-13600:
-----------------------------------------
[~cfang] I changed the component on this from Application Client to EJB as my impression is this isn't an appclient scenario.
> EJB client over HTTP Fail on Java SE
> ------------------------------------
>
> Key: WFLY-13600
> URL: https://issues.redhat.com/browse/WFLY-13600
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 20.0.0.Final
> Reporter: Gergely Molnár
> Assignee: Cheng Fang
> Priority: Major
>
> Java SE code:
> {code:java}
> public class Application {
> private static final String REMOTE_CALC = "ejb:/remote-ejb/RemoteCalc!" + RemoteCalc.class.getName();
> /**
> * Lookup remote \{@link RemoteCalc}.
> *
> * @return a \{@link RemoteCalc} object
> * @throws NamingException Something is wrong
> */
> public static RemoteCalc getRemoteCalc() throws NamingException {
> Hashtable<String, Object> jndiProps = new Hashtable<>();
> jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, "org.wildfly.naming.client.WildFlyInitialContextFactory");
> // remote+http connection (work fine)
> //jndiProps.put(Context.PROVIDER_URL, "remote+http://127.0.0.1:8080/remote-ejb");
> // http connection (fail)
> jndiProps.put(Context.PROVIDER_URL, "http://127.0.0.1:8080/wildfly-services");
> Context context = new InitialContext(jndiProps);
> return (RemoteCalc) context.lookup(REMOTE_CALC);
> }
> /**
> * Call to run (main).
> *
> * @param args parameters (not used)
> * @throws NamingException Something is wrong
> */
> public static void main(String[] args) throws NamingException {
>
> RemoteCalc remoteCalc = getRemoteCalc();
> System.out.println("Remote calc 95 + 76: " + remoteCalc.add(95, 76));
> }
> }
> {code}
> Exception:
> Exception in thread "main" javax.naming.InvalidNameException: WFNAM00007: Invalid URL scheme name "http"
> at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:808)
> at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:140)
> at javax.naming.InitialContext.lookup(Unknown Source)
> at com.bosch.emea.bpart.remoteejbclient.Application.getRemoteCalc(Application.java:34)
> at com.bosch.emea.bpart.remoteejbclient.Application.main(Application.java:47)
> Lib:
> {code:java}
> @Remote
> public interface RemoteCalc {
> /**
> * Add two integer.
> *
> * @param a an integer
> * @param b an integer
> * @return a + b
> */
> public int add(int a, int b);
>
> }
> {code}
> Config:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration>
> <authentication-client xmlns="urn:elytron:1.0">
> <authentication-rules>
> <rule use-configuration="default" />
> </authentication-rules>
> <authentication-configurations>
> <configuration name="default">
> <sasl-mechanism-selector selector="#ALL" />
> <set-mechanism-properties>
> <property key="wildfly.sasl.local-user.quiet-auth" value="true" />
> </set-mechanism-properties>
> <providers>
> <use-service-loader/>
> </providers>
> </configuration>
> </authentication-configurations>
> </authentication-client>
> </configuration>
> {code}
> Maven dependency:
> {code:xml}
> <dependency>
> <groupId>org.wildfly</groupId>
> <artifactId>wildfly-ejb-client-bom</artifactId>
> <version>20.0.0.Final</version>
> <type>pom</type>
> </dependency>
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months