You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/11/16 10:17:32 UTC

[incubator-hop] branch master updated: HOP-3501 : Avoid formating hop-variables.xml

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 74e1695  HOP-3501 : Avoid formating hop-variables.xml
     new 884dbd0  Merge pull request #1195 from uraychang/formattingVariables
74e1695 is described below

commit 74e1695d1531ff25032bff6d6bd9bde394c5e141
Author: ray.chang <ur...@gmail.com>
AuthorDate: Tue Nov 16 17:40:01 2021 +0800

    HOP-3501 : Avoid formating hop-variables.xml
---
 engine/src/main/resources/hop-variables.xml | 91 ++++++++---------------------
 1 file changed, 23 insertions(+), 68 deletions(-)

diff --git a/engine/src/main/resources/hop-variables.xml b/engine/src/main/resources/hop-variables.xml
index e35aa10..ea8f453 100644
--- a/engine/src/main/resources/hop-variables.xml
+++ b/engine/src/main/resources/hop-variables.xml
@@ -18,12 +18,7 @@
 <hop-variables>
 
     <hop-variable>
-        <description>System wide flag to allow lenient string to number conversion for backward compatibility. If this
-            setting is set to "Y", an string
-            starting with digits will be converted successfully into a number. (example: 192.168.1.1 will be converted
-            into 192 or 192.168 or 192168
-            depending on the decimal and grouping symbol). The default (N) will be to throw an error if non-numeric
-            symbols are found in the string.
+        <description>System wide flag to allow lenient string to number conversion for backward compatibility. If this setting is set to "Y", an string starting with digits will be converted successfully into a number. (example: 192.168.1.1 will be converted into 192 or 192.168 or 192168 depending on the decimal and grouping symbol). The default (N) will be to throw an error if non-numeric symbols are found in the string.
         </description>
         <variable>HOP_LENIENT_STRING_TO_NUMBER_CONVERSION</variable>
         <default-value>N</default-value>
@@ -37,33 +32,28 @@
     </hop-variable>
 
     <hop-variable>
-        <description>The log size limit for all pipelines and workflows that don't have the "log size limit" property
-            set in their respective
-            properties.
+        <description>The log size limit for all pipelines and workflows that don't have the "log size limit" property set in their respective properties.
         </description>
         <variable>HOP_LOG_SIZE_LIMIT</variable>
         <default-value>0</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>NULL vs Empty String. If this setting is set to Y, an empty string and null are different.
-            Otherwise they are not.
+        <description>NULL vs Empty String. If this setting is set to Y, an empty string and null are different. Otherwise they are not.
         </description>
         <variable>HOP_EMPTY_STRING_DIFFERS_FROM_NULL</variable>
         <default-value>N</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The maximum number of log lines that are kept internally by Hop. Set to 0 to keep all rows
-            (default)
+        <description>The maximum number of log lines that are kept internally by Hop. Set to 0 to keep all rows (default)
         </description>
         <variable>HOP_MAX_LOG_SIZE_IN_LINES</variable>
         <default-value>0</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The maximum age (in minutes) of a log line while being kept internally by Hop. Set to 0 to keep all
-            rows indefinitely (default)
+        <description>The maximum age (in minutes) of a log line while being kept internally by Hop. Set to 0 to keep all rows indefinitely (default)
         </description>
         <variable>HOP_MAX_LOG_TIMEOUT_IN_MINUTES</variable>
         <default-value>1440</default-value>
@@ -112,52 +102,42 @@
     </hop-variable>
 
     <hop-variable>
-        <description>The maximum number of transform performance snapshots to keep in memory. Set to 0 to keep all
-            snapshots indefinitely (default)
+        <description>The maximum number of transform performance snapshots to keep in memory. Set to 0 to keep all snapshots indefinitely (default)
         </description>
         <variable>HOP_TRANSFORM_PERFORMANCE_SNAPSHOT_LIMIT</variable>
         <default-value>0</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The name of the variable that optionally contains an alternative rowset get timeout (in ms). This
