Skip to content

[kie-issues#6881]: Support included decision services in scesim - #6900

Open
dschulten wants to merge 1 commit into
apache:mainfrom
dschulten:Fix_#6881-fails-to-invoke-included-decision-service
Open

[kie-issues#6881]: Support included decision services in scesim#6900
dschulten wants to merge 1 commit into
apache:mainfrom
dschulten:Fix_#6881-fails-to-invoke-included-decision-service

Conversation

@dschulten

@dschulten dschulten commented Aug 15, 2026

Copy link
Copy Markdown

Ports

  • not available yet, but might follow for 10.2.x, if this succeeds

Issue:

Referenced Pull Requests: (please edit the URLs of referenced pull requests if they exist)

  • none
How to replicate the CI locally

The CI does "simple" maven build(s). All commands can be run from the repository root.

Quick build of just your changed modules and their dependents (mirrors what CI does on a PR):

# 1. Build upstream dependencies of your changes (skip tests for speed)
mvn -T 1C --batch-mode -fae -DskipTests -DskipITs \
    -Denforcer.skip=true -Dcheckstyle.skip=true -Dformatter.skip=true -Darchunit.skip=true \
    -pl <upstream-modules> install

# 2. Build your changed modules and their transitive dependents (with tests)
mvn --batch-mode -fae -Dreproducible \
    -pl <affected-modules> install

To compute <upstream-modules> and <affected-modules> automatically (requires JBang):

jbang script/ci/CiComputeBuildScopes.java \
    <changed-files.txt> \
    <upstream-modules.txt> \
    <affected-modules.txt> \
    <changed-modules.txt>

Full build (equivalent to what runs on every push to main):

mvn --batch-mode -fae -Dfull -Dreproducible install

-Dfull additionally builds the distribution modules and generates Javadoc JARs.

Useful flags:

Flag Effect
-Dquickly Skip tests, Checkstyle, formatter, Enforcer, ArchUnit
-DskipTests Skip unit tests
-DskipITs Skip integration tests
-Denforcer.skip=true Skip Enforcer plugin
-Dcheckstyle.skip=true Skip Checkstyle
-Dformatter.skip=true Skip formatter
-Darchunit.skip=true Skip ArchUnit
How to retest this PR or trigger a specific build
  • Execute org.drools.scenariosimulation.integrationtest.TestScenarioTest with Maven. It now runs the new src/test/resources/importedDMNDecisionService/Using Imported Decision Service.scesim, which executes a decision service from an included model.
  • To re-run CI: push a new commit to the PR (an empty commit is enough: git commit --allow-empty -m "re-trigger CI").

@dschulten
dschulten force-pushed the Fix_#6881-fails-to-invoke-included-decision-service branch from 04f7350 to a837faf Compare August 18, 2026 05:45
@dschulten

Copy link
Copy Markdown
Author

@yesamer added the missing license headers to the new .dmn and .scesim files

@yesamer

yesamer commented Aug 20, 2026

Copy link
Copy Markdown
Member

@dschulten Hi, builds are failing. Can you please check the logs? https://github.com/apache/incubator-kie/commit/a837fafad82530ccb523ebf620a1ab8d11791323/checks/96345085708/logs
Thank you :)

@dschulten

Copy link
Copy Markdown
Author

@dschulten Hi, builds are failing. Can you please check the logs? https://github.com/apache/incubator-kie/commit/a837fafad82530ccb523ebf620a1ab8d11791323/checks/96345085708/logs Thank you :)

I've seen it, will try to find the time

@yesamer

yesamer commented Aug 25, 2026

Copy link
Copy Markdown
Member

@dschulten No need to rush, your contribution is very appreciated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scesim fails to execute decision service from included model

2 participants