Commit Graph
67 Commits
Author SHA1 Message Date
Zaid Abdulla 3ba1e05c2e Expiring tasks generated from presets. 2013-11-05 13:48:05 +03:00
Zaid Abdulla 8414f463ad Bug fixes related to calculation of preset hash expiary. 2013-11-04 00:41:14 +03:00
Zaid Abdulla 993472e2ca Added some delay before listening for connection to avoid handling requests before DB connections are established. 2013-11-03 23:33:55 +03:00
Zaid Abdulla 2839d27a8e Use ceil instead of floor for cache expiry to avoid 0 seconds cache duration. 2013-11-03 09:27:05 +03:00
Zaid Abdulla fb1247191f Fixed bug caused by older redis versions not accepting float-point expiry. 2013-11-03 08:53:00 +03:00
Zaid Abdulla e77cdd10c8 Faulty tasks automatically retried later rather than hold the taks queue. 2013-11-03 00:54:22 +03:00
Zaid Abdulla 2e4a524d90 Replaced memcached with redis. 2013-11-02 20:55:31 +03:00
Zaid Abdulla 5a2648c4d0 Saving task fault and session data separately to avoid persistant session data when a fault occures. 2013-11-02 15:51:53 +03:00
Zaid Abdulla fd378d138a Support for task expiry. 2013-10-28 11:58:36 +03:00
Zaid Abdulla 59193f38ee Gracefully handle when firmware image is not found in RequestDownload. 2013-10-20 11:14:36 +03:00
Zaid Abdulla 8e98b0414e Addes support for RequestDownload for firmware upgrade. 2013-10-18 15:25:18 +03:00
Zaid Abdulla 3fbe297726 Major overhaul to how presets are processed, needed in order to expose preset functionality through API. 2013-10-16 19:39:20 +03:00
Zaid Abdulla c72705d777 Added task status code to force saving task. Used in addObject task to avoid data inconsistency and crashing. 2013-09-13 16:23:51 +03:00
Zaid Abdulla 9537bfad0f Do not store available custom commands in device doc, find them from config. No longer having to reinitialize the device after adding a custom command. 2013-09-13 13:02:44 +03:00
Zaid Abdulla ff286080e8 Initial implementation of custom commands feature (e.g. telnet). 2013-09-10 15:54:09 +03:00
Zaid Abdulla 3ad8d08ea9 Throwing exceptions in case of database errors. 2013-08-18 05:35:03 +03:00
Zaid Abdulla f4d7104c4f Changed _last_inform parameter to _lastInform for unification. 2013-08-08 11:53:12 +03:00
Zaid Abdulla 84d75c4696 Handle HTTP related CPE fault requests gracefully. 2013-08-08 11:38:44 +03:00
Zaid Abdulla 4c4b1d630b Optimizing overall performance under heavy load by temporarily rejecting new sessions that will likely not finish successfully anyway. 2013-08-08 11:24:14 +03:00
Zaid Abdulla bcfd56d868 Don't delete InternetGatewayDevice tree when reinitializing device 2013-07-22 20:32:32 +03:00
Zaid Abdulla 9f83c29a93 GetParameterNames task now deletes objects that no longer exist from DB 2013-07-22 14:30:11 +03:00
Zaid Abdulla 7da76e0de7 Mark object instances in the device doc 2013-07-21 10:01:43 +03:00
Zaid Abdulla 44a09a655d Ability to assign instance name when adding object 2013-06-03 10:55:42 +03:00
Zaid Abdulla ea5c92aaa0 Reinitialize device on bootstrap event 2013-05-28 11:18:01 +03:00
Zaid Abdulla b01cc55cda Implemented addObject and deleteObject CPE functions 2013-05-23 15:02:03 +03:00
Zaid Abdulla 65e7b22149 Added boot and bootstrap timestamps 2013-05-14 14:28:00 +03:00
Zaid Abdulla 3f45c7e887 Include xsi:type attribute with SetParameterValues method 2013-04-03 09:15:46 +03:00
Zaid Abdulla cc68d3b62e Added options to expire tasks and prevent duplicates. 2013-03-22 00:53:40 +03:00
Zaid Abdulla de2edd0438 Using connection:keep-alive and connection:close headers in response 2013-03-20 22:47:32 +03:00
Zaid Abdulla 56fa1f03e4 Cleaned up value normalization code 2013-03-15 22:33:25 +03:00
Zaid Abdulla 39a5ff8a9a Firmware upgrade now functional 2013-02-22 22:37:51 +03:00
Zaid Abdulla 20fa79c0a3 Implemented HTTPS support 2013-02-18 14:48:21 +03:00
Zaid Abdulla 5ba4dce248 Ignore GetParameterValues errors during initialization step 2013-02-07 16:01:08 +03:00
Zaid Abdulla 22ed899657 Changes to how tasks are handled to allow better fault handling 2013-02-07 12:07:02 +03:00
Zaid Abdulla 49e689f7e9 Initial support for file transfer 2013-01-22 20:23:38 +03:00
Zaid Abdulla 462e9e3afd Major updates paving the road support ACS methods 2013-01-22 11:48:24 +03:00
Zaid Abdulla 3ce097359c Some variable name refactoring 2013-01-21 12:04:02 +03:00
Zaid Abdulla 6fb27bea51 Removed monngodb export from db module 2013-01-20 11:29:51 +03:00
Zaid Abdulla bdbcbbb193 Instead of saving, only set fault property when receiving fault response. 2013-01-19 00:49:54 +03:00
Zaid Abdulla 5b7e937cd8 Fixed major bug caused by having request variables in the global scope. Add ability to sepecify devices for which requests/responses will be dumped to file. 2013-01-18 16:24:13 +03:00
Zaid Abdulla 46119e1377 Ignore gracefully if task in request cookie doesn't exist 2013-01-16 22:51:18 +03:00
Zaid Abdulla 60bda6921a In case of fault response, store the fault and don't process any new task until fault is cleared. 2013-01-16 15:30:48 +03:00
Zaid Abdulla d739adc32c Handle inavailability of cache gracefully. No longer crashes when memcache is not available. 2013-01-15 22:01:57 +03:00
Zaid Abdulla 04b92945fe Renamed profiles to presets. Added preconditition. 2013-01-12 16:08:15 +03:00
Zaid Abdulla 5d95f6039b Added profile support for refreshing param value 2013-01-07 16:07:41 +03:00
Zaid Abdulla 4c0d33f575 Initial profiles support. Needs more testing. 2013-01-03 14:57:30 +03:00
Zaid Abdulla d636c31940 Moved mongo and memcached connection into a separate module 2012-12-27 14:13:48 +03:00
Zaid Abdulla 83d05462bf Bug fixes in ACS 2012-12-26 12:54:20 +03:00
Zaid Abdulla 813bd836f5 Optimized new device detection 2012-12-25 11:18:54 +03:00
Zaid Abdulla 658d54fa9c Fixed cache expiration 2012-12-21 00:05:46 +03:00