-            only makes a difference for
-            extremely short lived pipelines.
+        <description>The name of the variable that optionally contains an alternative rowset get timeout (in ms). This only makes a difference for extremely short lived pipelines.
         </description>
         <variable>HOP_ROWSET_GET_TIMEOUT</variable>
         <default-value>50</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The name of the variable that optionally contains an alternative rowset put timeout (in ms). This
-            only makes a difference for
-            extremely short lived pipelines.
+        <description>The name of the variable that optionally contains an alternative rowset put timeout (in ms). This only makes a difference for extremely short lived pipelines.
         </description>
         <variable>HOP_ROWSET_PUT_TIMEOUT</variable>
         <default-value>50</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The name of the project variable that will contain the alternative location of the
-            hop-transforms.xml file. You can use this to
-            customize the list of available internal transforms outside of the codebase.
+        <description>The name of the project variable that will contain the alternative location of the hop-transforms.xml file. You can use this to customize the list of available internal transforms outside of the codebase.
         </description>
         <variable>HOP_CORE_TRANSFORMS_FILE</variable>
         <default-value></default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>The name of the project variable that will contain the alternative location of the
-            hop-workflow-actions.xml file.
+        <description>The name of the project variable that will contain the alternative location of the hop-workflow-actions.xml file.
         </description>
         <variable>HOP_CORE_WORKFLOW_ACTIONS_FILE</variable>
         <default-value></default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>This project variable will set a time-out after which waiting, completed or stopped pipelines and
-            workflows will be automatically
-            cleaned up. The default value is 1440 (one day).
+        <description>This project variable will set a time-out after which waiting, completed or stopped pipelines and workflows will be automatically cleaned up. The default value is 1440 (one day).
         </description>
         <variable>HOP_SERVER_OBJECT_TIMEOUT_MINUTES</variable>
         <default-value>1440</default-value>
@@ -219,37 +199,28 @@
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y when you want the workflow/pipeline fail with an error when the related
-            logging process (e.g. to a database)
-            fails.
+        <description>Set this variable to Y when you want the workflow/pipeline fail with an error when the related logging process (e.g. to a database) fails.
         </description>
         <variable>HOP_FAIL_ON_LOGGING_ERROR</variable>
         <default-value>N</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y to set the minimum to NULL if NULL is within an aggregate. Otherwise by
-            default NULL is ignored by the MIN
-            aggregate and MIN is set to the minimum value that is not NULL. See also the variable
-            HOP_AGGREGATION_ALL_NULLS_ARE_ZERO.
+        <description>Set this variable to Y to set the minimum to NULL if NULL is within an aggregate. Otherwise by default NULL is ignored by the MIN aggregate and MIN is set to the minimum value that is not NULL. See also the variable HOP_AGGREGATION_ALL_NULLS_ARE_ZERO.
         </description>
         <variable>HOP_AGGREGATION_MIN_NULL_IS_VALUED</variable>
         <default-value>N</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y to return 0 when all values within an aggregate are NULL. Otherwise by
-            default a NULL is returned when all
-            values are NULL.
+        <description>Set this variable to Y to return 0 when all values within an aggregate are NULL. Otherwise by default a NULL is returned when all values are NULL.
         </description>
         <variable>HOP_AGGREGATION_ALL_NULLS_ARE_ZERO</variable>
         <default-value>N</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y for backward compatibility for the Text File Output transform. Setting this
-            to Ywill add no header row at all
-            when the append option is enabled, regardless if the file is existing or not.
+        <description>Set this variable to Y for backward compatibility for the Text File Output transform. Setting this to Ywill add no header row at all when the append option is enabled, regardless if the file is existing or not.
         </description>
         <variable>HOP_COMPATIBILITY_TEXT_FILE_OUTPUT_APPEND_NO_HEADER</variable>
         <default-value>N</default-value>
@@ -262,9 +233,7 @@
     </hop-variable>
 
     <hop-variable>
-        <description>You can use this variable to speed up hostname lookup. Hostname lookup is performed by Hop so that
-            it is capable of logging the
-            server on which a workflow or pipeline is executed.
+        <description>You can use this variable to speed up hostname lookup. Hostname lookup is performed by Hop so that it is capable of logging the server on which a workflow or pipeline is executed.
         </description>
         <variable>HOP_SYSTEM_HOSTNAME</variable>
         <default-value></default-value>
@@ -286,18 +255,14 @@
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y for backward compatibility for the Merge Rows (diff) transform. Setting this
-            to Y will use the data from the
-            reference stream (instead of the comparison stream) in case the compared rows are identical.
+        <description>Set this variable to Y for backward compatibility for the Merge Rows (diff) transform. Setting this to Y will use the data from the reference stream (instead of the comparison stream) in case the compared rows are identical.
         </description>
         <variable>HOP_COMPATIBILITY_MERGE_ROWS_USE_REFERENCE_STREAM_WHEN_IDENTICAL</variable>
         <default-value>N</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to false to preserve enclosure symbol after splitting the string in the Split
-            fields transform. Changing it to true
-            will remove first and last enclosure symbol from the resulting string chunks.
+        <description>Set this variable to false to preserve enclosure symbol after splitting the string in the Split fields transform. Changing it to true will remove first and last enclosure symbol from the resulting string chunks.
         </description>
         <variable>HOP_SPLIT_FIELDS_REMOVE_ENCLOSURE</variable>
         <default-value>false</default-value>
@@ -311,27 +276,21 @@
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to false to preserve global log variables defined in pipeline / workflow
-            Properties -> Log panel. Changing it to
-            true will clear it when export pipeline / workflow.
+        <description>Set this variable to false to preserve global log variables defined in pipeline / workflow Properties -> Log panel. Changing it to true will clear it when export pipeline / workflow.
         </description>
         <variable>HOP_GLOBAL_LOG_VARIABLES_CLEAR_ON_EXPORT</variable>
         <default-value>false</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>This project variable is used by the Text File Output transform. It defines the max number of
-            simultaneously open files within the
-            transform. The transform will close/reopen files as necessary to insure the max is not exceeded
+        <description>This project variable is used by the Text File Output transform. It defines the max number of simultaneously open files within the transform. The transform will close/reopen files as necessary to insure the max is not exceeded
         </description>
         <variable>HOP_FILE_OUTPUT_MAX_STREAM_COUNT</variable>
         <default-value>1024</default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>This project variable is used by the Text File Output transform. It defines the max number of
-            milliseconds between flushes of files
-            opened by the transform.
+        <description>This project variable is used by the Text File Output transform. It defines the max number of milliseconds between flushes of files opened by the transform.
         </description>
         <variable>HOP_FILE_OUTPUT_MAX_STREAM_LIFE</variable>
         <default-value>0</default-value>
@@ -345,18 +304,14 @@
     </hop-variable>
 
     <hop-variable>
-        <description>This is the name of the variable which when set should contains the path to a file which will be
-            included in the serialization of
-            pipelines and workflows
+        <description>This is the name of the variable which when set should contains the path to a file which will be included in the serialization of pipelines and workflows
         </description>
         <variable>HOP_LICENSE_HEADER_FILE</variable>
         <default-value></default-value>
     </hop-variable>
 
     <hop-variable>
-        <description>Set this variable to Y to precede transform/action name in log lines with the complete path to the
-            transform/action. Useful
-            o perfectly identify where a problem happened in our process.
+        <description>Set this variable to Y to precede transform/action name in log lines with the complete path to the transform/action. Useful to perfectly identify where a problem happened in our process.
         </description>
         <variable>HOP_LOG_MARK_MAPPINGS</variable>
         <default-value>N</default-value>