Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -15,7 +15,6 @@ |
15 | 15 | */ |
16 | 16 | package org.thingsboard.server.controller; |
17 | 17 | |
18 | -import com.google.common.util.concurrent.Futures; | |
19 | 18 | import com.google.common.util.concurrent.ListenableFuture; |
20 | 19 | import org.springframework.http.HttpStatus; |
21 | 20 | import org.springframework.security.access.prepost.PreAuthorize; |
... | ... | @@ -45,6 +44,7 @@ import org.thingsboard.server.common.data.rule.RuleChain; |
45 | 44 | import org.thingsboard.server.dao.exception.DataValidationException; |
46 | 45 | import org.thingsboard.server.dao.exception.IncorrectParameterException; |
47 | 46 | import org.thingsboard.server.dao.model.ModelConstants; |
47 | +import org.thingsboard.server.queue.util.TbCoreComponent; | |
48 | 48 | import org.thingsboard.server.service.security.model.SecurityUser; |
49 | 49 | import org.thingsboard.server.service.security.permission.Operation; |
50 | 50 | import org.thingsboard.server.service.security.permission.Resource; |
... | ... | @@ -54,6 +54,7 @@ import java.util.List; |
54 | 54 | import java.util.stream.Collectors; |
55 | 55 | |
56 | 56 | @RestController |
57 | +@TbCoreComponent | |
57 | 58 | @RequestMapping("/api") |
58 | 59 | public class EdgeController extends BaseController { |
59 | 60 | ... | ... |