[Red Hat JIRA] (DROOLS-5817) executable-model test failure in test-compiler-integration TemporalOperatorTest
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5817?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5817:
--------------------------------------
Sprint: 2021 Week 04-06 (from Jan 25)
> executable-model test failure in test-compiler-integration TemporalOperatorTest
> -------------------------------------------------------------------------------
>
> Key: DROOLS-5817
> URL: https://issues.redhat.com/browse/DROOLS-5817
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> org.drools.mvel.integrationtests.TemporalOperatorTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (WFCORE-3766) Improve error message if a parent profile references a child profile's value
by Moulali Shikalwadi (Jira)
[ https://issues.redhat.com/browse/WFCORE-3766?page=com.atlassian.jira.plug... ]
Moulali Shikalwadi commented on WFCORE-3766:
--------------------------------------------
HI [~bmaxwell] Thanks,
Could you please https://issues.redhat.com/browse/JBEAP-14681 as well?
> Improve error message if a parent profile references a child profile's value
> ----------------------------------------------------------------------------
>
> Key: WFCORE-3766
> URL: https://issues.redhat.com/browse/WFCORE-3766
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Management
> Affects Versions: 3.1.0.Final, 4.0.0.Final, 5.0.0.Alpha3
> Reporter: Brad Maxwell
> Assignee: Moulali Shikalwadi
> Priority: Major
> Labels: domain-mode
> Attachments: WFCORE-3766-config.zip
>
>
> EAP 7.1 CP1 boot up fails with the following error message when a profile extension is used
> {code:java}
> 14:13:39,201 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=hibernate/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,202 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=messaging-activemq/server=default/broadcast-group=bg-group1' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,202 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=web/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,202 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=messaging-activemq/server=default/discovery-group=dg-group1' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,203 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=server/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,203 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/profile=temp-full-ha/subsystem=infinispan/cache-container=ejb/transport=jgroups' are not available: [Host Controller] org.wildfly.clustering.jgroups.default-channel-factory in context 'profile=temp-full-ha'; Possible registration points for this capability: [Host Controller] /profile=*/subsystem=jgroups [Host Controller]
> 14:13:39,215 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details. [Host Controller]
> 14:13:39,217 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99 [Host Controller]
> 14:13:39,265 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: JBoss EAP 7.1.1.GA (WildFly Core 3.0.12.Final-redhat-1) stopped in 26ms [Host Controller]
> 14:13:39,611 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) WFLYPC0011: Process 'Host Controller' finished with an exit status of 99
> 14:13:39,613 INFO [org.jboss.as.process] (Thread-8) WFLYPC0017: Shutting down process controller 14:13:39,613 INFO [org.jboss.as.process] (Thread-8) WFLYPC0016: All processes finished; exiting
> {code}
> Can this error be improved to better direct the user to the issue?
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (DROOLS-5816) executable-model doesn't resolve kcontext with mvel dialect
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5816?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5816:
--------------------------------------
Description:
- When a rule uses mvel dialect and refers to "kcontext" in RHS with exec-model,
{noformat}
dialect "mvel"
when
Integer()
then
result.add(kcontext.getRule().getName());
end
{noformat}
it cannot resolve "kcontext" hence compilation fails.
{noformat}
[ERROR] Failures:
[ERROR] MvelDialectTest.testKcontext:921->BaseModelTest.getKieSession:105->BaseModelTest.getKieSession:109->BaseModelTest.getKieContainer:113->BaseModelTest.getKieContainer:120->BaseModelTest.createKieBuilder:131->BaseModelTest.createKieBuilder:158 [Message [id=1, level=ERROR, path=src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java, line=20, column=20
text=cannot find symbol
symbol: variable kcontext
location: class defaultpkg.PDF.LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF], Message [id=2, level=ERROR, path=src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java, line=0, column=0
text=Java source of src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java in error:
...
public enum LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF implements org.drools.model.functions.Block1<java.util.List>, org.drools.model.functions.HashedExpression {
...
@Override()
public void execute(java.util.List result) throws java.lang.Exception {
result.add(kcontext.getRule().getName());
}
}
]]
{noformat}
Note: The same issue is found in org.drools.mvel.integrationtests.KnowledgeContextTest
was:
org.drools.mvel.integrationtests.KnowledgeContextTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> executable-model doesn't resolve kcontext with mvel dialect
> -----------------------------------------------------------
>
> Key: DROOLS-5816
> URL: https://issues.redhat.com/browse/DROOLS-5816
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> - When a rule uses mvel dialect and refers to "kcontext" in RHS with exec-model,
> {noformat}
> dialect "mvel"
> when
> Integer()
> then
> result.add(kcontext.getRule().getName());
> end
> {noformat}
> it cannot resolve "kcontext" hence compilation fails.
> {noformat}
> [ERROR] Failures:
> [ERROR] MvelDialectTest.testKcontext:921->BaseModelTest.getKieSession:105->BaseModelTest.getKieSession:109->BaseModelTest.getKieContainer:113->BaseModelTest.getKieContainer:120->BaseModelTest.createKieBuilder:131->BaseModelTest.createKieBuilder:158 [Message [id=1, level=ERROR, path=src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java, line=20, column=20
> text=cannot find symbol
> symbol: variable kcontext
> location: class defaultpkg.PDF.LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF], Message [id=2, level=ERROR, path=src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java, line=0, column=0
> text=Java source of src/main/java/defaultpkg/PDF/LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF.java in error:
> ...
> public enum LambdaConsequenceDF24FCC3F13686A61CE2DA9AF55C71CF implements org.drools.model.functions.Block1<java.util.List>, org.drools.model.functions.HashedExpression {
> ...
> @Override()
> public void execute(java.util.List result) throws java.lang.Exception {
> result.add(kcontext.getRule().getName());
> }
> }
> ]]
> {noformat}
> Note: The same issue is found in org.drools.mvel.integrationtests.KnowledgeContextTest
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (DROOLS-5779) Rule evaluation optimization : alpha node interval index
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5779?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5779:
--------------------------------------
Sprint: 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21) (was: 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25))
> Rule evaluation optimization : alpha node interval index
> --------------------------------------------------------
>
> Key: DROOLS-5779
> URL: https://issues.redhat.com/browse/DROOLS-5779
> Project: Drools
> Issue Type: Story
> Components: core engine
> Affects Versions: 7.45.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Motivation: This Story aims at alpha node interval indexing which improves performance of interval comparison constraints (e.g. age >= 20 && < 30).
> Goals: Better rule execution performance. For each improvement, add benchmark and measure the performance gain.
> Impact: Better rule execution performance. It might have overhead during rule build time. Will confirm with benchmark anyway.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (DROOLS-5708) Add interval indexing to AlphaNode
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5708?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5708:
--------------------------------------
Sprint: 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21) (was: 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25))
> Add interval indexing to AlphaNode
> ----------------------------------
>
> Key: DROOLS-5708
> URL: https://issues.redhat.com/browse/DROOLS-5708
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Affects Versions: 7.44.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Add between indexing to AlphaNode.
> e.g. Person(age > 10 && < 20)
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (DROOLS-5972) Move test cases from drools-mvel to drools-test-coverage : 2nd round
by Toshiya Kobayashi (Jira)
Toshiya Kobayashi created DROOLS-5972:
-----------------------------------------
Summary: Move test cases from drools-mvel to drools-test-coverage : 2nd round
Key: DROOLS-5972
URL: https://issues.redhat.com/browse/DROOLS-5972
Project: Drools
Issue Type: Task
Components: core engine, executable model
Affects Versions: 7.49.0.Final
Reporter: Toshiya Kobayashi
Assignee: Toshiya Kobayashi
Move test cases from drools-compiler drools-mvel to drools-test-coverage/test-compiler-integration so that we can increase the test coverage for executable-model.
DROOLS-5485 moved only "easily adapted" tests. This JIRA will evaluate remaining tests and move them as possible.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months
[Red Hat JIRA] (WFCORE-4516) Documentation says server-identities expressions should resolve to Base64 values, but only resolving to plain text works.
by Ilia Vassilev (Jira)
[ https://issues.redhat.com/browse/WFCORE-4516?page=com.atlassian.jira.plug... ]
Ilia Vassilev updated WFCORE-4516:
----------------------------------
Labels: downstream_dependency (was: )
> Documentation says server-identities expressions should resolve to Base64 values, but only resolving to plain text works.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4516
> URL: https://issues.redhat.com/browse/WFCORE-4516
> Project: WildFly Core
> Issue Type: Bug
> Components: Management, Security
> Reporter: Indrajit Ingawale
> Assignee: Ilia Vassilev
> Priority: Major
> Labels: downstream_dependency
> Fix For: 15.0.0.Beta1
>
>
> The expression for secret value under server-identities in test-security-realm does not work , even though it shows "expressions-allowed" to true like below .
> ----------------------------
> [standalone@localhost:9990 /] /core-service=management/security-realm=test-security-realm/server-identity=secret:read-resource-description()
> {
> "outcome" => "success",
> .
> .
> "attributes" =>
> {. . . . . }
> ,
> "value" =>
> { "type" => STRING, "description" => "The secret / password - Base64 Encoded.", "expressions-allowed" => true, "required" => true, "nillable" => true, "alternatives" => ["credential-reference"], "min-length" => 1L, "max-length" => 2147483647L, "access-type" => "read-write", "storage" => "configuration", "restart-required" => "no-services" }
> },
> "operations" => undefined,
> "notifications" => undefined,
> "children" => {}
> }
> }
> ----------------------------
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 2 months