You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/11/19 16:37:13 UTC
[camel] branch main updated: CAMEL-17210: camel-jbang - Allow to run a file loaded via github resource loader
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 7142cf7 CAMEL-17210: camel-jbang - Allow to run a file loaded via github resource loader
7142cf7 is described below
commit 7142cf7a82d260241dc33a558ffee861a422232b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Nov 19 17:36:33 2021 +0100
CAMEL-17210: camel-jbang - Allow to run a file loaded via github resource loader
---
.../src/test/java/org/apache/camel/main/KameletMainGithubTest.java | 3 +--
dsl/camel-kamelet-main/src/test/resources/log4j2.properties | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/KameletMainGithubTest.java b/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/KameletMainGithubTest.java
index d62e2e9..a91ba5e 100644
--- a/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/KameletMainGithubTest.java
+++ b/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/KameletMainGithubTest.java
@@ -27,8 +27,7 @@ public class KameletMainGithubTest {
KameletMain main = new KameletMain();
main.setDownload(true);
main.configure().withDurationMaxSeconds(10);
-// main.configure().withRoutesIncludePattern("github:apache:camel-k:examples/languages/routes.yaml");
- main.configure().withRoutesIncludePattern("github:apache:camel-examples:examples/main-yaml/src/main/resources/my-route.yaml");
+ main.configure().withRoutesIncludePattern("github:apache:camel-k:examples/languages/routes.yaml");
main.run();
}
diff --git a/dsl/camel-kamelet-main/src/test/resources/log4j2.properties b/dsl/camel-kamelet-main/src/test/resources/log4j2.properties
index ceb0f20..8cde106 100644
--- a/dsl/camel-kamelet-main/src/test/resources/log4j2.properties
+++ b/dsl/camel-kamelet-main/src/test/resources/log4j2.properties
@@ -25,4 +25,4 @@ appender.out.name = out
appender.out.layout.type = PatternLayout
appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
rootLogger.level = INFO
-rootLogger.appenderRef.file.ref = out
+rootLogger.appenderRef.file.ref = file