|
|
@ -104,6 +104,7 @@ import org.thingsboard.server.queue.provider.TbQueueProducerProvider; |
|
|
import org.thingsboard.server.queue.util.TbCoreComponent; |
|
|
import org.thingsboard.server.queue.util.TbCoreComponent; |
|
|
import org.thingsboard.server.service.component.ComponentDiscoveryService; |
|
|
import org.thingsboard.server.service.component.ComponentDiscoveryService; |
|
|
import org.thingsboard.server.service.edge.EdgeNotificationService; |
|
|
import org.thingsboard.server.service.edge.EdgeNotificationService; |
|
|
|
|
|
import org.thingsboard.server.service.edge.rpc.init.SyncEdgeService; |
|
|
import org.thingsboard.server.service.queue.TbClusterService; |
|
|
import org.thingsboard.server.service.queue.TbClusterService; |
|
|
import org.thingsboard.server.service.security.model.SecurityUser; |
|
|
import org.thingsboard.server.service.security.model.SecurityUser; |
|
|
import org.thingsboard.server.service.security.permission.AccessControlService; |
|
|
import org.thingsboard.server.service.security.permission.AccessControlService; |
|
|
@ -202,12 +203,15 @@ public abstract class BaseController { |
|
|
@Autowired |
|
|
@Autowired |
|
|
protected TbQueueProducerProvider producerProvider; |
|
|
protected TbQueueProducerProvider producerProvider; |
|
|
|
|
|
|
|
|
@Autowired |
|
|
@Autowired(required = false) |
|
|
protected EdgeService edgeService; |
|
|
protected EdgeService edgeService; |
|
|
|
|
|
|
|
|
@Autowired |
|
|
@Autowired(required = false) |
|
|
protected EdgeNotificationService edgeNotificationService; |
|
|
protected EdgeNotificationService edgeNotificationService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired(required = false) |
|
|
|
|
|
protected SyncEdgeService syncEdgeService; |
|
|
|
|
|
|
|
|
@Value("${server.log_controller_error_stack_trace}") |
|
|
@Value("${server.log_controller_error_stack_trace}") |
|
|
@Getter |
|
|
@Getter |
|
|
private boolean logControllerErrorStackTrace; |
|
|
private boolean logControllerErrorStackTrace; |
|
|
|