Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/camel-kamelets-itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

<properties>
<enable.integration.tests>*IT</enable.integration.tests>
<!-- The Kamelets under test: this working tree, not a released artifact. See #2984. -->
<kamelets.local.dir>${project.basedir}/../../kamelets</kamelets.local.dir>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ citrus.camel.cli.max.attempts=10
citrus.camel.cli.version=${camel.version}
# Kamelets version (should point to the current snapshot release version)
citrus.camel.cli.kamelets.version=${project.version}
# Load the Kamelets from this working tree rather than from a resolved
# camel-kamelets artifact, so the tests actually exercise the catalog built in
# the same run. The version property above is not sufficient on its own: Camel
# JBang consumes camel-kamelets.version as a JBang script property (the //DEPS
# line in CamelJBang.java), which Citrus' system property cannot reach, so the
# run silently falls back to the released catalog. See #2984.
citrus.camel.cli.kamelets.local.dir=${kamelets.local.dir}

# Enable dump of Camel CLI integration output
citrus.camel.cli.dump.integration.output=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ spec:
kind: Kamelet
name: mail-sink
properties:
# The Citrus mail server this test starts is a plaintext SMTP server, so
# the protocol has to be pinned. mail-sink defaults to smtps (implicit
# TLS) since #2956, which is the right default for real deployments but
# cannot complete a handshake against the mock.
protocol: "smtp"
connectionHost: "{{mail.host}}"
connectionPort: "{{mail.port}}"
username: "{{mail.username}}"
Expand Down
Loading