Browse Source
Merge pull request #14678 from MazurenkoNick/update-excluded-nodes-by-edge-version
Exclude TbAiNode for Edge-4.1
pull/14703/head
Viacheslav Klimov
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
9 additions and
0 deletions
-
application/src/main/java/org/thingsboard/server/service/edge/EdgeMsgConstructorUtils.java
|
|
@ -27,6 +27,7 @@ import com.google.gson.reflect.TypeToken; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.thingsboard.common.util.JacksonUtil; |
|
|
import org.thingsboard.common.util.JacksonUtil; |
|
|
import org.thingsboard.rule.engine.action.TbSaveToCustomCassandraTableNode; |
|
|
import org.thingsboard.rule.engine.action.TbSaveToCustomCassandraTableNode; |
|
|
|
|
|
import org.thingsboard.rule.engine.ai.TbAiNode; |
|
|
import org.thingsboard.rule.engine.aws.lambda.TbAwsLambdaNode; |
|
|
import org.thingsboard.rule.engine.aws.lambda.TbAwsLambdaNode; |
|
|
import org.thingsboard.rule.engine.rest.TbSendRestApiCallReplyNode; |
|
|
import org.thingsboard.rule.engine.rest.TbSendRestApiCallReplyNode; |
|
|
import org.thingsboard.rule.engine.telemetry.TbCalculatedFieldsNode; |
|
|
import org.thingsboard.rule.engine.telemetry.TbCalculatedFieldsNode; |
|
|
@ -167,6 +168,14 @@ public class EdgeMsgConstructorUtils { |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
public static final Map<EdgeVersion, Set<String>> EXCLUDED_NODES_BY_EDGE_VERSION = Map.of( |
|
|
public static final Map<EdgeVersion, Set<String>> EXCLUDED_NODES_BY_EDGE_VERSION = Map.of( |
|
|
|
|
|
EdgeVersion.V_4_1_0, |
|
|
|
|
|
Set.of( |
|
|
|
|
|
TbAiNode.class.getName() |
|
|
|
|
|
), |
|
|
|
|
|
EdgeVersion.V_4_0_0, |
|
|
|
|
|
Set.of( |
|
|
|
|
|
TbAiNode.class.getName() |
|
|
|
|
|
), |
|
|
EdgeVersion.V_3_9_0, |
|
|
EdgeVersion.V_3_9_0, |
|
|
Set.of( |
|
|
Set.of( |
|
|
TbCalculatedFieldsNode.class.getName() |
|
|
TbCalculatedFieldsNode.class.getName() |
|
|
|