[JBoss JIRA] (WFLY-9396) Improve EJB client clustering test coverage tracker
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9396?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-9396:
---------------------------------
Description:
A bunch of areas have been analyzed that need better test coverage.
* fix and move to proper execution EJB2 and two cluster test cases
* coverage for reported Jira issues (e.g. JBEAP-13224/EJBCLIENT-273)
* coverage for different client configuration methods
* etc
was:
A bunch of areas have been analyzed that need better test coverage.
* fix and move to proper execution EJB2 and two cluster test cases
* coverage for reported Jira issues (e.g. EJBCLIENT-273)
* coverage for different client configuration methods
* etc
> Improve EJB client clustering test coverage tracker
> ---------------------------------------------------
>
> Key: WFLY-9396
> URL: https://issues.jboss.org/browse/WFLY-9396
> Project: WildFly
> Issue Type: Task
> Components: Test Suite
> Affects Versions: 11.0.0.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> A bunch of areas have been analyzed that need better test coverage.
> * fix and move to proper execution EJB2 and two cluster test cases
> * coverage for reported Jira issues (e.g. JBEAP-13224/EJBCLIENT-273)
> * coverage for different client configuration methods
> * etc
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (WFLY-9396) Improve EJB client clustering test coverage tracker
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9396?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-9396:
---------------------------------
Description:
A bunch of areas have been analyzed that need better test coverage.
* fix and move to proper execution EJB2 and two cluster test cases
* coverage for reported Jira issues (e.g. EJBCLIENT-273)
* coverage for different client configuration methods
* etc
was:
A bunch of areas have been analyzed that need better test coverage.
* fix and move to proper execution EJB2 and two cluster test cases
* coverage for reported Jira issues
* coverage for different client configuration methods
* etc
> Improve EJB client clustering test coverage tracker
> ---------------------------------------------------
>
> Key: WFLY-9396
> URL: https://issues.jboss.org/browse/WFLY-9396
> Project: WildFly
> Issue Type: Task
> Components: Test Suite
> Affects Versions: 11.0.0.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> A bunch of areas have been analyzed that need better test coverage.
> * fix and move to proper execution EJB2 and two cluster test cases
> * coverage for reported Jira issues (e.g. EJBCLIENT-273)
> * coverage for different client configuration methods
> * etc
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (WFLY-9396) Improve EJB client clustering test coverage tracker
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9396?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-9396:
---------------------------------
Description:
A bunch of areas have been analyzed that need better test coverage.
* fix and move to proper execution EJB2 and two cluster test cases
* coverage for reported Jira issues
* coverage for different client configuration methods
* etc
was:A bunch of areas have been analyzed that need better test coverage.
> Improve EJB client clustering test coverage tracker
> ---------------------------------------------------
>
> Key: WFLY-9396
> URL: https://issues.jboss.org/browse/WFLY-9396
> Project: WildFly
> Issue Type: Task
> Components: Test Suite
> Affects Versions: 11.0.0.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> A bunch of areas have been analyzed that need better test coverage.
> * fix and move to proper execution EJB2 and two cluster test cases
> * coverage for reported Jira issues
> * coverage for different client configuration methods
> * etc
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (DROOLS-1744) Inclusion of kbases containing rule templates results in duplicate rule names and kbase build failure.
by Alistair Black (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1744?page=com.atlassian.jira.plugi... ]
Alistair Black commented on DROOLS-1744:
----------------------------------------
[~mfusco] Of course. I've just added this for you and updated the reproduction steps with a link to the git project.
> Inclusion of kbases containing rule templates results in duplicate rule names and kbase build failure.
> ------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1744
> URL: https://issues.jboss.org/browse/DROOLS-1744
> Project: Drools
> Issue Type: Bug
> Components: decision tables
> Affects Versions: 7.3.0.Final
> Reporter: Alistair Black
> Assignee: Mario Fusco
>
> I am working on a multi-module BRMS project, with each module encapsulating a set of rules forming a single knowledge base. There is an empty "packaging" module which inherits each of these modules in order to generate a single KJAR for deployment purposes. The application then utilises this KJAR via the KieScanner/ReleaseId approach to facilitate dynamic rule loading at runtime and decoupling of application/rules.
> Having taken the above approach I have encountered an issue when including knowledge bases that contain rule templates. Drools is unable to build these knowledge bases, reporting duplicate rule names; it appears to believe that the rules exist in both the inheriting and inherited knowledge bases. This behaviour is not seen when including knowledge bases containing standard rules or decision tables - just rule templates.
> An example of the error reported is:
> {{4528 [main] INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl - KieModule was added: ZipKieModule[releaseId=my.drools.templates:ruleModuleOne:1.0-SNAPSHOT,file=C:\Users\black\.m2\repository\my\drools\templates\ruleModuleOne\1.0-SNAPSHOT\ruleModuleOne-1.0-SNAPSHOT.jar]
> 5145 [main] ERROR org.drools.compiler.kie.builder.impl.KieProject - Unable to build KieBaseModel:ruleModule_1_kbase
> [7,4]: Duplicate rule name: Rule One :: CCC_4
> [15,4]: Duplicate rule name: Rule One :: BBB_3
> [23,4]: Duplicate rule name: Rule One :: AAA_2
> [7,4]: Duplicate rule name: Rule Two :: EEE_3
> [16,4]: Duplicate rule name: Rule Two :: DDD_2
> 5329 [main] ERROR org.drools.compiler.kie.builder.impl.KieProject - Unable to build KieBaseModel:inheritedTemplateModules-ruleModule_1_kbase
> [7,4]: Duplicate rule name: Rule One :: CCC_4
> [15,4]: Duplicate rule name: Rule One :: BBB_3
> [23,4]: Duplicate rule name: Rule One :: AAA_2
> [7,4]: Duplicate rule name: Rule Two :: EEE_3
> [16,4]: Duplicate rule name: Rule Two :: DDD_2
> }}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (DROOLS-1744) Inclusion of kbases containing rule templates results in duplicate rule names and kbase build failure.
by Alistair Black (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1744?page=com.atlassian.jira.plugi... ]
Alistair Black updated DROOLS-1744:
-----------------------------------
Steps to Reproduce: I have created a reproducer project [https://github.com/alistairblack/DROOLS-1744|https://github.com/alistairb...] to demonstrate this issue. In this project there is a single rule module (ruleModuleOne) containing template based rules. This module is included in a master rule packaging module (rules) for repository deployment purposes. If you maven install the root project you will see a unit test failure as a result of the reported kbase inclusion issue.
> Inclusion of kbases containing rule templates results in duplicate rule names and kbase build failure.
> ------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1744
> URL: https://issues.jboss.org/browse/DROOLS-1744
> Project: Drools
> Issue Type: Bug
> Components: decision tables
> Affects Versions: 7.3.0.Final
> Reporter: Alistair Black
> Assignee: Mario Fusco
>
> I am working on a multi-module BRMS project, with each module encapsulating a set of rules forming a single knowledge base. There is an empty "packaging" module which inherits each of these modules in order to generate a single KJAR for deployment purposes. The application then utilises this KJAR via the KieScanner/ReleaseId approach to facilitate dynamic rule loading at runtime and decoupling of application/rules.
> Having taken the above approach I have encountered an issue when including knowledge bases that contain rule templates. Drools is unable to build these knowledge bases, reporting duplicate rule names; it appears to believe that the rules exist in both the inheriting and inherited knowledge bases. This behaviour is not seen when including knowledge bases containing standard rules or decision tables - just rule templates.
> An example of the error reported is:
> {{4528 [main] INFO org.drools.compiler.kie.builder.impl.KieRepositoryImpl - KieModule was added: ZipKieModule[releaseId=my.drools.templates:ruleModuleOne:1.0-SNAPSHOT,file=C:\Users\black\.m2\repository\my\drools\templates\ruleModuleOne\1.0-SNAPSHOT\ruleModuleOne-1.0-SNAPSHOT.jar]
> 5145 [main] ERROR org.drools.compiler.kie.builder.impl.KieProject - Unable to build KieBaseModel:ruleModule_1_kbase
> [7,4]: Duplicate rule name: Rule One :: CCC_4
> [15,4]: Duplicate rule name: Rule One :: BBB_3
> [23,4]: Duplicate rule name: Rule One :: AAA_2
> [7,4]: Duplicate rule name: Rule Two :: EEE_3
> [16,4]: Duplicate rule name: Rule Two :: DDD_2
> 5329 [main] ERROR org.drools.compiler.kie.builder.impl.KieProject - Unable to build KieBaseModel:inheritedTemplateModules-ruleModule_1_kbase
> [7,4]: Duplicate rule name: Rule One :: CCC_4
> [15,4]: Duplicate rule name: Rule One :: BBB_3
> [23,4]: Duplicate rule name: Rule One :: AAA_2
> [7,4]: Duplicate rule name: Rule Two :: EEE_3
> [16,4]: Duplicate rule name: Rule Two :: DDD_2
> }}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months