joerghoh / cq5-healthcheck

CQ5 Healthcheck code
Apache License 2.0
28 stars 15 forks source link

LoadbalancerStatus's bindRepository not called #41

Closed davidjgonzalez closed 11 years ago

davidjgonzalez commented 11 years ago

https://github.com/joerghoh/cq5-healthcheck/blob/fefc9ca5e6375b0c76e6bba4b0f8e6e3087fd73b/core/src/main/java/de/joerghoh/cq5/healthcheck/impl/LoadbalancerStatus.java

LoadBalancerStatus is only registered against the Servlet interface and NOT the ClusterAware.

Should be

@Service(value = { javax.servlet.Servlet.class,
com.day.cq.jcrclustersupport.ClusterAware.class })

Currently bindRepository is not called when cluster status switches.

davidjgonzalez commented 11 years ago

Duplicate of issue resolved by Issue #39