You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2018/05/09 14:01:00 UTC

[jira] [Work started] (CAMEL-12499) Quoting map keys no longer needed

     [ https://issues.apache.org/jira/browse/CAMEL-12499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-12499 started by Zoran Regvart.
---------------------------------------------
> Quoting map keys no longer needed
> ---------------------------------
>
>                 Key: CAMEL-12499
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12499
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-spring-boot-starters
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Major
>             Fix For: 2.22.0
>
>
> Spring Boot no longer requires that the map keys in the configuration properties are quoted, in 2.0 if the quotes are given they are taken literally. For example:
> {code:java}
> custom.map['key'] = value{code}
> populates the {{map}} property with key equal to {{"'key'"}}.
> The recommended way would be to use the dot notation, or in this example:
> {code:java}
> custom.map.key = value{code}
> The angle brackets syntax is supported and should work but users need to be aware that the content between the angle brackets is taken verbatim.
> There is a [test|https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/289/testReport/org.apache.camel.component.kubernetes.springboot.test.cluster/KubernetesClusterServiceAutoConfigurationTest/testPropertiesMapped/] in the {{camel-kubernetes-starter}} that failed on CI because of this change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)