Zaid Abdulla
b8012c8698
Generic function to sanitize value types in Mongo query
2016-08-23 20:59:12 -07:00
Zaid Abdulla
67bcd7e526
New and improved fault management
...
This introduces the concept of "channel". Presets may belong to different
channels such that if one preset causes a fault, only presets belonging
to the same channel will be paused. Presets in other channels will continue
to be applied.
2016-08-23 01:06:25 -07:00
Zaid Abdulla
5fd869c6b9
Convert collection name to camel case in query API
2016-07-21 06:14:36 +03:00
Zaid Abdulla
7b18cb3bbf
Virtual parameters
...
Implemented support for user-defined parameters driven by Javascript
code. Renamed scripts collection to provisions.
2016-04-17 18:54:48 +03:00
Zaid Abdulla
48d9adbaff
Scripting in presets
...
User defined scripts can now be used in presets allowing dynamic values
and complex provisioning workflow.
2016-03-26 02:16:37 +03:00
Zaid Abdulla
dff95c3c80
Update dependencies
2016-03-06 06:19:50 +03:00
Zaid Abdulla
c3a956ad27
Remove obsolete code
2016-03-06 04:41:10 +03:00
Zaid Abdulla
2aaec7bde5
Fix sorting bug in API
2016-01-13 18:14:21 +03:00
Zaid Abdulla
2cf31935bc
Return task object including fault details in case of fault. Return reason for connection request failure.
2015-07-09 22:22:18 +03:00
Zaid Abdulla
c896dd2010
Fixed the incorrect way used to return error resonses in NBI.
2015-07-01 05:13:20 +03:00
Zaid Abdulla
6f595b6fc5
Fixed ability to query tasks collection using task ID. Fixes #68 .
2015-05-26 12:58:12 +03:00
Dan Morphis
618a24112f
Set the status code to 400 when invalid query params are sent
2015-02-18 09:44:44 -09:00
Dan Morphis
7b2b89bb4a
Don't crash if the query params are invalid json
2015-02-13 12:48:05 -09:00
Zaid Abdulla
5b60416a3e
Fixed 404 error when deleting/retrying a task caused by recent change in node's implementation of querystring.unescape.
2014-11-22 19:11:54 +03:00
Dan Morphis
612bc8e414
Return the task object when adding a task
2014-10-14 10:28:23 -08:00
Zaid Abdulla
7d3618a480
Fixed bug where deleting a device doesn't work if device ID contains URL encoded characters.
2014-08-18 22:23:46 +03:00
Zaid Abdulla
faf1e49eb9
Implemented API for deleting a device.
2014-08-16 14:14:38 +03:00
Zaid Abdulla
ee9a35b9b3
Ability to specify per device, per product class, or per oui configuration. Reimplemented Libxmljs options on the new configuration system.
2014-08-06 00:45:24 +03:00
Zaid Abdulla
97700eb6c8
Use OUI instead of manufacturer to identify firmware files.
2014-08-01 00:47:01 +03:00
Zaid Abdulla
c7a2cdb448
Fixed filename allowed character issues when uploading or deleting files through API.
2014-07-31 08:17:54 +03:00
Zaid Abdulla
32c56f8ff1
Accept configuration from environment variables or command line arguments. Unified cluster and HTTP server code for CWMP, NBI, and FS.
2014-07-31 01:44:53 +03:00
Zaid Abdulla
4b244f43e0
Fixed issue where uploaded file not immediatly accessible because upload API responds before the upload has completed.
2014-07-19 06:58:48 +03:00
Zaid Abdulla
1c902af363
Wait for connections to MongoDB and redis to be established on startup. Added configuration option to specify redis DB.
2014-07-19 06:54:09 +03:00
Zaid Abdulla
a4f1d0dc2a
Added copyright and permission header to source files.
2014-07-12 23:53:01 +03:00
Zaid Abdulla
82b02ff175
Added config options to be passed to libxmljs when parsing request XML. Fixes #15 .
2014-06-13 13:01:16 +03:00
Zaid Abdulla
236a0241ba
Better file structure and naming
2014-03-09 19:59:34 +03:00