Showing
3 changed files
with
17 additions
and
2 deletions
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | * you may not use this file except in compliance with the License. | 5 | * you may not use this file except in compliance with the License. |
6 | * You may obtain a copy of the License at | 6 | * You may obtain a copy of the License at |
7 | * | 7 | * |
8 | - * http://www.apache.org/licenses/LICENSE-2.0 | 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * | 9 | * |
10 | * Unless required by applicable law or agreed to in writing, software | 10 | * Unless required by applicable law or agreed to in writing, software |
11 | * distributed under the License is distributed on an "AS IS" BASIS, | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
@@ -230,7 +230,7 @@ public class DefaultInitEdgeService implements InitEdgeService { | @@ -230,7 +230,7 @@ public class DefaultInitEdgeService implements InitEdgeService { | ||
230 | for (RuleChain ruleChain : pageData.getData()) { | 230 | for (RuleChain ruleChain : pageData.getData()) { |
231 | RuleChainUpdateMsg ruleChainUpdateMsg = | 231 | RuleChainUpdateMsg ruleChainUpdateMsg = |
232 | ruleChainUpdateMsgConstructor.constructRuleChainUpdatedMsg( | 232 | ruleChainUpdateMsgConstructor.constructRuleChainUpdatedMsg( |
233 | - edge, | 233 | + edge.getRootRuleChainId(), |
234 | UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, | 234 | UpdateMsgType.ENTITY_UPDATED_RPC_MESSAGE, |
235 | ruleChain); | 235 | ruleChain); |
236 | EntityUpdateMsg entityUpdateMsg = EntityUpdateMsg.newBuilder() | 236 | EntityUpdateMsg entityUpdateMsg = EntityUpdateMsg.newBuilder() |
1 | +/** | ||
2 | + * Copyright © 2016-2020 The Thingsboard Authors | ||
3 | + * | ||
4 | + * Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | + * you may not use this file except in compliance with the License. | ||
6 | + * You may obtain a copy of the License at | ||
7 | + * | ||
8 | + * http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | + * | ||
10 | + * Unless required by applicable law or agreed to in writing, software | ||
11 | + * distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | + * See the License for the specific language governing permissions and | ||
14 | + * limitations under the License. | ||
15 | + */ | ||
1 | package org.thingsboard.server.common.data; | 16 | package org.thingsboard.server.common.data; |
2 | 17 | ||
3 | import org.thingsboard.server.common.data.id.EdgeId; | 18 | import org.thingsboard.server.common.data.id.EdgeId; |