All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.vault.runtime.config.HealthConfig Maven / Gradle / Ivy

package io.quarkus.vault.runtime.config;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;

@ConfigGroup
public class HealthConfig {

    /**
     * Whether or not an health check is published in case the smallrye-health extension is present.
     */
    @ConfigItem
    public boolean enabled;

    /**
     * Specifies if being a standby should still return the active status code instead of the standby status code.
     */
    @ConfigItem
    public boolean standByOk;

    /**
     * Specifies if being a performance standby should still return the active status code instead of the performance standby
     * status code.
     */
    @ConfigItem
    public boolean performanceStandByOk;

    @Override
    public String toString() {
        return "HealthConfig{" +
                "enabled=" + enabled +
                ", standByOk=" + standByOk +
                ", performanceStandByOk=" + performanceStandByOk +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy