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

Hot reload doesn't work when process ID is changed

XMLWordPrintable

    • Hide
      1. Generate sample project as [1]
      2. Open generated project with VS Code, kogito extension installed
      3. Remove the pre-created bpmn2 business process
      4. Start quarkus like [2]
      5. Create package com/sample/kogito/integration in src/main/resources
      6. Create process like (Start -> Script Task (System.out.println("Hello World") -> End) in the package
      7. Save process
      8. Send GET request: http://localhost:8080/[your_process_id]
      9. Change the business process id
      10. Save process
      11. Send GET request: http://localhost:8080/[your_changed_process_id]
      12. Error will be thrown quarkus-error.log

      [1]

      mvn archetype:generate \
          -DarchetypeGroupId=org.kie.kogito \
          -DarchetypeArtifactId=kogito-quarkus-archetype \
          -DgroupId=org.acme -DartifactId=sample-kogito \
          -Dversion=1.0-SNAPSHOT
      

      [2]

      mvn clean package quarkus:dev
      
      Show
      Generate sample project as [1] Open generated project with VS Code, kogito extension installed Remove the pre-created bpmn2 business process Start quarkus like [2] Create package com/sample/kogito/integration in src/main/resources Create process like (Start -> Script Task (System.out.println("Hello World") -> End) in the package Save process Send GET request: http://localhost:8080/[your_process_id ] Change the business process id Save process Send GET request: http://localhost:8080/[your_changed_process_id ] Error will be thrown quarkus-error.log [1] mvn archetype:generate \ -DarchetypeGroupId=org.kie.kogito \ -DarchetypeArtifactId=kogito-quarkus-archetype \ -DgroupId=org.acme -DartifactId=sample-kogito \ -Dversion=1.0-SNAPSHOT [2] mvn clean package quarkus:dev

      When running quarkus:dev mode, change of business process ID causes hot reload to start ([1] appears in log), however it is never finished.

      [1]

      2020-02-28 13:40:31,954 INFO  [io.qua.dev] (vert.x-worker-thread-2) Changed source files detected, recompiling [/tmp/sample-kogito/src/main/resources/com/sample/kogito/integration/applicant-process.bpmn]
      

      May be related with KOGITO-987?

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              rh-ee-jomarko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: