This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push: new 3793338 came-health - Spring Boot. 3793338 is described below commit 379333863a347c8a66d99f93a8d808c747913af0 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jun 8 13:57:38 2020 +0200 came-health - Spring Boot. --- .../src/main/docs/consul-starter.adoc | 5 +- .../health/HealthCheckRepositoryConfiguration.java | 56 ---------------------- 2 files changed, 1 insertion(+), 60 deletions(-) diff --git a/components-starter/camel-consul-starter/src/main/docs/consul-starter.adoc b/components-starter/camel-consul-starter/src/main/docs/consul-starter.adoc index 46d4287..b9c01b0 100644 --- a/components-starter/camel-consul-starter/src/main/docs/consul-starter.adoc +++ b/components-starter/camel-consul-starter/src/main/docs/consul-starter.adoc @@ -17,7 +17,7 @@ When using consul with Spring Boot make sure to use the following Maven dependen ---- -The component supports 93 options, which are listed below. +The component supports 90 options, which are listed below. @@ -61,9 +61,6 @@ The component supports 93 options, which are listed below. | *camel.component.consul.datacenter* | The data center | | String | *camel.component.consul.enabled* | Whether to enable auto configuration of the consul component. This is enabled by default. | | Boolean | *camel.component.consul.first-index* | The first index for watch for, default 0. The option is a java.math.BigInteger type. | | String -| *camel.component.consul.health.check.repository.checks* | Define the checks to include. | | List -| *camel.component.consul.health.check.repository.configurations* | Health check configurations. | | Map -| *camel.component.consul.health.check.repository.enabled* | | | Boolean | *camel.component.consul.key* | The default key. Can be overridden by CamelConsulKey | | String | *camel.component.consul.lazy-start-producer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed the [...] | *camel.component.consul.near-node* | The near node to use for queries. | | String diff --git a/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/health/HealthCheckRepositoryConfiguration.java b/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/health/HealthCheckRepositoryConfiguration.java deleted file mode 100644 index 8941ed9..0000000 --- a/components-starter/camel-consul-starter/src/main/java/org/apache/camel/component/consul/springboot/health/HealthCheckRepositoryConfiguration.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.consul.springboot.health; - -import java.util.List; -import java.util.Map; - -import org.apache.camel.spring.boot.health.AbstractHealthCheckConfiguration; -import org.springframework.boot.context.properties.ConfigurationProperties; - -@ConfigurationProperties("camel.component.consul.health.check.repository") -public class HealthCheckRepositoryConfiguration extends AbstractHealthCheckConfiguration { - /** - * Define the checks to include. - */ - private List<String> checks; - - /** - * Health check configurations. - */ - private Map<String, AbstractHealthCheckConfiguration> configurations; - - // ****************************** - // Properties - // ****************************** - - public List<String> getChecks() { - return checks; - } - - public void setChecks(List<String> checks) { - this.checks = checks; - } - - public Map<String, AbstractHealthCheckConfiguration> getConfigurations() { - return configurations; - } - - public void setConfigurations(Map<String, AbstractHealthCheckConfiguration> configurations) { - this.configurations = configurations; - } -} \ No newline at end of file