diff --git a/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/BPALivenessCheck.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/BPALivenessCheck.java deleted file mode 100644 index abb37c613..000000000 --- a/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/BPALivenessCheck.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2020-2021 - for information on the respective copyright owner - * see the NOTICE file and/or the repository at - * https://github.com/hyperledger-labs/business-partner-agent - * - * Licensed 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.hyperledger.bpa.client; - -import java.util.Map; - -import javax.inject.Singleton; - -import io.micronaut.context.annotation.Requires; -import io.micronaut.health.HealthStatus; -import io.micronaut.management.endpoint.health.HealthEndpoint; -import io.micronaut.management.health.indicator.AbstractHealthIndicator; -import io.micronaut.management.health.indicator.annotation.Liveness; - -@Singleton -@Liveness -@Requires(beans = HealthEndpoint.class) -public class BPALivenessCheck extends AbstractHealthIndicator> { - @Override - protected Map getHealthInformation() { - this.healthStatus = HealthStatus.UP; - return null; - } - - @Override - protected String getName() { - return "aca-py-liveness"; - } -}