lobtx commented on PR #31245:
URL: https://github.com/apache/camel/pull/31245#issuecomment-7340636915

   Thanks for the review! All three points are addressed in 579e89619:
   
   1. Added `DependencyDownloaderPropertiesComponentTest`: a CamelContext that 
is not built, a recording downloader and a
      property that maps to a known dependency. Adding the service does not 
build the context and downloads nothing, and
      `context.init()` downloads the dependency. On main it fails with the 
`NullPointerException` from
      `getManagementStrategy()`.
   2. The comment in `DependencyDownloaderPropertiesComponent.doBuild` and the 
PR description now say that the scan runs
      before `MainAutowiredLifecycleStrategy`, so the beans it binds (such as 
the DataSource of `spring.datasource.url`) are
      in the registry before Camel Main autowires the components created so far.
   3. `KameletMainTypeConverterStatisticsTest` is now package-private, with a 
package-private method.
   
   camel-kamelet-main: 126 tests pass (also with 
`-Dcamel.surefire.forkCount=8`), and `-Psourcecheck` is clean.
   
   _Claude Code on behalf of lobtx_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to