Federico Mariani created CAMEL-27082:
----------------------------------------

             Summary: camel-spring-boot - camel-core-starter still ships the 
camel.cloud.*.service-discovery configuration properties of the removed Service 
Call EIP
                 Key: CAMEL-27082
                 URL: https://issues.apache.org/jira/browse/CAMEL-27082
             Project: Camel
          Issue Type: Task
          Components: camel-spring-boot
            Reporter: Federico Mariani


Camel removed camel-cloud and the Service Call EIP in 4.19 (CAMEL-22290, 
CAMEL-22289). The camel-spring-boot side removed the auto-configurations that 
read the {{camel.cloud.*}} options, but {{camel-core-starter}} still ships six 
generated classes in {{org.apache.camel.model.cloud.springboot}}:

* {{ConsulServiceCallServiceDiscoveryConfigurationCommon}} / 
{{ConsulServiceCallServiceDiscoveryConfigurationProperties}} 
({{camel.cloud.consul.service-discovery}})
* {{DnsServiceCallServiceDiscoveryConfigurationCommon}} / 
{{DnsServiceCallServiceDiscoveryConfigurationProperties}} 
({{camel.cloud.dns.service-discovery}})
* {{KubernetesServiceCallServiceDiscoveryConfigurationCommon}} / 
{{KubernetesServiceCallServiceDiscoveryConfigurationProperties}} 
({{camel.cloud.kubernetes.service-discovery}})

Nothing registers or reads them, but the Spring Boot configuration processor 
still puts their 39 options in the configuration metadata of the starter, so an 
IDE offers them for completion, and the Core starter page lists them. Setting 
one has no effect.

{{SpringBootAutoConfigurationMojo}} still has the code that generates them (and 
the etcd one) from the service discovery models of camel-core-model, which no 
longer exist.

Expected: the classes, their metadata and the generator code are removed.

_Claude Code on behalf of Federico Mariani_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to