Queue must be pushed first to edge
This commit is contained in:
parent
b95916cdb3
commit
4d8104394d
@ -43,6 +43,7 @@ public class EdgeSyncCursor {
|
|||||||
int currentIdx = 0;
|
int currentIdx = 0;
|
||||||
|
|
||||||
public EdgeSyncCursor(EdgeContextComponent ctx, Edge edge) {
|
public EdgeSyncCursor(EdgeContextComponent ctx, Edge edge) {
|
||||||
|
fetchers.add(new QueuesEdgeEventFetcher(ctx.getQueueService()));
|
||||||
fetchers.add(new RuleChainsEdgeEventFetcher(ctx.getRuleChainService()));
|
fetchers.add(new RuleChainsEdgeEventFetcher(ctx.getRuleChainService()));
|
||||||
fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), ctx.getFreemarkerConfig()));
|
fetchers.add(new AdminSettingsEdgeEventFetcher(ctx.getAdminSettingsService(), ctx.getFreemarkerConfig()));
|
||||||
fetchers.add(new DeviceProfilesEdgeEventFetcher(ctx.getDeviceProfileService()));
|
fetchers.add(new DeviceProfilesEdgeEventFetcher(ctx.getDeviceProfileService()));
|
||||||
@ -56,7 +57,6 @@ public class EdgeSyncCursor {
|
|||||||
fetchers.add(new TenantWidgetsBundlesEdgeEventFetcher(ctx.getWidgetsBundleService()));
|
fetchers.add(new TenantWidgetsBundlesEdgeEventFetcher(ctx.getWidgetsBundleService()));
|
||||||
fetchers.add(new DashboardsEdgeEventFetcher(ctx.getDashboardService()));
|
fetchers.add(new DashboardsEdgeEventFetcher(ctx.getDashboardService()));
|
||||||
fetchers.add(new OtaPackagesEdgeEventFetcher(ctx.getOtaPackageService()));
|
fetchers.add(new OtaPackagesEdgeEventFetcher(ctx.getOtaPackageService()));
|
||||||
fetchers.add(new QueuesEdgeEventFetcher(ctx.getQueueService()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user