From dea7323448cc8790042436650e15cdf3e1ce11c4 Mon Sep 17 00:00:00 2001 From: Yuriy Lytvynchuk Date: Wed, 28 Sep 2022 09:59:16 +0300 Subject: [PATCH] refactor nodeDetails --- .../thingsboard/rule/engine/transform/TbJsonPathNode.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbJsonPathNode.java b/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbJsonPathNode.java index d56155517b..c601f591fe 100644 --- a/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbJsonPathNode.java +++ b/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbJsonPathNode.java @@ -38,10 +38,11 @@ import java.util.concurrent.ExecutionException; type = ComponentType.TRANSFORMATION, name = "json path", configClazz = TbJsonPathNodeConfiguration.class, - nodeDescription = "Extracts json element or set of elements from a message by JSONPath expression.", + nodeDescription = "Transforms incoming message body using JSONPath expression.", nodeDetails = "JSONPath expression specifies a path to an element or a set of elements in a JSON structure.
" - + "'$' represents the root object or array. If JSONPath expression evaluation failed, incoming " - + "message routes via Failure chain, otherwise Success chain is used.", + + "'$' represents the root object or array.
" + + "If JSONPath expression evaluation failed, incoming message routes via Failure chain, " + + "otherwise Success chain is used.", uiResources = {"static/rulenode/rulenode-core-config.js"}, icon = "functions", configDirective = "tbTransformationNodeJsonPathConfig"