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

UI for test scenario and Kogito migration #2756

Open
thanhnvse opened this issue Nov 21, 2024 · 2 comments
Open

UI for test scenario and Kogito migration #2756

thanhnvse opened this issue Nov 21, 2024 · 2 comments

Comments

@thanhnvse
Copy link

Recently, I have been migrating from [KIE Server and KIE Workbench] to [Kogito and (KIE Sandbox or VSCode)]. I would like to ask a few questions as follows:

  • Can KIE Sandbox or VSCode use test scenarios on the UI like KIE Workbench? From my understanding, it seems that only "Maven build" can be used to test all the test cases defined inside *.scesim files.
  • Does VSCode have any extensions that support reading the GDST file format?
  • Is it possible to run a single Kogito project in two modes simultaneously, using both Kogito with legacy API support and DMN Kogito artifacts within the same project? Specifically:
    • The old rules written in DRL would be executed using KieRuntimeBuilder (legacy API).
    • The new rules would be handled using DMN with Kogito artifacts.
    • The results from both approaches would then be combined into a unified output.
      -> If this setup is feasible, what would be the best practices or recommended way to configure the project to achieve this?

image

@jomarko
Copy link
Contributor

jomarko commented Nov 25, 2024

hi @thanhnvse, best is to wait until @yesamer confirm or correct my answers, but at least this is what I know:

Can KIE Sandbox or VSCode use test scenarios on the UI like KIE Workbench? From my understanding, it seems that only "Maven build" can be used to test all the test cases defined inside *.scesim files.

Correct, not button Run available in VSCode. To run your scesim file you need to run the maven command.

Does VSCode have any extensions that support reading the GDST file format?

No

Is it possible to run a single Kogito project in two modes simultaneously, using both Kogito with legacy API support and DMN Kogito artifacts within the same project? Specifically:

Not sure I understand all details, maybe it is solvable generally using maven profiles?

@nvthanh02
Copy link

nvthanh02 commented Nov 25, 2024

for the third question example, I have Kogito project (drool version 8) defines rules by using both DRL and DMN file. When a request comes in, I want it to go through both DRL and DMN rules and return the result, is that possible?

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

No branches or pull requests

3 participants