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

SpringBoot application generated by archetype missing http package scan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.Final
    • 1.1.0.Final
    • Core Engine
    • None
    • False
    • False
    • Undefined
    • Hide

      Generate SpringBoot application.
      Replace bpmn file with some DMN.
      Start generated application
      =>
      DMN endpoint is not available (as generated resource is not scanned).

      Show
      Generate SpringBoot application. Replace bpmn file with some DMN. Start generated application => DMN endpoint is not available (as generated resource is not scanned).
    • ---
    • ---

    Description

      KOGITO-3700 migrate Kogito SpringBoot code to Spring Web API. Part of this migration is to remove `http*` package scan done by resteasy. This should be compensated by setting this scan in `@SpringBootApplication` annotation.

      However in https://github.com/kiegroup/kogito-runtimes/blob/master/archetypes/kogito-springboot-archetype/src/main/resources/archetype-resources/src/main/java/KogitoApplication.java this package scan is missing.

      Attachments

        Issue Links

          Activity

            People

              ksuta Karel Suta
              ksuta Karel Suta
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: