You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/05/10 14:27:04 UTC

[camel] branch properties-helper-patch created (now 486d580e908)

This is an automated email from the ASF dual-hosted git repository.

marat pushed a change to branch properties-helper-patch
in repository https://gitbox.apache.org/repos/asf/camel.git


      at 486d580e908 Align PropertiesHelper with CamelJBangMain

This branch includes the following new commits:

     new 486d580e908 Align PropertiesHelper with CamelJBangMain

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel] 01/01: Align PropertiesHelper with CamelJBangMain

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch properties-helper-patch
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 486d580e908d9ea775b8dfef94b65796eaba5b86
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Tue May 10 10:26:58 2022 -0400

    Align PropertiesHelper with CamelJBangMain
    
    Align PropertiesHelper with CamelJBangMain command change.
    COMMAND_PREFIX = "camel"
---
 .../java/org/apache/camel/dsl/jbang/core/commands/PropertiesHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/PropertiesHelper.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/PropertiesHelper.java
index 22206d51e8a..4accbe99a78 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/PropertiesHelper.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/PropertiesHelper.java
@@ -32,7 +32,7 @@ import picocli.CommandLine;
 public final class PropertiesHelper {
     private static final String APPLICATION_PROPERTIES_FILE = "application.properties";
     private static final String PROPERTY_PREFIX = "camel.jbang";
-    private static final String COMMAND_PREFIX = "CamelJBang";
+    private static final String COMMAND_PREFIX = "camel";
     private static final String COMMON_PREFIX = COMMAND_PREFIX + ".project.";
     private static final List<String> COMMON_ARGUMENTS = List.of("namespace", "name", "version");