Java 类org.springframework.boot.actuate.health.OrderedHealthAggregator 实例源码

项目:extended-actuator-health-endpoints    文件:ExtendedHealthEndpointAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(AliveHealthEndpoint.class)
@ConfigurationProperties("extended.health.alive")
public AliveHealthEndpoint applicationAliveEndpoint() {

    return new AliveHealthEndpoint("alive", new OrderedHealthAggregator());
}
项目:extended-actuator-health-endpoints    文件:ExtendedHealthEndpointAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(BasicHealthEndpoint.class)
@ConfigurationProperties("extended.health.basic")
public BasicHealthEndpoint basicHealthEndpoint() {

    return new BasicHealthEndpoint("basic", new OrderedHealthAggregator());
}
项目:extended-actuator-health-endpoints    文件:ExtendedHealthEndpointAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(DetailHealthEndpoint.class)
@ConfigurationProperties("extended.health.detail")
public DetailHealthEndpoint detailHealthEndpoint() {

    return new DetailHealthEndpoint("detail", new OrderedHealthAggregator());
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:EndpointAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
public HealthEndpoint healthEndpoint() {
    return new HealthEndpoint(
            this.healthAggregator == null ? new OrderedHealthAggregator()
                    : this.healthAggregator,
            this.healthIndicators == null
                    ? Collections.<String, HealthIndicator>emptyMap()
                    : this.healthIndicators);
}
项目:spring-boot-concourse    文件:EndpointAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean
public HealthEndpoint healthEndpoint() {
    return new HealthEndpoint(
            this.healthAggregator == null ? new OrderedHealthAggregator()
                    : this.healthAggregator,
            this.healthIndicators == null
                    ? Collections.<String, HealthIndicator>emptyMap()
                    : this.healthIndicators);
}
项目:spring-cloud-stream    文件:BindersHealthIndicatorAutoConfiguration.java   
@Override
public void afterBinderContextInitialized(String binderConfigurationName,
        ConfigurableApplicationContext binderContext) {
    if (this.bindersHealthIndicator != null) {
        OrderedHealthAggregator healthAggregator = new OrderedHealthAggregator();
        Map<String, HealthIndicator> indicators = binderContext.getBeansOfType(HealthIndicator.class);
        // if there are no health indicators in the child context, we just mark
        // the binder's health as unknown
        // this can happen due to the fact that configuration is inherited
        HealthIndicator binderHealthIndicator = indicators.isEmpty() ? new DefaultHealthIndicator()
                : new CompositeHealthIndicator(healthAggregator, indicators);
        this.bindersHealthIndicator.addHealthIndicator(binderConfigurationName, binderHealthIndicator);
    }
}
项目:spring-boot-readiness    文件:ReadinessResponseTest.java   
@Before
public void setup() {
    healthAggregator = new OrderedHealthAggregator();
    healthAggregator.setStatusOrder(DOWN, OUT_OF_SERVICE, UNKNOWN, new Status("DEGRADED"), UP);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:HealthEndpointTests.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:spring-boot-concourse    文件:HealthEndpointTests.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:contestparser    文件:HealthEndpointTests.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:spring-cloud-stream    文件:BindersHealthIndicatorAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(name = "bindersHealthIndicator")
public CompositeHealthIndicator bindersHealthIndicator() {
    return new CompositeHealthIndicator(new OrderedHealthAggregator());
}
项目:spring-cloud-stream    文件:HealthIndicatorsConfigurationTests.java   
@Bean
public CompositeHealthIndicator testHealthIndicator1() {
    return new CompositeHealthIndicator(new OrderedHealthAggregator());
}
项目:spring-cloud-stream    文件:HealthIndicatorsConfigurationTests.java   
@Bean
public CompositeHealthIndicator testHealthIndicator2() {
    return new CompositeHealthIndicator(new OrderedHealthAggregator());
}
项目:spring-cloud-commons    文件:DiscoveryClientHealthIndicatorTests.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:spring-cloud-commons    文件:DiscoveryCompositeHealthIndicatorTests.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:ontrack    文件:SVNTestConfig.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:ontrack    文件:GitTestConfig.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:ontrack    文件:GitHubTestConfig.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:ontrack    文件:StashTestConfig.java   
@Bean
public HealthAggregator healthAggregator() {
    return new OrderedHealthAggregator();
}
项目:spring-cloud-netflix    文件:EurekaHealthCheckHandlerTests.java   
@Before
public void setUp() throws Exception {

    healthCheckHandler = new EurekaHealthCheckHandler(new OrderedHealthAggregator());
}
项目:spring-cloud-netflix    文件:EurekaHealthCheckHandlerTests.java   
@Bean
public DiscoveryCompositeHealthIndicator discoveryCompositeHealthIndicator(List<DiscoveryHealthIndicator> indicators) {
    return new DiscoveryCompositeHealthIndicator(new OrderedHealthAggregator(), indicators);
}