diff --git a/server/libs/modules/components/text-helper/src/test/java/com/bytechef/component/text/helper/TextHelperComponentHandlerTest.java b/server/libs/modules/components/text-helper/src/test/java/com/bytechef/component/text/helper/TextHelperComponentHandlerTest.java index 4b9ab97257..586ded826a 100644 --- a/server/libs/modules/components/text-helper/src/test/java/com/bytechef/component/text/helper/TextHelperComponentHandlerTest.java +++ b/server/libs/modules/components/text-helper/src/test/java/com/bytechef/component/text/helper/TextHelperComponentHandlerTest.java @@ -26,6 +26,7 @@ public class TextHelperComponentHandlerTest { @Test public void testGetComponentDefinition() { - JsonFileAssert.assertEquals("definition/text-helper_v1.json", new TextHelperComponentHandler().getDefinition()); + JsonFileAssert.assertEquals( + "definition/text-helper_v1.json", new TextHelperComponentHandler().getDefinition()); } } diff --git a/server/libs/modules/components/text-helper/src/test/resources/definition/text-helper_v1.json b/server/libs/modules/components/text-helper/src/test/resources/definition/text-helper_v1.json index 9cbb798799..420616967b 100644 --- a/server/libs/modules/components/text-helper/src/test/resources/definition/text-helper_v1.json +++ b/server/libs/modules/components/text-helper/src/test/resources/definition/text-helper_v1.json @@ -1,18 +1,4 @@ { - "componentCategories" : [ { - "name" : "helpers", - "label" : "Helpers" - } ], - "customAction" : null, - "customActionHelp" : null, - "description" : "Helper component which contains operations to help you work with text.", - "icon" : "path:assets/text-helper.svg", - "tags" : null, - "metadata" : null, - "name" : "textHelper", - "resources" : null, - "version" : 1, - "title" : "Text Helper", "actions" : [ { "batch" : null, "deprecated" : null, @@ -25,89 +11,88 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Base64 encoded/decoded content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Base64 encoded/decoded content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "The text to be Base64 encode or decode.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "Select whether to encode or decode the text.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "operation", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Encode or Decode", - "placeholder" : null, - "controlType" : "SELECT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "operation", "options" : [ { "description" : null, "label" : "Encode", @@ -117,11 +102,12 @@ "label" : "Decode", "value" : "DECODE" } ], - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Base64 Encode/Decode", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -135,116 +121,116 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The concatenated text.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The concatenated text.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "ARRAY_BUILDER", + "defaultValue" : null, "description" : "A list of texts to concatenate.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "texts", - "type" : "ARRAY", - "defaultValue" : null, - "exampleValue" : null, - "label" : "Texts", - "placeholder" : null, "items" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], + "label" : "Texts", "maxItems" : null, + "metadata" : { }, "minItems" : null, "multipleValues" : null, + "name" : "texts", "options" : null, - "controlType" : "ARRAY_BUILDER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "ARRAY" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The text that separates the texts you want to concatenate.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : false, - "name" : "separator", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Separator", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "separator", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : false, + "type" : "STRING" } ], "title" : "Concatenate", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -258,18 +244,16 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "True if the text contains the expression, false otherwise.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, + "label" : null, "metadata" : { }, - "required" : null, "name" : null, - "type" : "BOOLEAN", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "options" : [ { "description" : null, "label" : "True", @@ -279,25 +263,25 @@ "label" : "False", "value" : false } ], - "controlType" : "SELECT" + "placeholder" : null, + "required" : null, + "type" : "BOOLEAN" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "True if the text contains the expression, false otherwise.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, + "label" : null, "metadata" : { }, - "required" : null, "name" : null, - "type" : "BOOLEAN", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "options" : [ { "description" : null, "label" : "True", @@ -307,54 +291,56 @@ "label" : "False", "value" : false } ], - "controlType" : "SELECT" + "placeholder" : null, + "required" : null, + "type" : "BOOLEAN" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Text to search for.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "expression", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Expression", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "expression", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Contains", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -369,64 +355,63 @@ "outputSchema" : null, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "HTML content to extract content from.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "content", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "HTML Content", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "content", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The CSS selector to search for.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "querySelector", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "CSS Selector", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "querySelector", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : "html", "description" : "The data to return.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "returnValue", - "type" : "STRING", - "defaultValue" : "html", - "exampleValue" : null, "label" : "Return Value", - "placeholder" : null, - "controlType" : "SELECT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "returnValue", "options" : [ { "description" : "Get the attribute value like 'class' from an element.", "label" : "Attribute", @@ -440,41 +425,42 @@ "label" : "Text", "value" : "TEXT" } ], - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The name of the attribute to return the value of", "displayCondition" : "returnValue == 'ATTRIBUTE'", + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "attribute", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Attribute", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "attribute", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "If selected, then extracted individual items are returned as an array. If you don't set this, all values are returned as a single string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, + "label" : "Return Array", "metadata" : { }, - "required" : null, "name" : "returnArray", - "type" : "BOOLEAN", - "defaultValue" : null, - "exampleValue" : null, - "label" : "Return Array", - "placeholder" : null, "options" : [ { "description" : null, "label" : "True", @@ -484,11 +470,11 @@ "label" : "False", "value" : false } ], - "controlType" : "SELECT" + "placeholder" : null, + "required" : null, + "type" : "BOOLEAN" } ], "title" : "Extract Content from HTML", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -502,117 +488,117 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "ARRAY_BUILDER", + "defaultValue" : null, "description" : "Extracted URLs.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "ARRAY", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "items" : [ { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" } ], + "label" : null, "maxItems" : null, + "metadata" : { }, "minItems" : null, "multipleValues" : null, + "name" : null, "options" : null, - "controlType" : "ARRAY_BUILDER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "ARRAY" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "ARRAY_BUILDER", + "defaultValue" : null, "description" : "Extracted URLs.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "ARRAY", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "items" : [ { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" } ], + "label" : null, "maxItems" : null, + "metadata" : { }, "minItems" : null, "multipleValues" : null, + "name" : null, "options" : null, - "controlType" : "ARRAY_BUILDER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "ARRAY" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "The text from which to extract URLs.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Extract URLs", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -626,69 +612,68 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Formatted currency.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Formatted currency.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "The type of currency you wish to use.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "currency", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Currency", - "placeholder" : null, - "controlType" : "SELECT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "currency", "options" : [ { "description" : null, "label" : "ADP", @@ -1529,10 +1514,6 @@ "description" : null, "label" : "XCD", "value" : "XCD" - }, { - "description" : null, - "label" : "XCG", - "value" : "XCG" }, { "description" : null, "label" : "XDR", @@ -1614,92 +1595,93 @@ "label" : "ZWR", "value" : "ZWR" } ], - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "NUMBER", + "defaultValue" : null, "description" : "The amount to be formatted.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "amount", - "type" : "NUMBER", - "defaultValue" : null, - "exampleValue" : null, "label" : "Amount", - "placeholder" : null, "maxNumberPrecision" : null, "maxValue" : null, + "metadata" : { }, "minNumberPrecision" : null, "minValue" : null, + "name" : "amount", "numberPrecision" : null, "options" : null, - "controlType" : "NUMBER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "NUMBER" }, { "advancedOption" : null, + "controlType" : "INTEGER", + "defaultValue" : null, "description" : "Digits you would like after your decimal.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "decimalDigits", - "type" : "INTEGER", - "defaultValue" : null, - "exampleValue" : null, "label" : "Decimal Digits", - "placeholder" : null, "maxValue" : null, + "metadata" : { }, "minValue" : null, + "name" : "decimalDigits", "options" : null, - "controlType" : "INTEGER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "INTEGER" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The character you would like to use as a decimal separator.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "decimalSeparator", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Decimal Separator", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "decimalSeparator", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The character you would like to use as a thousands separator.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "thousandsSeparator", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Thousands Separator", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "thousandsSeparator", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Format Currency", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -1713,75 +1695,75 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Markdown content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Markdown content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "HTML content to be converted to markdown.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "html", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "HTML Content", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "html", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "HTML to Markdown", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -1795,75 +1777,75 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, + "label" : null, + "languageId" : null, + "maxLength" : null, "metadata" : { }, - "required" : null, + "minLength" : null, "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, - "controlType" : "TEXT", - "languageId" : null, - "maxLength" : null, - "minLength" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Lower Case", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -1877,75 +1859,75 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "HTML content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "HTML content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "Markdown content to convert to HTML.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "markdown", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Markdown content", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "markdown", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Markdown to HTML", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -1959,125 +1941,125 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The text with replaced values.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "The text with replaced values.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Can be plain text or a regex expression.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "searchValue", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Search Value", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "searchValue", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Leave blank to remove the search value.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : false, - "name" : "replaceValue", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Replace Value", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "replaceValue", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : false, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : false, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, + "label" : "Replace Only First Match", "metadata" : { }, - "required" : true, "name" : "replaceOnlyFirst", - "type" : "BOOLEAN", - "defaultValue" : false, - "exampleValue" : null, - "label" : "Replace Only First Match", - "placeholder" : null, "options" : [ { "description" : null, "label" : "True", @@ -2087,11 +2069,11 @@ "label" : "False", "value" : false } ], - "controlType" : "SELECT" + "placeholder" : null, + "required" : true, + "type" : "BOOLEAN" } ], "title" : "Replace", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2105,94 +2087,94 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "INTEGER", + "defaultValue" : null, "description" : "The number of characters to select.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "numberOfCharacters", - "type" : "INTEGER", - "defaultValue" : null, - "exampleValue" : null, "label" : "Number of Characters", - "placeholder" : null, "maxValue" : null, + "metadata" : { }, "minValue" : null, + "name" : "numberOfCharacters", "options" : null, - "controlType" : "INTEGER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "INTEGER" } ], "title" : "Select First N Characters", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2206,94 +2188,94 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Lower case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "INTEGER", + "defaultValue" : null, "description" : "The number of characters to select.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "numberOfCharacters", - "type" : "INTEGER", - "defaultValue" : null, - "exampleValue" : null, "label" : "Number of Characters", - "placeholder" : null, "maxValue" : null, + "metadata" : { }, "minValue" : null, + "name" : "numberOfCharacters", "options" : null, - "controlType" : "INTEGER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "INTEGER" } ], "title" : "Select Last N Characters", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2307,137 +2289,137 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "ARRAY_BUILDER", + "defaultValue" : null, "description" : "List of elements.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "ARRAY", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "items" : [ { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" } ], + "label" : null, "maxItems" : null, + "metadata" : { }, "minItems" : null, "multipleValues" : null, + "name" : null, "options" : null, - "controlType" : "ARRAY_BUILDER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "ARRAY" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "ARRAY_BUILDER", + "defaultValue" : null, "description" : "List of elements.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "ARRAY", - "defaultValue" : null, - "exampleValue" : null, - "label" : null, - "placeholder" : null, "items" : [ { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" } ], + "label" : null, "maxItems" : null, + "metadata" : { }, "minItems" : null, "multipleValues" : null, + "name" : null, "options" : null, - "controlType" : "ARRAY_BUILDER", - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "ARRAY" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Delimiter used for splitting the text.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "delimiter", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Delimiter", - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "delimiter", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Split", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2451,75 +2433,75 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Trimmed string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Trimmed string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Trim Whitespace", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2533,75 +2515,75 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Upper case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "Upper case string.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : null, "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "Upper Case", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null }, { "batch" : null, @@ -2615,89 +2597,88 @@ "outputResponse" : { "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "URL encoded/decoded content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, - "sampleOutput" : null, - "placeholder" : null + "placeholder" : null, + "sampleOutput" : null }, "outputSchema" : { "advancedOption" : null, + "controlType" : "TEXT", + "defaultValue" : null, "description" : "URL encoded/decoded content.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : null, - "name" : null, - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : null, - "placeholder" : null, - "controlType" : "TEXT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : null, "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : null, + "type" : "STRING" }, "sampleOutput" : null }, + "perform" : { }, + "processErrorResponse" : null, "properties" : [ { "advancedOption" : null, + "controlType" : "TEXT_AREA", + "defaultValue" : null, "description" : "The text to be URL encode or decode.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "text", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Text", - "placeholder" : null, - "controlType" : "TEXT_AREA", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "text", "options" : null, - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" }, { "advancedOption" : null, + "controlType" : "SELECT", + "defaultValue" : null, "description" : "Select whether to encode or decode the text.", "displayCondition" : null, + "exampleValue" : null, "expressionEnabled" : null, "hidden" : null, - "metadata" : { }, - "required" : true, - "name" : "operation", - "type" : "STRING", - "defaultValue" : null, - "exampleValue" : null, "label" : "Encode or Decode", - "placeholder" : null, - "controlType" : "SELECT", "languageId" : null, "maxLength" : null, + "metadata" : { }, "minLength" : null, + "name" : "operation", "options" : [ { "description" : null, "label" : "Encode", @@ -2707,15 +2688,30 @@ "label" : "Decode", "value" : "DECODE" } ], - "optionsDataSource" : null + "optionsDataSource" : null, + "placeholder" : null, + "required" : true, + "type" : "STRING" } ], "title" : "URL Encode/Decode", - "perform" : { }, - "processErrorResponse" : null, "workflowNodeDescription" : null } ], - "connection" : null, "clusterElements" : null, + "componentCategories" : [ { + "label" : "Helpers", + "name" : "helpers" + } ], + "connection" : null, + "customAction" : null, + "customActionHelp" : null, + "description" : "Helper component which contains operations to help you work with text.", + "icon" : "path:assets/text-helper.svg", + "metadata" : null, + "name" : "textHelper", + "resources" : null, + "tags" : null, + "title" : "Text Helper", + "triggers" : null, "unifiedApi" : null, - "triggers" : null + "version" : 1 } \ No newline at end of file diff --git a/server/libs/test/test-support/src/main/java/com/bytechef/test/jsonasssert/JsonFileAssert.java b/server/libs/test/test-support/src/main/java/com/bytechef/test/jsonasssert/JsonFileAssert.java index 936c29b124..1e1dd86e17 100644 --- a/server/libs/test/test-support/src/main/java/com/bytechef/test/jsonasssert/JsonFileAssert.java +++ b/server/libs/test/test-support/src/main/java/com/bytechef/test/jsonasssert/JsonFileAssert.java @@ -16,8 +16,10 @@ package com.bytechef.test.jsonasssert; +import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; +import com.fasterxml.jackson.databind.json.JsonMapper; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; @@ -38,15 +40,18 @@ */ public class JsonFileAssert { - private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper() { - { - disable(SerializationFeature.FAIL_ON_EMPTY_BEANS); - disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS); - - registerModule(new JavaTimeModule()); - registerModule(new Jdk8Module()); - } - }; + private static final ObjectMapper OBJECT_MAPPER = JsonMapper.builder() + .addModule( + new JavaTimeModule()) + .addModule( + new Jdk8Module()) + .configure( + MapperFeature.SORT_PROPERTIES_ALPHABETICALLY, true) + .disable( + SerializationFeature.FAIL_ON_EMPTY_BEANS) + .disable( + SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) + .build(); public static void assertEquals(String filename, Object object) { try {