Re: [Architecture] Refactoring EMM UserModule

2014-05-05 Thread Dilshan Edirisuriya
Hi Chan, As Ruchira mentioned please extend the existing user module so it can be used by all the products across the platform. If something blocking from doing it please share your issues here. Regards, Dilshan On Mon, May 5, 2014 at 8:34 AM, Ruchira Wageesha ruch...@wso2.com wrote: On

[Architecture] Invitation: Re: EMM - UI Design @ Tue May 6, 2014 3pm - 5pm (samee...@wso2.com)

2014-05-05 Thread Sameera Perera
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140506T093000Z DTEND:20140506T113000Z DTSTAMP:20140505T071547Z ORGANIZER;CN=Sameera Perera:mailto:samee...@wso2.com UID:kctimb6vca7facd85jq2ddk...@google.com

Re: [Architecture] EMM devices - Different types for unique fields

2014-05-05 Thread Dilshan Edirisuriya
Hi Niranjan, Actually there is another type representing device identification. For iOS its universal device identifier (UDID) and for Android its the device id which is either IMEI (for GSM) or MEID (for CDMA phones). So it has to come as the 4th point. Please find the comments on above points.

Re: [Architecture] Writing a generic sql plugin for jaggery-entity

2014-05-05 Thread Dilshan Edirisuriya
Hi Chan, Does jaggery-entity have the capability to define parent child relationship and do cascading saves? Also how about supporting query/fetching methods for this if it has multiple levels? If ORM cannot be used in some instance can the same object entities and mappings be used to query

Re: [Architecture] WSO2 Con back-end application move to WSO2 cloud

2014-05-05 Thread Indika Sampath
Hi Sumedha, Thanks for the fix. Cheers! On Mon, May 5, 2014 at 11:07 AM, Sumedha Kodithuwakku sumed...@wso2.comwrote: Hi Amila, I have deployed the above modules for the three environments. @Indika, Please check whether these are working as expected. Thanks SumedhaS On Mon, May 5,

[Architecture] Updated Invitation: Re: EMM - UI Design @ Tue May 6, 2014 3pm - 5pm (samee...@wso2.com)

2014-05-05 Thread samee...@wso2.com
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20140506T093000Z DTEND:20140506T113000Z DTSTAMP:20140505T080217Z ORGANIZER;CN=Sameera Perera:mailto:samee...@wso2.com UID:kctimb6vca7facd85jq2ddk...@google.com

Re: [Architecture] EMM devices - Different types for unique fields

2014-05-05 Thread Niranjan Karunanandham
Hi Dilshan Actually there is another type representing device identification. For iOS its universal device identifier (UDID) and for Android its the device id which is either IMEI (for GSM) or MEID (for CDMA phones). So it has to come as the 4th point. We do not need a 4th point for this.

[Architecture] Writing Unit tests for iOS EMM client

2014-05-05 Thread Harshan Liyanage
Hi, I have started $subject for WSO2 EMM next release. In the iOS client we need to add unit tests for reading/writing a plist file and for asynchronous network operations. I'm using SenTestingKit[1] as the unit testing framework. It's the default unit testing framework in ios sdk prior to ios 7.

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Kasun Dananjaya Delgolla
Hi Inosh, We have to handle this when the logging happens. Than means when we debug, we may need a history of logs. So its better we do a versioning of log files (ex: file per day). Here, the battery drain happens when try to write to that big file. So actually when we switch off the debug mode,

Re: [Architecture] EMM - Android : Writing Test Cases

2014-05-05 Thread Krishanthi Samarasinghe
Hi Dilshan, We need to cover following test cases. 1. Unit test cases 2. Functional test cases 3. Integration test cases 4. UI test cases Since I have already started to implement test cases using Android Testing API and it is possible to cover all test cases we need, I have decided to user

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Dilshan Edirisuriya
Hi Inosh, Can we have a detailed analysis with numbers. Please concentrate on these scenarios. 1) Change policy monitoring time to atleast 1 minute and test its consumption. 2) Do few device operations within few seconds and analyze its results. 3) Run the application for 24 hours and see its

Re: [Architecture] Writing Unit tests for iOS EMM client

2014-05-05 Thread Dilshan Edirisuriya
Hi Harshan, For integrations tests I prefer you look at KIF at [1]. This is a widely used library. Its under Apache 2 license. Later on you can directly integrate this to a CI server as well. [1] - https://github.com/kif-framework/KIF [2] -

Re: [Architecture] Writing Unit tests for iOS EMM client

2014-05-05 Thread Harshan Liyanage
Hi Dilshan, That'll be very helpful for integration tests. Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Mon, May

Re: [Architecture] Writing a generic sql plugin for jaggery-entity

