Croway opened a new pull request, #2076:
URL: https://github.com/apache/camel-spring-boot/pull/2076

   Two follow-ups to recent changes in Camel core. The first one breaks the 
camel-spring-boot build; the second one makes the Daily CI job unstable.
   
   ### CAMEL-26691: remove the activity options of the backlog tracer
   
   apache/camel#29378 removed the activity tracking of the backlog tracer 
(replaced by the `timeline` dev console), so `BacklogTracer.setActivitySize` / 
`setActivityEnabled` no longer exist and `core/camel-spring-boot` fails to 
compile:
   
   ```
   CamelTraceAutoConfiguration.java:[66,15] cannot find symbol: method 
setActivitySize(int)
   CamelTraceAutoConfiguration.java:[70,15] cannot find symbol: method 
setActivityEnabled(boolean)
   ```
   
   - Removes `camel.trace.activity-enabled` and `camel.trace.activity-size` 
(the 4.24 upgrade guide in Camel already lists them as removed for Spring 
Boot), and enabling activity for the `dev` profile, as `ProfileConfigurer` does 
in camel-main.
   - Removes the `activity` dev console from the Spring Boot catalog and adds 
the `timeline` one. `PrepareCatalogSpringBootMojo` only adds dev consoles to 
`dev-consoles.properties`, it never removes them, so the regen would not drop 
`activity` by itself.
   
   ### CAMEL-25675: Hashicorp Vault options to log in with AppRole, Kubernetes 
or JWT
   
   
`VaultConfigurationPropertiesMappingTest.starterExposesAllCamelVaultOptions[4]` 
fails in every `Camel-Spring-Boot Daily` build on main since #445, because 
apache/camel#29235 added options to `HashicorpVaultConfiguration` that 
`HashicorpVaultConfigurationProperties` does not expose.
   
   - Adds `camel.vault.hashicorp.authentication`, `role-id`, `secret-id`, 
`role`, `jwt`, `jwt-file` and `auth-mount-path`, with the descriptions of Camel.
   - `authentication` defaults to `token`, as in Camel: 
`HashicorpVaultAutoConfiguration` copies the properties with 
`BeanUtils.copyProperties`, which also copies nulls, so without the default it 
would reset the Camel default.
   
   ### Testing
   
   Built against a local Camel 4.24.0-SNAPSHOT that includes both changes:
   
   - `core/camel-spring-boot`: compiles, 
`VaultConfigurationPropertiesMappingTest` passes (8/8), `spring-boot.json` 
regenerated.
   - `components-starter/camel-console-starter`: rebuilt to regenerate the dev 
console catalog.
   
   _Claude Code on behalf of Federico Mariani_
   


-- 
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