[
https://issues.apache.org/jira/browse/CAMEL-17097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-17097.
---------------------------------
Fix Version/s: 3.x
Resolution: Fixed
> YAML DSL Camel Case
> -------------------
>
> Key: CAMEL-17097
> URL: https://issues.apache.org/jira/browse/CAMEL-17097
> Project: Camel
> Issue Type: Improvement
> Components: camel-yaml-dsl
> Reporter: Marat Gubaidullin
> Assignee: Luca Burgazzoli
> Priority: Major
> Fix For: 3.x
>
>
> 1. YAML DSL uses Camel Case for Component parameters, ex *authorizationToken*
> {code:java}
> - from:
> uri: "timer://tick"
> parameters:
> period: "1s"
> steps:
> - to:
> uri: "telegram:bots"
> parameters:
> authorizationToken: "XXX"
> {code}
>
> 2. YAML DSL uses Kebab Case for EIP and EIP parameters, ex:
> [do-catch|https://github.com/apache/camel/blob/eb4b84ad37d7e1e94165dcb966f7ed1d8114f508/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json#L17],
> *wire-tap*,
> [parameters|https://github.com/apache/camel/blob/eb4b84ad37d7e1e94165dcb966f7ed1d8114f508/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy#L72]
> etc
> 3. Kamelet
> [properties|https://github.com/apache/camel/blob/eb4b84ad37d7e1e94165dcb966f7ed1d8114f508/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/KameletLoaderTest.groovy#L47]
> are in Camel Case.
> 4. Kubernetes part of Integration is also in Camel Case: *apiVersion*:
> camel.apache.org/v1
> I would like to propose to synchronize YAML DSL for the only one case: ex.
> Camel Case to be more Kubernetes standard oriented
--
This message was sent by Atlassian Jira
(v8.20.10#820010)