camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] 02/02: camel-main - Include new options in metadata
Date Thu, 11 Jun 2020 13:11:51 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 60ec36df46c27cee04697d88c1a3947bdcfa1b16
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Thu Jun 11 15:06:19 2020 +0200

     camel-main - Include new options in metadata
---
 .../java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
index 05dee4a..c337319 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
@@ -171,6 +171,10 @@ public class PrepareCamelMainMojo extends AbstractGeneratorMojo {
                     prefix = "camel.faulttolerance.";
                 } else if (file.getName().contains("Rest")) {
                     prefix = "camel.rest.";
+                } else if (file.getName().contains("HealthCheck")) {
+                    prefix = "camel.health.";
+                } else if (file.getName().contains("Lra")) {
+                    prefix = "camel.lra.";
                 } else {
                     prefix = "camel.main.";
                 }
@@ -212,6 +216,8 @@ public class PrepareCamelMainMojo extends AbstractGeneratorMojo {
             model.getGroups().add(new MainGroupModel("camel.hystrix", "camel-hystrix configurations.",
"org.apache.camel.main.HystrixConfigurationProperties"));
             model.getGroups().add(new MainGroupModel("camel.resilience4j", "camel-resilience4j
configurations.", "org.apache.camel.main.Resilience4jConfigurationProperties"));
             model.getGroups().add(new MainGroupModel("camel.rest", "camel-rest configurations.",
"org.apache.camel.spi.RestConfiguration"));
+            model.getGroups().add(new MainGroupModel("camel.health", "camel-health configurations.",
"org.apache.camel.main.HealthCheckConfigurationProperties"));
+            model.getGroups().add(new MainGroupModel("camel.lra", "camel-lra configurations.",
"org.apache.camel.main.LraConfigurationProperties"));
 
             String json = JsonMapper.createJsonSchema(model);
 


Mime
View raw message