Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDK 712] Backend mode feature added. (#15)
* Basic structure * Removed previous code * - sessions, event, views, crash and user request added into q - request q process * - Sample App added * - record user properties method updated - Sample app updated * Backend mode events unit tests added. * - views - sessions (end, update, begin) - crash - user properties Unit tests added. * BackendMode import in Countly * Stable Code point * - Config unit test added - Unit tests init changed * SDK Core feature will not work if backend mode is enabled. * - Example app updated - Changelog added * Sample App updated Config updated * - session calls moved into switch - interal calss added to recrod data - ConfigTests2.java removed - Change log updated * - Getter Setter removed * logs call updated to spec not java sdk. * - Logs and message updated - Unit tests updated (common event and request time validate method) - Map<String, String> ---> Map<String, Object> - Sample App updated * - metrics param added in session begin - unit test for session begin metrics - Unit tests comments added and method renamed - Exception on other unit tests fixed * - 'requestQueueMaxSize' field added in configuration - Process request qu logic remvoed form 'BackendModeModule' and moved to SDKCore - Views Invalid data unit tests Added - Events invalid data unit tests added - Sessions (begin, update, end) invalid data unit tests added. * - record exception invalid data unit tests added - recrod user properties invalid data unit tests added - Segmentation data validatio added (Views, Events, user detial, exceptions) * segmentation invalid data type unit tests added for Events, Veiws, user, exceptoin. * segmentation validation for user properties. * - userProperteis restructure logic added - unit tests added. * - Sample app updated - process request signal added - null pointer bug fixed * - record direct request - unit tests added. * - sdk_name, sdk_version, checksum protected - drop reqeust logic added * Sample updated userdetail internal call logic updated userdetail unit tests added MaxRequestQSize lower limit logic added PR Changes * smaple app updated * - Example app updated - logs updated * - example updated - method documentation added - timestamp datatype updated * - getQueueSize moved to BackendMode class - code formating * getQueueSize = request queue + event queue assert added in unit tests * version updated to 20.11.2-RC1 * formating fixed * Tweaking releasing things * Sum bug fixed! * record event sum data type updated * performance unit test * request queue size = 1000000 * perfomance unit test reverted performance test sample app added. * stop on performing test * Example updated * time and count info added * Log updated * redundant removed from user detail unit tests. * Performance test updated Backend mode example updated Error print if reqeust queue size is lessthan 1 * - Crash detail added while recording crash - Crash unit tests - Backend mode sample app updated - Backend Mode performance app updated * Default folder path added * Mehods documenation added. * Event duration data type udpatd from 'double' to 'Double' unit tests updated example app updated * time calculation move outside switch backend mode enable check added. * moved related unit test in single unit test extra unit tests removed * sesseion begin location added * session Location added session location unit tests added * Version updated to '20.11.2' BackendMode 'disableMode'check added Unit test function name updated Co-authored-by: Zahid Zafar <> Co-authored-by: ArtursK <kadikis.arturs@gmail.com>
- Loading branch information