You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ahmed M (Jira)" <ji...@apache.org> on 2020/06/30 20:26:00 UTC
[jira] [Commented] (CAMEL-14565) camel-spring-boot - Some auto
configuration options has no descriptions
[ https://issues.apache.org/jira/browse/CAMEL-14565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148943#comment-17148943 ]
Ahmed M commented on CAMEL-14565:
---------------------------------
Hello,
I am trying to fix this issue but i am out of ideas, any hints ?
All of these warnings refer to private properties inherited from parent configuration classes.
{code:java}
@ConfigurationProperties(prefix = "camel.component.consul.cluster.service")
public class ConsulClusterServiceConfiguration extends ConsulClusterConfiguration {
// ...
}
@ConfigurationProperties(prefix = "camel.component.zookeeper.cluster.service")
public class ZooKeeperClusterServiceConfiguration extends ZooKeeperCuratorConfigurationCopy {
}
{code}
The {{spring-boot-configuration-processor}} seems to find them by using the inherited public getters but it can't find the associated javadoc comments hence the missing descriptions. It also can't find the default values.
The generated {{spring-configuration-metadata.json}} files look like this :
{code:json}
"properties": [
...
{
"name": "camel.component.consul.cluster.service.block-seconds",
"type": "java.lang.Integer",
"sourceType": "org.apache.camel.component.consul.springboot.cluster.ConsulClusterServiceConfiguration"
},
{
"name": "camel.component.consul.cluster.service.connect-timeout",
"type": "java.time.Duration",
"sourceType": "org.apache.camel.component.consul.springboot.cluster.ConsulClusterServiceConfiguration"
},
...
{code}
I tried to add javadoc to the public getters/setters but it did not work.
PS: This will be my first contribution to Camel, well... that if i manage to fix it :)
> camel-spring-boot - Some auto configuration options has no descriptions
> -----------------------------------------------------------------------
>
> Key: CAMEL-14565
> URL: https://issues.apache.org/jira/browse/CAMEL-14565
> Project: Camel
> Issue Type: Task
> Components: camel-spring-boot-starters
> Reporter: Claus Ibsen
> Priority: Major
> Labels: help-wanted
> Fix For: 3.5.0
>
>
> [WARNING] Option camel.component.consul.cluster.service.acl-token has no description
> [WARNING] Option camel.component.consul.cluster.service.block-seconds has no description
> [WARNING] Option camel.component.consul.cluster.service.connect-timeout-millis has no description
> [WARNING] Option camel.component.consul.cluster.service.consistency-mode has no description
> [WARNING] Option camel.component.consul.cluster.service.datacenter has no description
> [WARNING] Option camel.component.consul.cluster.service.first-index has no description
> [WARNING] Option camel.component.consul.cluster.service.near-node has no description
> [WARNING] Option camel.component.consul.cluster.service.node-meta has no description
> [WARNING] Option camel.component.consul.cluster.service.password has no description
> [WARNING] Option camel.component.consul.cluster.service.ping-instance has no description
> [WARNING] Option camel.component.consul.cluster.service.read-timeout-millis has no description
> [WARNING] Option camel.component.consul.cluster.service.recursive has no description
> [WARNING] Option camel.component.consul.cluster.service.root-path has no description
> [WARNING] Option camel.component.consul.cluster.service.session-lock-delay has no description
> [WARNING] Option camel.component.consul.cluster.service.session-refresh-interval has no description
> [WARNING] Option camel.component.consul.cluster.service.session-ttl has no description
> [WARNING] Option camel.component.consul.cluster.service.ssl-context-parameters has no description
> [WARNING] Option camel.component.consul.cluster.service.tags has no description
> [WARNING] Option camel.component.consul.cluster.service.url has no description
> [WARNING] Option camel.component.consul.cluster.service.user-name has no description
> [WARNING] Option camel.component.consul.cluster.service.write-timeout-millis has no description
> [WARNING] Option camel.component.consul.health.check.repository.enabled has no description
> [WARNING] Option camel.component.consul.health.check.repository.failure-threshold has no description
> [WARNING] Option camel.component.consul.health.check.repository.interval has no description
> [WARNING] Option camel.component.consul.service-registry.acl-token has no description
> [WARNING] Option camel.component.consul.service-registry.block-seconds has no description
> [WARNING] Option camel.component.consul.service-registry.check-interval has no description
> [WARNING] Option camel.component.consul.service-registry.check-ttl has no description
> [WARNING] Option camel.component.consul.service-registry.connect-timeout-millis has no description
> [WARNING] Option camel.component.consul.service-registry.consistency-mode has no description
> [WARNING] Option camel.component.consul.service-registry.datacenter has no description
> [WARNING] Option camel.component.consul.service-registry.deregister-after has no description
> [WARNING] Option camel.component.consul.service-registry.deregister-services-on-stop has no description
> [WARNING] Option camel.component.consul.service-registry.first-index has no description
> [WARNING] Option camel.component.consul.service-registry.near-node has no description
> [WARNING] Option camel.component.consul.service-registry.node-meta has no description
> [WARNING] Option camel.component.consul.service-registry.override-service-host has no description
> [WARNING] Option camel.component.consul.service-registry.password has no description
> [WARNING] Option camel.component.consul.service-registry.ping-instance has no description
> [WARNING] Option camel.component.consul.service-registry.read-timeout-millis has no description
> [WARNING] Option camel.component.consul.service-registry.recursive has no description
> [WARNING] Option camel.component.consul.service-registry.service-host has no description
> [WARNING] Option camel.component.consul.service-registry.ssl-context-parameters has no description
> [WARNING] Option camel.component.consul.service-registry.tags has no description
> [WARNING] Option camel.component.consul.service-registry.url has no description
> [WARNING] Option camel.component.consul.service-registry.user-name has no description
> [WARNING] Option camel.component.consul.service-registry.write-timeout-millis has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.auth-info-list has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.base-path has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.connection-timeout has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.connection-timeout-unit has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.curator-framework has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.max-close-wait has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.max-close-wait-unit has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.namespace has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.nodes has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.reconnect-base-sleep-time has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.reconnect-base-sleep-time-unit has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.reconnect-max-retries has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.reconnect-max-sleep-time has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.reconnect-max-sleep-time-unit has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.retry-policy has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.session-timeout has no description
> [WARNING] Option camel.component.zookeeper.cluster.service.session-timeout-unit has no description
> [WARNING] Option camel.component.zookeeper.service-registry.auth-info-list has no description
> [WARNING] Option camel.component.zookeeper.service-registry.base-path has no description
> [WARNING] Option camel.component.zookeeper.service-registry.connection-timeout has no description
> [WARNING] Option camel.component.zookeeper.service-registry.connection-timeout-unit has no description
> [WARNING] Option camel.component.zookeeper.service-registry.curator-framework has no description
> [WARNING] Option camel.component.zookeeper.service-registry.deregister-services-on-stop has no description
> [WARNING] Option camel.component.zookeeper.service-registry.max-close-wait has no description
> [WARNING] Option camel.component.zookeeper.service-registry.max-close-wait-unit has no description
> [WARNING] Option camel.component.zookeeper.service-registry.namespace has no description
> [WARNING] Option camel.component.zookeeper.service-registry.nodes has no description
> [WARNING] Option camel.component.zookeeper.service-registry.override-service-host has no description
> [WARNING] Option camel.component.zookeeper.service-registry.reconnect-base-sleep-time has no description
> [WARNING] Option camel.component.zookeeper.service-registry.reconnect-base-sleep-time-unit has no description
> [WARNING] Option camel.component.zookeeper.service-registry.reconnect-max-retries has no description
> [WARNING] Option camel.component.zookeeper.service-registry.reconnect-max-sleep-time has no description
> [WARNING] Option camel.component.zookeeper.service-registry.reconnect-max-sleep-time-unit has no description
> [WARNING] Option camel.component.zookeeper.service-registry.retry-policy has no description
> [WARNING] Option camel.component.zookeeper.service-registry.service-host has no description
> [WARNING] Option camel.component.zookeeper.service-registry.session-timeout has no description
> [WARNING] Option camel.component.zookeeper.service-registry.session-timeout-unit has no description
--
This message was sent by Atlassian Jira
(v8.3.4#803005)