Nick O'Leary
ffe417976c
Merge pull request #532 from hindessm/random-delay-fixes
...
Random delay fixes
2015-01-16 15:46:53 +00:00
Mark Hindess
7909ca24d3
Fix random delay in milliseconds case and change test to reproduce bug.
...
Because there was no multiplier the node.randomFirst was a string so
the later '+' was a concatentation. The test failed to catch this because
it uses integers not strings to configure the node.
2015-01-14 10:18:47 +00:00
dansu
2577631334
Added unittests for websocket node
2015-01-13 10:38:53 +01:00
Anna Thomas
03765afefa
Updated nodes_spec test to no-op when already enabled/disabled by type name
2014-12-17 13:58:49 +00:00
Anna Thomas
10681f97d9
Updated tests to reflect addition of version getSet
2014-12-08 16:53:06 +00:00
Anna Thomas
81e08e06e4
Updated test to reflect saving settings in nodes
2014-12-08 10:10:16 +00:00
Anna Thomas
8b6e287a74
Updated remove modules tests to reflect getNodeModuleInfo changes
2014-12-05 16:51:26 +00:00
Anna Thomas
35b3912808
Removed CLI from repo
2014-11-28 09:21:39 +00:00
Anna Thomas
57bc83b2a7
Enabling and disabling non-existent nodes throws an error
2014-11-27 16:42:45 +00:00
Anna Thomas
bb6e27f662
Store node list as module list
2014-11-26 16:25:37 +00:00
Anna Thomas
d7f249eac4
Added version number to modules
2014-11-21 16:35:29 +00:00
Anna Thomas
dd5821ee1b
Installing a module returns module info
...
Removing a module checks module exists and checks type is not in use
2014-11-21 15:15:24 +00:00
Anna Thomas
4c9d53388c
Removed plugins references
2014-11-21 11:31:07 +00:00
Anna Thomas
70f101497d
Replaced delete response with 204
2014-11-21 11:25:51 +00:00
Anna Thomas
56cb985de9
Separated put response into /nodes/:mod and /nodes/:mod/:set
...
Updated put tests
2014-11-21 10:36:32 +00:00
Anna Thomas
d614b7c39f
Moved get node set response to /nodes/:mod/:set
...
Updated tests
Changed plugin back to module
2014-11-20 15:18:16 +00:00
Anna Thomas
0ff65f6805
Updated registry tests to reflect id changes
2014-11-20 13:08:27 +00:00
Nick O'Leary
71bd5cd9e9
Merge pull request #485 from anna2130/nr-cli-enhancements
...
WIP: Command Line Tool API
2014-11-17 13:34:24 +00:00
Anna Thomas
8d16f3c8be
Registry tests for plugins and enable/disable in CLI
2014-11-13 15:14:20 +00:00
Nick O'Leary
3e235ecc0b
Move cloneMessage to RED.util.cloneMessage
2014-11-06 11:39:30 +00:00
Anna Thomas
2e7a97fb88
Get plugins tests
2014-11-06 10:59:06 +00:00
Nick O'Leary
266a644ca6
Preserve querystring when ensuring path ends with slash
2014-11-06 00:01:01 +00:00
Nick O'Leary
a520240b25
Ensure application/json on library flows reqs
2014-11-05 23:08:23 +00:00
Nick O'Leary
e7eb02fcb7
Add unit tests for refactored API modules
2014-11-05 23:07:50 +00:00
Nick O'Leary
f0e9a0279f
Ignore comms heartbeat messages in comms test
2014-10-31 13:06:08 +00:00
Nick O'Leary
6169e4299a
Add initial subflow tests
2014-10-29 21:44:33 +00:00
Anna Thomas
ce6513e7f7
Change node can set msg property to another msg property. Closes #456
2014-10-28 15:50:50 +00:00
Nick O'Leary
fe95a98339
Merge pull request #441 from anna2130/reduce-message-cloning-overhead
...
Reduces message cloning overhead for single recipients
2014-10-22 15:09:59 +01:00
hbeeken
1e7ce2cfe7
Adding capability to the test helper to load more than one node at once
2014-10-22 11:29:54 +01:00
Anna Thomas
bc8e459ae6
Node does not clone first message sent
...
Tests updated to mirror this behaviour
Annotated algorithm
2014-10-21 14:08:35 +01:00
Nick O'Leary
53a9a5fe93
Merge pull request #422 from anna2130/debug
...
Updated debug node to output other msg properties
2014-10-20 16:35:24 +01:00
Nick O'Leary
bec4e429f9
Merge pull request #433 from anna2130/change-node-multi-level-properties
...
Change node: Multi-level properties
2014-10-20 11:12:59 +01:00
Anna Thomas
986ce8163f
Added tests to check functionality when using multi-level properties
2014-10-07 16:12:35 +01:00
Anna Thomas
2a753c9d22
Updated debug node test
2014-10-07 10:25:56 +01:00
Nick O'Leary
489c552dbe
Reset settings between tests
2014-10-03 15:05:37 +01:00
Nick O'Leary
86d4179039
Merge pull request #421 from hindessm/fix-supertest-usage
...
Fix supertest usage to correctly throw errors.
2014-10-01 22:48:00 +01:00
Mark Hindess
ea6313c9a1
Make nock an optional dependency.
2014-10-01 18:14:40 +01:00
Mark Hindess
8df9eee6d2
Add nock to node test helper.
2014-10-01 14:35:51 +01:00
Mark Hindess
669f3d9ba1
Fix supertest usage to correctly throw errors.
2014-09-30 14:59:37 +01:00
Mark Hindess
059ec3b50c
Add credentials support to node test helper.
2014-09-30 08:01:40 +01:00
Nick O'Leary
9152daa13b
Fix race condition on saving config
2014-09-23 17:09:23 +01:00
Nick O'Leary
723a3e628e
Add cli tests
2014-09-23 00:14:30 +01:00
Nick O'Leary
af0b740fbd
Rework nr-cli
...
- better componentisation
- add 'search' option to look for npm modules
- add 'target' option to point at non-default installs
2014-09-22 22:59:42 +01:00
Nick O'Leary
55c830b812
Add disableEditor option
...
Closes #409
2014-09-22 14:34:17 +01:00
Nick O'Leary
c98b9dfaa3
Don't filter errored nodes in result list
2014-09-20 22:42:48 +01:00
Nick O'Leary
da61fe12d0
Add dynamic node api
...
Closes #322
- nodes modules can be installed/removed dynamically at runtime
- nodes can be enabled/disabled
- onpaletteadd/onpaletteremove api added to node definitions
- initial implementation of nr-cli
2014-09-17 23:57:29 +01:00
Nick O'Leary
00cb8d5bce
Update package dependencies
...
Closes #345
Also fixes a resulting test failure with the HTML parse node
2014-09-17 23:49:28 +01:00
Mark Hindess
c0fcc20f23
Add ensureBuffer helper for nodes.
2014-09-10 12:46:56 +01:00
Anna Thomas
54a2923c65
Fixed _spec.js test
2014-09-10 09:48:27 +01:00
zobalogh
4706b814dd
Adding drop check to Delay tests
2014-09-08 14:26:35 +01:00