You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marat Gubaidullin (Jira)" <ji...@apache.org> on 2021/11/30 21:59:00 UTC

[jira] [Commented] (CAMEL-17097) YAML DSL Camel Case

    [ https://issues.apache.org/jira/browse/CAMEL-17097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451374#comment-17451374 ] 

Marat Gubaidullin commented on CAMEL-17097:
-------------------------------------------

I would be great to support parameters in camelCase as well to have some consistency 

> YAML DSL Camel Case
> -------------------
>
>                 Key: CAMEL-17097
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17097
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Marat Gubaidullin
>            Assignee: Luca Burgazzoli
>            Priority: Major
>
> 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.1#820001)