services/quotes/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/audit/src/main/java/com/example/audit/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/quotes-ui/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/spring-ai-quotes-llm-in-gke/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/next25/quotes-llm/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



runtimes/crac/quotes-crac/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



runtimes/project-leyden/quotes/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ai-patterns/spring-ai-quotes-llm-in-gke/src/main/java/com/example/quotes/actuator/HealthCheck.java [29:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Health health() {
        int errorCode = check(); // perform some specific health check

        if (errorCode != 0) {
            return Health.down()
                    .withDetail("Custom Health Check Status - failed. Error Code", errorCode).build();
        }
        return Health.up().withDetail("Custom Health Check Status", "passed").build();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



