Fix CoAP monitoring
This commit is contained in:
parent
8899a750b1
commit
779e2461d8
@ -20,6 +20,7 @@ import org.eclipse.californium.core.CoapClient;
|
||||
import org.eclipse.californium.core.CoapResponse;
|
||||
import org.eclipse.californium.core.coap.CoAP;
|
||||
import org.eclipse.californium.core.coap.MediaTypeRegistry;
|
||||
import org.eclipse.californium.elements.config.SystemConfig;
|
||||
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Component;
|
||||
@ -35,6 +36,10 @@ import java.io.IOException;
|
||||
@Slf4j
|
||||
public class CoapTransportHealthChecker extends TransportHealthChecker<CoapTransportMonitoringConfig> {
|
||||
|
||||
static {
|
||||
SystemConfig.register();
|
||||
}
|
||||
|
||||
private CoapClient coapClient;
|
||||
|
||||
protected CoapTransportHealthChecker(CoapTransportMonitoringConfig config, TransportMonitoringTarget target) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user