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

Knative eventing plugin sends no events when compiled with the native build

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Fixed issue that prevents Knative events from being generated when running in native mode.
    • Hide

      Run tests from https://github.com/kiegroup/kogito-examples/tree/main/serverless-workflow-examples/serverless-workflow-events-quarkus in native mode:

      mvn verify -Pnative

      Or...

       

      1) create a hello world quarkus project that has servlerless workfow, incorporates all the necessary, etc.. and also, addds the 

       

      <dependency>
      <groupId>org.kie.kogito</groupId>
      <artifactId>kogito-addons-quarkus-knative-eventing</artifactId>
      </dependency>

       

      2) compile the project in native mode and execute any of the SW that is expected to send an event.

       

      3) no event is sent.

       

      4) if we do the same but using the normal maven build, the event is sent.

       

      That's the bug.

       

      The attached hello world SW can be used.

      Show
      Run tests from https://github.com/kiegroup/kogito-examples/tree/main/serverless-workflow-examples/serverless-workflow-events-quarkus in native mode: mvn verify -Pnative Or...   1) create a hello world quarkus project that has servlerless workfow, incorporates all the necessary, etc.. and also, addds the    <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-knative-eventing</artifactId> </dependency>   2) compile the project in native mode and execute any of the SW that is expected to send an event.   3) no event is sent.   4) if we do the same but using the normal maven build, the event is sent.   That's the bug.   The attached hello world SW can be used.
    • ---
    • ---
    • 2022 Week 35-37 (from Aug 29), 2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31)

    Description

      When we have a servlerless workfow that should send events and we use the knative eventing addon, and we use the native build. No events are sent, however the normal build send them.

       

       

      Attachments

        Activity

          People

            hbelmiro@redhat.com Helber Belmiro
            wmedvede@redhat.com Walter Medvedeo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: