Skip to content
Snippets Groups Projects

Add cache recorder impl, tidy pagination up, increment version

All threads resolved!
14 files
+ 644
376
Compare changes
  • Side-by-side
  • Inline
Files
14
/* Copyright (c) 2019 Eclipse Foundation and others.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License 2.0
* which is available at http://www.eclipse.org/legal/epl-v20.html,
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipsefoundation.core.health;
import javax.enterprise.context.ApplicationScoped;
import org.eclipse.microprofile.health.HealthCheck;
import org.eclipse.microprofile.health.HealthCheckResponse;
import org.eclipse.microprofile.health.Liveness;
import org.eclipse.microprofile.health.Readiness;
/**
* Basic health check to check the responsiveness of the API on a whole.
*
* @author Martin Lowe
*/
@Readiness
@Liveness
@ApplicationScoped
public class BaseApplicationHealthCheck implements HealthCheck {
@Override
public HealthCheckResponse call() {
return HealthCheckResponse.named("Basic health check").up().build();
}
}
Loading