2014-05-05 Thread Chan
On Mon, May 5, 2014 at 1:11 PM, Dilshan Edirisuriya dils...@wso2.comwrote: Hi Chan, Does jaggery-entity have the capability to define parent child relationship and do cascading saves? Also how about supporting query/fetching methods for this if it has multiple levels? If ORM cannot be used

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Kasun Dananjaya Delgolla
Hi Dilshan, Actually I have already tested the app for the 2nd and 3rd options that you have mentioned. So I think if Inosh can test the 1st scenario, that would complete the test. One more that can be checked is the async tasks and whether they are destroyed properly once the task is done.

Re: [Architecture] Writing a generic sql plugin for jaggery-entity

2014-05-05 Thread Nadeesha Cabral
On Mon, May 5, 2014 at 7:13 PM, Chan duli...@wso2.com wrote: Having parent child relationships and cascading would require us to build a complicated ORM suite that is unnecessary IMO. The entity object will be wrapped by a high level object that will decide to load the necessary child

Re: [Architecture] Refactoring EMM UserModule

2014-05-05 Thread Dilshan Edirisuriya
Hi Chan, What are the EMM specific cases we need to handle? In that case does this inherit behaviors of generic user module or will it be a different one which only have the functions specific to EMM? Regards, Dilshan On Mon, May 5, 2014 at 10:49 PM, Chan duli...@wso2.com wrote: On Mon,

Re: [Architecture] Writing a generic sql plugin for jaggery-entity

2014-05-05 Thread Dilshan Edirisuriya
Hi Chan, IMO you have to support those features to be fulfilled as a ORM mapping technology. Anyway does this integrates to EMM at some point? Regards, Dilshan On Mon, May 5, 2014 at 7:13 PM, Chan duli...@wso2.com wrote: On Mon, May 5, 2014 at 1:11 PM, Dilshan Edirisuriya

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Dilshan Edirisuriya
Hi Kasun/Inosh, I think this is a relative problem which depend on the OS version and also the device type. So what we have to look for the numbers and fine tune to reduce the memory usage as much as we can. I hope you have used monitor tool available in Android SDK. From this you can analyze the

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Chan
Also let's publish these stats publicly - just like ESB records it's TPS for different adaptors. Kasun/Inosh can you guys come with comprehensive benchmark plan and get us solid stats. Also the stats has to be in a way that another person can replicate our benchmark results. We'll probably have to

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Kasun Dananjaya Delgolla
Hi Dilshan, We have already used DDMS tools as you have suggested above and didn't get any significant heap issues or problems with memory allocation tests with the devices we have. And the lowest configuration device I have tested was an emulator instance with 256MB of RAM. I think we should

Re: [Architecture] Siddhi Time Seriers Extension - Performance

2014-05-05 Thread Srinath Perera
Did we verified these numbers? On Mon, Apr 14, 2014 at 11:20 AM, Sriskandarajah Suhothayan s...@wso2.comwrote: Sure will do. Suho On Mon, Apr 14, 2014 at 10:55 AM, Seshika Fernando sesh...@wso2.comwrote: Hi, This is not over the network. Events are just a couple of data streams

Re: [Architecture] [Dev] WSO2 Identity Server 5.0.0 Beta Released!

2014-05-05 Thread Asanthi Kulasinghe
Hi, Is there a P2 repo for this? Regards Asanthi On Tue, May 6, 2014 at 5:53 AM, Darshana Gunawardana darsh...@wso2.comwrote: WSO2 Identity Server 5.0.0 Beta Released! Date: 6th May 2014 WSO2 Identity Server team is pleased to announce the release of 5.0.0 Beta version of WSO2

Re: [Architecture] Siddhi Time Seriers Extension - Performance

2014-05-05 Thread Seshika Fernando
Hi Srinath, I'm verifying them today. Will let you know the outcome. seshika On Tue, May 6, 2014 at 9:49 AM, Srinath Perera srin...@wso2.com wrote: Did we verified these numbers? On Mon, Apr 14, 2014 at 11:20 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Sure will do. Suho On

Re: [Architecture] Local notification and new payload structure of EMM android client

2014-05-05 Thread Kasun Dananjaya Delgolla
Hi Inosh, You better write a parser in a flexible way to get this payload parsed. And for testing, initiate a payload in the local notification receiver and pass it to Operations controller after parsing. Try executing operations one by one and after the whole payload got executed, construct the

Re: [Architecture] Android client app performance optimization

2014-05-05 Thread Srinath Perera
Lets chat when you have first set of numbers. On Tue, May 6, 2014 at 10:37 AM, Kasun Dananjaya Delgolla kas...@wso2.comwrote: +1 On Tue, May 6, 2014 at 7:54 AM, Inosh Perera ino...@wso2.com wrote: +1 for detailed analysis on different testing devices. We will probably have to use the