This is an automated email from the ASF dual-hosted git repository.
fjtiradosarti pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 3877a493b [Fix_#3383] Setting metadata when using binary (#1862)
3877a493b is described below
commit 3877a493bce2fbeacbfc4aaa6e636d0baa368557
Author: Francisco Javier Tirado Sarti
<[email protected]>
AuthorDate: Fri Feb 2 16:43:47 2024 +0100
[Fix_#3383] Setting metadata when using binary (#1862)
Since quarkus-http now uses binary as default the test condition for
knative message has changed
---
.../src/test/resources/application.properties | 2 ++
.../src/test/resources/application.properties | 2 ++
.../subscription-flow/src/main/resources/application.properties | 1 +
.../src/main/resources/application.properties | 1 +
4 files changed, 6 insertions(+)
diff --git
a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties
b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties
index 0d7c6beec..bb8bd6cea 100644
---
a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties
+++
b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties
@@ -22,3 +22,5 @@ quarkus.log.level=INFO
mp.messaging.outgoing.kogito_outgoing_stream.connector=quarkus-http
mp.messaging.outgoing.kogito_outgoing_stream.url=http://0.0.0.0:8181
+
+kogito.addon.messaging.outgoing.cloudEventMode=structured
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties
b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties
index f2e180a5c..b7fee18b5 100644
---
a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties
+++
b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties
@@ -21,3 +21,5 @@ quarkus.http.test-port=8282
quarkus.log.level=INFO
mp.messaging.outgoing.kogito_outgoing_stream.url=http://0.0.0.0:8181
+
+kogito.addon.messaging.outgoing.cloudEventMode=structured
diff --git
a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties
b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties
index 454e33ca9..eb97107b3 100644
---
a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties
+++
b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties
@@ -34,6 +34,7 @@
quarkus.rest-client.subscription_service_yaml.url=${SUBSCRIPTION_SERVICE_URL:htt
mp.messaging.incoming.kogito_incoming_stream.connector=quarkus-http
mp.messaging.incoming.kogito_incoming_stream.path=/
+kogito.addon.messaging.outgoing.cloudEventMode=structured
# The K_SINK variable is automatically injected by the Knative ecosystem. The
default value http://localhost:8181
# is used for local testing, which correspond to the event-display local
container.
diff --git
a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties
b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties
index 5b96ef246..74f382341 100644
---
a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties
+++
b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties
@@ -21,6 +21,7 @@ quarkus.log.level=INFO
# The K_SINK variable will be injected for us by the KogitoSource
mp.messaging.outgoing.kogito_outgoing_stream.url=${K_SINK:http://localhost:8181}
+kogito.addon.messaging.outgoing.cloudEventMode.kogito_outgoing_stream=structured
mp.messaging.incoming.kogito_incoming_stream.connector=quarkus-http
mp.messaging.incoming.kogito_incoming_stream.path=/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]