|
|
|
@ -50,7 +50,7 @@ import org.thingsboard.server.common.msg.session.*; |
|
|
|
import org.thingsboard.server.common.transport.SessionMsgProcessor; |
|
|
|
import org.thingsboard.server.common.transport.auth.DeviceAuthResult; |
|
|
|
import org.thingsboard.server.common.transport.auth.DeviceAuthService; |
|
|
|
import org.thingsboard.server.common.transport.quota.QuotaService; |
|
|
|
import org.thingsboard.server.common.transport.quota.host.HostRequestsQuotaService; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.List; |
|
|
|
@ -134,8 +134,8 @@ public class CoapServerTest { |
|
|
|
} |
|
|
|
|
|
|
|
@Bean |
|
|
|
public static QuotaService quotaService() { |
|
|
|
return key -> false; |
|
|
|
public static HostRequestsQuotaService quotaService() { |
|
|
|
return new HostRequestsQuotaService(null, null, null, null, false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|