Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[incubator-kie-drools-6007] Executable model doesn't report an error … #6013

Merged

Conversation

tkobayas
Copy link
Contributor

@tkobayas tkobayas commented Jul 8, 2024

…when duplicated

  • removing kie-ci from dependency, because it causes a test failure in KieBaseIncludeTest

  • Use canonicalKieModule.getKiePackages() rather than getKieBase()

  • null check for kiePackage

  • move populateIncludedRuleNameMap out of packages loop

  • removed unused FileManager

  • performance improvement. Use getModelForKBase instead of getKiePackages

  • Fit into build phases

  • clean up

Issue:

…when duplicated

* removing kie-ci from dependency, because it causes a test failure in KieBaseIncludeTest

* Use canonicalKieModule.getKiePackages() rather than getKieBase()

* null check for kiePackage

* move populateIncludedRuleNameMap out of packages loop

* removed unused FileManager

* performance improvement. Use getModelForKBase instead of getKiePackages

* Fit into build phases

* clean up
@tkobayas
Copy link
Contributor Author

tkobayas commented Jul 9, 2024

This is a forward port PR of kiegroup#59 and kiegroup#61 from 7.x.

The main branch was refactored to use Phase architecture in ModelBuilderImpl, so this PR is adjusted to it.

@tkobayas
Copy link
Contributor Author

tkobayas commented Jul 9, 2024

@mariofusco @lucamolteni @pibizza Please review, thanks!

@tkobayas tkobayas merged commit 23ff9dc into apache:main Jul 10, 2024
10 checks passed
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Jul 17, 2024
…when duplicated (apache#6013)

* removing kie-ci from dependency, because it causes a test failure in KieBaseIncludeTest

* Use canonicalKieModule.getKiePackages() rather than getKieBase()

* null check for kiePackage

* move populateIncludedRuleNameMap out of packages loop

* removed unused FileManager

* performance improvement. Use getModelForKBase instead of getKiePackages

* Fit into build phases

* clean up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executable model doesn't report an error when duplicated rule name with "include" kbase
3 participants