This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git.
from 8dd2b81 Use Solr 8.11.0 image in test-infra new 09e570a CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new e0c1e96 CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new b82c271 CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new 330346f CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new 5bd956a CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new e2b9a95 CAMEL-17250: camel-component-maven-plugin - Add option to easily configure the output directory new 7e117e5 CAMEL-17250: camel-component-maven-plugin - Add option to easily configure the output directory new 2363c92 CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new 7ae6507 CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. new 8ad1bfc CAMEL-15133: camel-health - Resolve health-checks from classpath and make it friendlier to provide custom health checks. The 10 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../main/camel-main-configuration-metadata.json | 1 + .../apache/camel/catalog/models/camelContext.json | 1 + .../apache/camel/catalog/schemas/camel-spring.xsd | 14284 +++++++++++++++---- .../camel/cdi/xml/CamelContextFactoryBean.java | 12 + .../org/apache/camel/spring/xml/camelContext.json | 1 + .../camel/spring/xml/CamelContextFactoryBean.java | 15 + .../camel/spi/annotations/ConstantProvider.java | 3 + .../{ConstantProvider.java => HealthCheck.java} | 12 +- .../main/java/org/apache/camel/CamelContext.java | 10 + .../org/apache/camel/ExtendedCamelContext.java | 15 + .../apache/camel/health/HealthCheckRegistry.java | 13 +- .../apache/camel/health/HealthCheckResolver.java | 26 + .../camel/impl/engine/AbstractCamelContext.java | 49 +- .../impl/engine/DefaultDataFormatResolver.java | 1 + .../impl/engine/DefaultHealthCheckResolver.java | 131 + .../camel/impl/engine/SimpleCamelContext.java | 6 + .../FastAnnotationTypeConverterLoader.java | 1 + .../camel/impl/ExtendedCamelContextConfigurer.java | 12 + .../camel/impl/lw/LightweightCamelContext.java | 21 + .../impl/lw/LightweightRuntimeCamelContext.java | 23 + .../core/xml/AbstractCamelContextFactoryBean.java | 7 + .../camel/impl/health/MyFooHealthCheck.java} | 29 +- .../camel/impl/health/MyFooHealthCheckTest.java | 72 + .../org/apache/camel/health-check/myfoo-check | 18 + .../consumers-repository} | 0 .../context-check} | 0 .../default-registry} | 0 .../routes-repository} | 0 .../health/ConsumersHealthCheckRepository.java | 4 +- .../camel/impl/health/ContextHealthCheck.java | 3 +- .../impl/health/DefaultHealthCheckRegistry.java | 50 +- .../impl/health/DefaultHealthChecksLoader.java | 104 + .../impl/health/RoutesHealthCheckRepository.java | 4 +- .../MainConfigurationPropertiesConfigurer.java | 6 + .../camel-main-configuration-metadata.json | 1 + core/camel-main/src/main/docs/main.adoc | 3 +- .../camel/main/DefaultConfigurationConfigurer.java | 1 + .../camel/main/DefaultConfigurationProperties.java | 20 + .../ROOT/pages/camel-component-maven-plugin.adoc | 61 + .../modules/ROOT/pages/health-check.adoc | 2 +- .../maven/component/GenerateComponentMojo.java | 40 +- .../maven/packaging/AbstractGenerateMojo.java | 21 +- .../camel/spi/annotations/ConstantProvider.java | 3 + .../apache/camel/spi/annotations/HealthCheck.java | 12 +- 44 files changed, 11948 insertions(+), 3150 deletions(-) copy core/camel-api/src/generated/java/org/apache/camel/spi/annotations/{ConstantProvider.java => HealthCheck.java} (72%) create mode 100644 core/camel-api/src/main/java/org/apache/camel/health/HealthCheckResolver.java create mode 100644 core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultHealthCheckResolver.java copy core/{camel-api/src/generated/java/org/apache/camel/spi/annotations/ConstantProvider.java => camel-core/src/test/java/org/apache/camel/impl/health/MyFooHealthCheck.java} (59%) create mode 100644 core/camel-core/src/test/java/org/apache/camel/impl/health/MyFooHealthCheckTest.java create mode 100644 core/camel-core/src/test/resources/META-INF/services/org/apache/camel/health-check/myfoo-check rename core/camel-health/src/generated/resources/META-INF/services/org/apache/camel/{consumers-health-check-repository => health-check/consumers-repository} (100%) rename core/camel-health/src/generated/resources/META-INF/services/org/apache/camel/{context-health-check => health-check/context-check} (100%) rename core/camel-health/src/generated/resources/META-INF/services/org/apache/camel/{health-check-registry => health-check/default-registry} (100%) rename core/camel-health/src/generated/resources/META-INF/services/org/apache/camel/{routes-health-check-repository => health-check/routes-repository} (100%) create mode 100644 core/camel-health/src/main/java/org/apache/camel/impl/health/DefaultHealthChecksLoader.java copy core/camel-api/src/generated/java/org/apache/camel/spi/annotations/ConstantProvider.java => tooling/spi-annotations/src/main/java/org/apache/camel/spi/annotations/HealthCheck.java (72%)