[JBoss JIRA] (WFWIP-236) Galleon prosvisioning should ignore MAVEN_ARGS meant for S2I app build
by Jan Blizňák (Jira)
[ https://issues.jboss.org/browse/WFWIP-236?page=com.atlassian.jira.plugin.... ]
Jan Blizňák updated WFWIP-236:
------------------------------
Description:
Imagine running S2I build with MAVEN_ARGS="myplugin:mygoal"
It will fail the galleon provisioning because the mvn command is using MAVEN_ARGS meant for user app. Users can be very creative so we should be more robust and ideally ignore this input for galleon build.
> Galleon prosvisioning should ignore MAVEN_ARGS meant for S2I app build
> ----------------------------------------------------------------------
>
> Key: WFWIP-236
> URL: https://issues.jboss.org/browse/WFWIP-236
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Jan Blizňák
> Assignee: Jean Francois Denise
> Priority: Critical
>
> Imagine running S2I build with MAVEN_ARGS="myplugin:mygoal"
> It will fail the galleon provisioning because the mvn command is using MAVEN_ARGS meant for user app. Users can be very creative so we should be more robust and ideally ignore this input for galleon build.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months
[JBoss JIRA] (ELY-1819) The logout handler registration should be reworked
by Ashley Abdel-Sayed (Jira)
[ https://issues.jboss.org/browse/ELY-1819?page=com.atlassian.jira.plugin.s... ]
Ashley Abdel-Sayed reassigned ELY-1819:
---------------------------------------
Assignee: (was: Ashley Abdel-Sayed)
> The logout handler registration should be reworked
> --------------------------------------------------
>
> Key: ELY-1819
> URL: https://issues.jboss.org/browse/ELY-1819
> Project: WildFly Elytron
> Issue Type: Bug
> Components: HTTP
> Reporter: Darran Lofthouse
> Priority: Major
> Fix For: 1.9.2.CR1
>
>
> Presently the logout handler is just a Runnable, the problem with this is if it needs any state it means a lambda or an instance of a class tends to be needed to hold the state e.g.
> {noformat}
> private void setupProgramaticLogout(HttpScope sessionScope) {
> logoutHandlerConsumer.accept(() -> {
> sessionScope.setAttachment(AUTHENTICATED_IDENTITY_KEY, null);
> });
> }
> {noformat}
> It would likely be better for the logout handler to be able to request the scope it needs so maybe pass in the 'org.wildfly.security.http.HttpServerScopes' at the very least.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months
[JBoss JIRA] (DROOLS-4375) BigDecimal in from accumulate with MVEL with executable-model
by Daniel Rosa (Jira)
[ https://issues.jboss.org/browse/DROOLS-4375?page=com.atlassian.jira.plugi... ]
Daniel Rosa commented on DROOLS-4375:
-------------------------------------
The PR for this issue can be found at https://github.com/kiegroup/drools/pull/2497/files. The PR was named with a wrong issue id ([DROOLS-4546]) but now we can track it :)
> BigDecimal in from accumulate with MVEL with executable-model
> -------------------------------------------------------------
>
> Key: DROOLS-4375
> URL: https://issues.jboss.org/browse/DROOLS-4375
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> When "from accumulate" uses BigDecimal with Mvel syntax,
> for example)
> {noformat}
> import org.drools.modelcompiler.domain.Person;
> import java.math.BigDecimal;
> global java.util.List list;
> dialect "mvel"
> rule R when
> $b : BigDecimal() from accumulate (
> Person( $money : money ),
> init( BigDecimal sum = 0; ),
> action( sum += $money; ),
> reverse( sum -= $money; ),
> result( sum )
> )
> then
> list.add($b);
> end
> {noformat}
> It works with non executable-model but fails with executable-model.
> {noformat}
> [ERROR] Failures:
> [ERROR] AccumulateTest.testFromAccumulateBigDecimalMvel:1273->BaseModelTest.getKieSession:99->BaseModelTest.getKieSession:103->BaseModelTest.getKieContainer:107->BaseModelTest.getKieContainer:114->BaseModelTest.createKieBuilder:125->BaseModelTest.createKieBuilder:152 [Message [id=1, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=28, column=20
> text=incompatible types: int cannot be converted to java.math.BigDecimal], Message [id=2, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=32, column=18
> text=bad operand types for binary operator '+'
> first type: java.math.BigDecimal
> second type: java.math.BigDecimal], Message [id=3, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=36, column=18
> text=bad operand types for binary operator '-'
> first type: java.math.BigDecimal
> second type: java.math.BigDecimal], Message [id=4, level=ERROR, path=src/main/java/defaultpkg/RAccumulate6.java, line=0, column=0
> text=Java source of src/main/java/defaultpkg/RAccumulate6.java in error:
> package defaultpkg
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 9 months