Nick O'Leary
51e891ff88
Move sessionStorageModule into main storageModule
...
Fixes #586
- add get/saveSessions to main storage module
- handle storage modules without those functions
- store .session file in userDir
2015-03-13 23:37:59 +00:00
Nick O'Leary
731efe1c01
Add credential extract unit tests
2015-03-13 21:26:50 +00:00
Nick O'Leary
f77dd06e65
Partial deploy with missing type breaks flow diff
...
Another refactor of Flow lifecycle.
- diffFlow made a private static function
- applyConfig now diffConfig - which returns a diff object that
can be passed to .stop/.start to be properly applied
2015-03-13 17:54:58 +00:00
dceejay
9c46feb22b
more tests for log and Node
2015-03-08 16:53:48 +00:00
dceejay
10277aa956
revert/redo tests for api/index, log and Node_spec
2015-03-08 15:26:47 +00:00
dceejay
acc0e0875b
few more tests for permissions and strategies
...
reset log flags at end of log test
2015-03-07 13:22:21 +00:00
dceejay
69f85bd688
boost api index, nodes index and nodes Node test coverage
2015-03-06 22:58:30 +00:00
Nick O'Leary
34364f5627
Allow node to register multiple close handlers
...
Closes #573
2015-03-04 21:42:11 +00:00
Nick O'Leary
04f2c92ba6
Add subflow/catch node tests
2015-02-26 22:40:54 +00:00
Nick O'Leary
00d0f8cfc7
Invoke catch node only when msg is provided
2015-02-26 22:40:54 +00:00
Nick O'Leary
c80a44933c
Add errorHandler tests
2015-02-26 22:40:54 +00:00
Nick O'Leary
3849855b57
Rename _id to _msgid to avoid mongo clash
2015-02-06 16:36:32 +00:00
Nick O'Leary
482c4e9c5e
Add memory metric reporting
2015-02-04 22:28:17 +00:00
Nick O'Leary
0aaea1ec40
Update logging/metric system
2015-02-03 22:02:26 +00:00
hbeeken
7d6ce1ec12
Changing metric logging to take a primative rather than an object
2015-02-03 19:12:09 +00:00
hbeeken
b052324d36
Adding logging & metric recording configuration via settings
2015-02-03 19:12:09 +00:00
hbeeken
a87548a991
Fixing test where part wasn't exercised
2015-02-02 13:21:19 +00:00
hbeeken
0bfbb12211
Adding metric logging mechanism
2015-01-27 14:41:20 +00:00
Nick O'Leary
d04ac00732
Add more Flow_spec tests
2015-01-16 15:43:47 +00:00
Nick O'Leary
c97ab18e62
Add Flow spec
2015-01-15 17:12:50 +00:00
Nick O'Leary
a5afc258b1
Update unit tests
2015-01-15 10:28:11 +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
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
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
Anna Thomas
8d16f3c8be
Registry tests for plugins and enable/disable in CLI
2014-11-13 15:14:20 +00:00
Nick O'Leary
6169e4299a
Add initial subflow tests
2014-10-29 21:44:33 +00: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
9152daa13b
Fix race condition on saving config
2014-09-23 17:09:23 +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
7042d87444
Handle missing file/modules in Add node api
2014-08-18 21:59:19 +01:00
Nick O'Leary
e8c4caaf74
Remove cheerio parse of node html files on start-up
2014-08-18 14:34:47 +01:00
Nick O'Leary
58c2f5dd3d
Add remove node api
2014-08-07 22:20:06 +01:00
Nick O'Leary
960d15491d
Add node add/remove/enable/disable apis to registry
2014-08-04 17:12:54 +01:00
hbeeken
8c0c843367
Using path.sep rather than "/" so tests run on windows as well as linux
2014-08-04 11:27:26 +01:00
Nick O'Leary
f7f58a2347
Add registry test for node module loading
2014-08-03 21:17:24 +01:00
Nick O'Leary
1697aee9f6
Add loadNode api to registry.js
2014-08-01 23:42:01 +01:00
Nick O'Leary
3ee98e730d
Ensure test resource icons directory exists
2014-08-01 22:23:32 +01:00
Nick O'Leary
d6c5f9b57f
Add debug for eventEmitSpy
...
Debugging a travis-only build failure
2014-08-01 22:19:33 +01:00
Nick O'Leary
882b593ba4
Add missing registry test resources
2014-08-01 22:09:40 +01:00
Nick O'Leary
79e9641c09
Big rework of registry.js
...
Part of #322
Loads node.html files before node.js files
Adds helper.unload which must be called by node tests
to clear the registery of nodes
2014-08-01 22:05:49 +01:00
Nick O'Leary
8ee5be7031
Restore stubs in credentials_spec
2014-08-01 21:56:27 +01:00
Nick O'Leary
8e8e13a3a2
Add comms.stop to tidy up keepalive timer
2014-08-01 21:55:05 +01:00
zobalogh
401afcbadd
Adding test for registry cheerio
2014-07-31 16:49:19 +01:00