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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new ffbb7ff CAMEL-17499: Renaming inconsistent data format names in model
ffbb7ff is described below
commit ffbb7ffc5147ac8b18b918974a0048870fad0190
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jan 19 10:59:46 2022 +0100
CAMEL-17499: Renaming inconsistent data format names in model
---
.../camel/itest/springboot/CamelSnakeyamlTest.java | 2 +-
...pdateSpringBootAutoConfigurationReadmeMojo.java | 31 ----------------------
2 files changed, 1 insertion(+), 32 deletions(-)
diff --git
a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSnakeyamlTest.java
b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSnakeyamlTest.java
index ef2f6cc..9231226 100644
---
a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSnakeyamlTest.java
+++
b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSnakeyamlTest.java
@@ -40,7 +40,7 @@ public class CamelSnakeyamlTest extends
AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config, "yaml-snakeyaml");
+ this.runDataformatTest(config, "snakeYaml");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateSpringBootAutoConfigurationReadmeMojo.java
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateSpringBootAutoConfigurationReadmeMojo.java
index 23c4f0b..2aac186 100644
---
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateSpringBootAutoConfigurationReadmeMojo.java
+++
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateSpringBootAutoConfigurationReadmeMojo.java
@@ -118,36 +118,5 @@ public class UpdateSpringBootAutoConfigurationReadmeMojo
extends AbstractMojo {
}
}
- // TODO: later
- private static String asComponentName(String componentName) {
- if ("fastjson".equals(componentName)) {
- return "json-fastjson";
- } else if ("gson".equals(componentName)) {
- return "json-gson";
- } else if ("jackson".equals(componentName)) {
- return "json-jackson";
- } else if ("johnzon".equals(componentName)) {
- return "json-johnzon";
- } else if ("snakeyaml".equals(componentName)) {
- return "yaml-snakeyaml";
- } else if ("cassandraql".equals(componentName)) {
- return "cql";
- } else if ("josql".equals(componentName)) {
- return "sql";
- } else if ("juel".equals(componentName)) {
- return "el";
- } else if ("jsch".equals(componentName)) {
- return "scp";
- } else if ("printer".equals(componentName)) {
- return "lpr";
- } else if ("saxon".equals(componentName)) {
- return "xquery";
- } else if ("stringtemplate".equals(componentName)) {
- return "string-template";
- } else if ("tagsoup".equals(componentName)) {
- return "tidyMarkup";
- }
- return componentName;
- }
}
\ No newline at end of file