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

Cannot set a different value for the kogito.data-index.url property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.36.0.Final
    • None
    • Data Index
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 09-11 (from Feb 27)

    Description

      Setting a different value than `localhost` for the `kogito.data-index.url` property apparently does not take any effect.

       
      Steps to reproduce:

      1) Add the dependency `kogito-addons-quarkus-data-index-inmemory` into a serverless workflow project

      2) Change `kogito.data-index.url` to any other value than `localhost`

      3) Run quarkus:dev and access the Dev UI

      Dev UI always uses `localhost:8080` no matter the value `kogito.data-index.url` has.

       

      An initial investigation suggests that this property may be being overwritten here [1].

       

      [1] https://github.com/kiegroup/kogito-apps/blob/main/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/deployment/src/main/java/org/kie/kogito/addons/quarkus/data/index/deployment/AbstractKogitoAddonsQuarkusDataIndexProcessor.java#L49

      Attachments

        Activity

          People

            cnicolai@redhat.com Cristiano Nicolai
            xiabai@redhat.com Xiaofeng Bai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: