You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Jencks (Jira)" <ji...@apache.org> on 2021/11/15 01:42:00 UTC
[jira] [Commented] (CAMEL-17169) Three copies of same-named attribute in generated spring-boot.json file
[ https://issues.apache.org/jira/browse/CAMEL-17169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443504#comment-17443504 ]
David Jencks commented on CAMEL-17169:
--------------------------------------
The same problem occurs in 3.12, 3.11, and 3.7. Is it safe to apply the same fix? Alternatively I can just edit the json file to remove duplicates: this would only cause a problem if the json file was regenerated.
> Three copies of same-named attribute in generated spring-boot.json file
> -----------------------------------------------------------------------
>
> Key: CAMEL-17169
> URL: https://issues.apache.org/jira/browse/CAMEL-17169
> Project: Camel
> Issue Type: Task
> Components: camel-spring-boot-starters
> Reporter: David Jencks
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.13.0
>
>
> In main branch:
> This is in generated core/camel-spring-boot/src/main/docs/spring-boot.json:
> ```
> {
> "name": "management.endpoint.camelroutes.enabled",
> "type": "java.lang.Boolean",
> "description": "To turn on or off information about Camel Routes via actuator endpoint.",
> "defaultValue": true
> },
> {
> "name": "management.endpoint.camelroutes.enabled",
> "type": "java.lang.Boolean",
> "description": "Whether to enable the camelroutes endpoint.",
> "sourceType": "org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint",
> "defaultValue": true
> },
> {
> "name": "management.endpoint.camelroutes.enabled",
> "type": "java.lang.Boolean",
> "sourceType": "org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpointProperties",
> "defaultValue": false
> },
> ```
> Three versions of the same property doesn't make sense.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)