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

Create a specific Infinispan Persistence Add-On for Spring Boot

XMLWordPrintable

    • False
    • False

      We don't have a `kogito-addon-springboot-infinispan-persistence` to enforce the correct versions and SB starters. This led to users manually add their dependencies. Currently, looks like we have a problem with the dependency resolver. Take the onboarding example:

       [INFO] +- org.kie.kogito:kogito-addons-persistence-infinispan:jar:2.0.0-SNAPSHOT:compile
      [INFO] |  |  \- org.infinispan.protostream:protostream:jar:4.4.1.Final:compile
      [INFO] |  +- org.infinispan:infinispan-client-hotrod:jar:12.1.7.Final:compile
      [INFO] |  |  +- org.infinispan:infinispan-commons:jar:12.1.7.Final:compile
      [INFO] |  |  |  \- org.infinispan.protostream:protostream-types:jar:4.4.1.Final:compile
      [INFO] |  \- org.infinispan:infinispan-commons-jdk11:jar:12.1.7.Final:compile
      [INFO] \- org.infinispan:infinispan-spring-boot-starter-remote:jar:12.1.7.Final:compile
      [INFO]    +- org.infinispan:infinispan-query-dsl:jar:12.1.7.Final:compile
      [INFO]    \- org.infinispan:infinispan-spring5-remote:jar:10.1.8.Final:compile
      [INFO]       +- org.infinispan:infinispan-core:jar:10.1.8.Final:compile
      [INFO]       \- org.infinispan:infinispan-spring5-common:jar:10.1.8.Final:compile
      

       

      Note the 10.1.8.Final and 12.1.7.Final in the same classpath.

      Having a specific add-on, we can enforce these versions and align correctly the ISPN and Spring Boot versions.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              rhn-support-zanini Ricardo Zanini
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: