mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Initial support of merge & reduce mode for JOIN node (#1546)
* initial support of merge mode of JOIN node * initial support of reduce mode of JOIN node * update info document of JOIN node * add tests for merge & reduce mode of JOIN node * tidy tabs & spaces * add test for too many pending messages & related fixes * add an test for reduce mode of JOIN node * change order of modes of SWITCH node * add initial topics entry of merge mode * fixed descriptions on "reduce right" checkbox * fixed update of typedInput field of reduce mode * fixed a typo in info document of JOIN node * allow empty string in JSONata input field of reduce mode * fixed a typo * fixed error in reduce mode description
This commit is contained in:
		
				
					committed by
					
						
						Nick O'Leary
					
				
			
			
				
	
			
			
			
						parent
						
							af71ae649b
						
					
				
				
					commit
					218794be77
				
			@@ -840,6 +840,8 @@
 | 
			
		||||
        "mode":{
 | 
			
		||||
            "mode":"Mode",
 | 
			
		||||
            "auto":"automatic",
 | 
			
		||||
            "merge":"merge sequence",
 | 
			
		||||
            "reduce":"reduce sequence",
 | 
			
		||||
            "custom":"manual"
 | 
			
		||||
        },
 | 
			
		||||
        "combine":"Combine each",
 | 
			
		||||
@@ -861,7 +863,24 @@
 | 
			
		||||
        "afterTimeout":"After a timeout following the first message",
 | 
			
		||||
        "seconds":"seconds",
 | 
			
		||||
        "complete":"After a message with the <code>msg.complete</code> property set",
 | 
			
		||||
        "tip":"This mode assumes this node is either paired with a <i>split</i> node or the received messages will have a properly configured <code>msg.parts</code> property."
 | 
			
		||||
        "tip":"This mode assumes this node is either paired with a <i>split</i> node or the received messages will have a properly configured <code>msg.parts</code> property.",
 | 
			
		||||
        "too-many" : "too many pending messages in join node",
 | 
			
		||||
	"merge": {
 | 
			
		||||
	    "topics-label":"Merged Topics",
 | 
			
		||||
	    "topics":"topics",
 | 
			
		||||
            "topic" : "topic",
 | 
			
		||||
            "on-change":"Send merged message on arrival of a new topic"
 | 
			
		||||
	},
 | 
			
		||||
        "reduce": {
 | 
			
		||||
	    "exp": "Reduce exp",
 | 
			
		||||
	    "exp-value": "exp",
 | 
			
		||||
	    "init": "Initial value",
 | 
			
		||||
	    "right": "Evaluate in reverse order (right to left)",
 | 
			
		||||
	    "fixup": "Fixup exp"
 | 
			
		||||
        },
 | 
			
		||||
        "errors": {
 | 
			
		||||
            "invalid-expr": "Invalid JSONata expression: __error__"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "sort" : {
 | 
			
		||||
	"key-type" : "Key type",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user