[Red Hat JIRA] (ELY-1994) Ensure the Elytron build works on Java 14
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/ELY-1994?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated ELY-1994:
----------------------------------
Fix Version/s: 1.14.2.CR1
(was: 1.14.1.Final)
> Ensure the Elytron build works on Java 14
> -----------------------------------------
>
> Key: ELY-1994
> URL: https://issues.redhat.com/browse/ELY-1994
> Project: WildFly Elytron
> Issue Type: Task
> Components: Testsuite
> Reporter: Darran Lofthouse
> Priority: Major
> Fix For: 1.14.2.CR1
>
>
> Overall the build is not doing too badly and doesn't fail until we get to the main testsuite.
>
> {code:java}
> [INFO] WildFly Elytron - Tests ............................ FAILURE [ 1.447 s]
> [INFO] WildFly Elytron .................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:46 min
> [INFO] Finished at: 2020-06-11T11:25:23+01:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0-jboss-1:testCompile (default-testCompile) on project wildfly-elytron-tests: Compilation failure: Compilation failure:
> [ERROR] /home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[31,25] package java.security.acl does not exist
> [ERROR] /home/darranl/src/community/wildfly-elytron/tests/base/src/test/java/org/wildfly/security/auth/TestLoginModule.java:[107,40] cannot find symbol
> [ERROR] symbol: class Group
> [ERROR] location: class org.wildfly.security.auth.TestLoginModule
> [ERROR] -> [Help 1] {code}
> If this is all that is failing for us maybe we can revisit the test and see how appropriate it is and if it can be adapted to use available APIs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (ELY-2060) Move CA set up from SSLAuthenticationTest into re-usable util
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/ELY-2060?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse resolved ELY-2060.
-----------------------------------
Resolution: Done
> Move CA set up from SSLAuthenticationTest into re-usable util
> -------------------------------------------------------------
>
> Key: ELY-2060
> URL: https://issues.redhat.com/browse/ELY-2060
> Project: WildFly Elytron
> Issue Type: Task
> Components: Testsuite, Utils
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Major
> Fix For: 1.14.1.Final
>
>
> This will become a new module that different test suites can depend upon.
> This will not be public API as it is a test suite utility but we will still want to be cautious of any API changes as these will cause problems for dependent projects.
> Additionally this is intended as a common CA set up used across tests but different tests may have different requirements so any API should allow customisation / filtering of the relevant artefacts produced.
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (DROOLS-5928) The use of AND in source pattern of accumulate causes compilation error in executable model.
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5928?page=com.atlassian.jira.plug... ]
Mario Fusco resolved DROOLS-5928.
---------------------------------
Resolution: Done
Fixed by https://github.com/kiegroup/drools/commit/a387f57d5a31dfe1d4c0102325489e2...
> The use of AND in source pattern of accumulate causes compilation error in executable model.
> --------------------------------------------------------------------------------------------
>
> Key: DROOLS-5928
> URL: https://issues.redhat.com/browse/DROOLS-5928
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
> Attachments: reproducer_model_compiler_7a.zip
>
>
> Building a rule written in MVEL dialect like (*1) using {{AND}} in source pattern of {{accumulate}} like (\*1-1) in executable rule model, a compilation error (\*2) occurs. This issue does not occur when we build the rule with executable model disabled.
> (\*1)
> {noformat}
> package com.example.reproducer
> import java.math.BigDecimal
> dialect "mvel"
> rule "rule7a2"
> when
> $total : BigDecimal() from accumulate( $car : Car( discontinued == true ) and Order( item == $car, $price : price ), // ..... (*1-1)
> init( BigDecimal total = BigDecimal.ZERO; ),
> action( total += $price; ),
> reverse( total -= $price; ),
> result( total ) )
> then
> System.out.println("***** Action of rule7a2 -- $total = " + $total);
> end
> {noformat}
> (\*2)
> {noformat}
> [ERROR] /work2/testdir/reproducer_model_compiler_7a/target/generated-sources/drools-model-compiler/main/java/com/example/reproducer/Rulese69ee9f6a2a84acaa675792cae099156RuleMethods0.java:[28,63] method accumulate in class org.drools.model.DSL cannot be applied to given types;
> required: org.drools.model.view.ViewItem<?>,org.drools.model.functions.accumulate.AccumulateFunction,org.drools.model.functions.accumulate.AccumulateFunction[]
> found: org.drools.model.view.ViewItem
> reason: cannot infer type-variable(s) T
> (actual and formal argument lists differ in length)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (DROOLS-5928) The use of AND in source pattern of accumulate causes compilation error in executable model.
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5928?page=com.atlassian.jira.plug... ]
Mario Fusco moved RHDM-1554 to DROOLS-5928:
-------------------------------------------
Component/s: executable model
(was: BRE)
Docs QE Status: NEW
Key: DROOLS-5928 (was: RHDM-1554)
QE Status: NEW
Affects Version/s: (was: 7.1.0.GA)
(was: 7.9.0.GA)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Environment: (was: This issue occurs on all releases from RHDM 7.1.0 to 7.9.0.)
Project: Drools (was: Red Hat Decision Manager)
> The use of AND in source pattern of accumulate causes compilation error in executable model.
> --------------------------------------------------------------------------------------------
>
> Key: DROOLS-5928
> URL: https://issues.redhat.com/browse/DROOLS-5928
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Priority: Major
> Labels: support
> Attachments: reproducer_model_compiler_7a.zip
>
>
> Building a rule written in MVEL dialect like (*1) using {{AND}} in source pattern of {{accumulate}} like (\*1-1) in executable rule model, a compilation error (\*2) occurs. This issue does not occur when we build the rule with executable model disabled.
> (\*1)
> {noformat}
> package com.example.reproducer
> import java.math.BigDecimal
> dialect "mvel"
> rule "rule7a2"
> when
> $total : BigDecimal() from accumulate( $car : Car( discontinued == true ) and Order( item == $car, $price : price ), // ..... (*1-1)
> init( BigDecimal total = BigDecimal.ZERO; ),
> action( total += $price; ),
> reverse( total -= $price; ),
> result( total ) )
> then
> System.out.println("***** Action of rule7a2 -- $total = " + $total);
> end
> {noformat}
> (\*2)
> {noformat}
> [ERROR] /work2/testdir/reproducer_model_compiler_7a/target/generated-sources/drools-model-compiler/main/java/com/example/reproducer/Rulese69ee9f6a2a84acaa675792cae099156RuleMethods0.java:[28,63] method accumulate in class org.drools.model.DSL cannot be applied to given types;
> required: org.drools.model.view.ViewItem<?>,org.drools.model.functions.accumulate.AccumulateFunction,org.drools.model.functions.accumulate.AccumulateFunction[]
> found: org.drools.model.view.ViewItem
> reason: cannot infer type-variable(s) T
> (actual and formal argument lists differ in length)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (WFLY-14241) The messageID cannot be used in a filter expressing via JBoss CLI
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-14241?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty resolved WFLY-14241.
----------------------------------------
Resolution: Not a Bug
I have checked the documentation that Filters work on message properties and some selected attributes (e.g. AMQDurable, AMQPriority, etc.). Message ID is meant for internal usage only. So this is not a Bug and I'm resolving this issue.
> The messageID cannot be used in a filter expressing via JBoss CLI
> -----------------------------------------------------------------
>
> Key: WFLY-14241
> URL: https://issues.redhat.com/browse/WFLY-14241
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 22.0.0.Beta1
> Reporter: Ranabir Chakraborty
> Assignee: Ranabir Chakraborty
> Priority: Major
>
> The messageID header property holds a java.lang.Long value, however, it is not possible to use filter operators on the messageID header property.
> For example, the following expression would not work besides messageID in each message was greater than '0'.
> [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months