Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3393

Persistence is not working for Kogito Runtime apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.16.0
    • 1.0.0.Final
    • Core Engine
    • None
    • False
    • False
    • Undefined
    • Hide

      git clone the project process-springboot-example
      mvn clean install -Ppersistence
      java -jar target/process-springboot-example.jar

      Actual: The service starts correctly.
      Expected: It should not start as we selected the persistence profile and we don't have any Infinispan instance up and running

      Show
      git clone the project process-springboot-example mvn clean install -Ppersistence java -jar target/process-springboot-example.jar Actual: The service starts correctly. Expected: It should not start as we selected the persistence profile and we don't have any Infinispan instance up and running
    • ---
    • ---
    • 2020 Week 37-39 (from Sep 7), 2020 Week 40-42 (from Sep 28)

      See steps to reproduce. It seems that the Kogito is not being initialized with the Infinispan resources to enable persistence.

      The issue is related with the changes in KOGITO-1942. I've tested by reverting these changes and worked fine.

      Note that this has been spotted using the BDD tests in the Kogito Operator. However, we should cover this in Kogito Runtimes by checking that the persistence is correctly enabled (at the moment, we have tests using Infinispan but it seems that it's not used, so Kogito runtime tests have silently hidden this issue).

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              jcarvaja@redhat.com Jose Carvajal Hilario
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: