You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/10/29 11:17:12 UTC

[camel] 14/16: CAMEL-15133: Adding fine-grained consumer health check to route checks

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch custom-health
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 067d4c42ac2d5b5937230e4af68195133096b311
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Oct 29 07:57:21 2021 +0200

    CAMEL-15133: Adding fine-grained consumer health check to route checks
---
 .../apache/camel/spi/annotations/HealthCheck.java  | 33 ----------------------
 .../apache/camel/spi/annotations/HealthCheck.java  | 33 ----------------------
 2 files changed, 66 deletions(-)

diff --git a/core/camel-api/src/generated/java/org/apache/camel/spi/annotations/HealthCheck.java b/core/camel-api/src/generated/java/org/apache/camel/spi/annotations/HealthCheck.java
deleted file mode 100644
index 41cbd29..0000000
--- a/core/camel-api/src/generated/java/org/apache/camel/spi/annotations/HealthCheck.java
+++ /dev/null
@@ -1,33 +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.spi.annotations;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-@Target({ ElementType.TYPE })
-@ServiceFactory("health-check")
-public @interface HealthCheck {
-
-    String value();
-
-}
diff --git a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/annotations/HealthCheck.java b/tooling/spi-annotations/src/main/java/org/apache/camel/spi/annotations/HealthCheck.java
deleted file mode 100644
index 41cbd29..0000000
--- a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/annotations/HealthCheck.java
+++ /dev/null
@@ -1,33 +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.spi.annotations;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-@Target({ ElementType.TYPE })
-@ServiceFactory("health-check")
-public @interface HealthCheck {
-
-    String value();
-
-}