Re: [Dev] [EMM] Value too long for column "DEVICE_MODEL VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 - 1440x2560_1-2'

2017-04-29 Thread Geeth Munasinghe
Hi Dushan, Thanks for reporting this. We will fix this in the upcoming release (IOT-3.1.0). Thanks Geeth On Sat, Apr 29, 2017 at 10:39 PM, Dushan Abeyruwan wrote: > > [2017-04-29 10:08:16,113] [IoT-Core] ERROR - DeviceTypePluginDAO Error > occurred while adding the device '000' to

[Dev] [EMM] Value too long for column "DEVICE_MODEL VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 - 1440x2560_1-2'

2017-04-29 Thread Dushan Abeyruwan
[2017-04-29 10:08:16,113] [IoT-Core] ERROR - DeviceTypePluginDAO Error occurred while adding the device '000' to the AD_DEVICE db. org.h2.jdbc.JdbcSQLException: Value too long for column "DEVICE_MODEL VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 - 1440x2560_1-2' (47)"; S

Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Megala Uthayakumar
Thanks Thushitha. On Fri, Oct 21, 2016 at 9:41 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > PR is merged with https://github.com/wso2/carbon-kernel/commit/ > 23776864731699ad9971cd15ace71a6ef71f65ce > > On Thu, Oct 20, 2016 at 2:13 PM, Lakshani Gamage > wrote: > >> [adding Laksh

Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Thusitha Thilina Dayaratne
PR is merged with https://github.com/wso2/carbon-kernel/commit/23776864731699ad9971cd15ace71a6ef71f65ce On Thu, Oct 20, 2016 at 2:13 PM, Lakshani Gamage wrote: > [adding LakshmanU, ThusithaD] > > On Thu, Oct 20, 2016 at 2:05 PM, Megala Uthayakumar > wrote: > >> Hi, >> >> I have created a PR[1]

Re: [Dev] EMM - Help

2016-10-20 Thread Bhathiya Jayasekara
[+dev@wso2.org] On Thu, Oct 20, 2016 at 11:17 PM, Sylvain Puel < sylvain.p...@vitamines-it.com> wrote: > Hi Bhathiya, > > I found you on Stackoverflow about WSO2 EMM. > > We have one question that stops us with the solution : > http://stackoverflow.com/questions/39981245/wso2-emm- > install-appli

Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Lakshani Gamage
[adding LakshmanU, ThusithaD] On Thu, Oct 20, 2016 at 2:05 PM, Megala Uthayakumar wrote: > Hi, > > I have created a PR[1] to fix this issue. Can someone from kernel team > review and merge this PR? > > [1] https://github.com/wso2/carbon-kernel/pull/1163 > > Thanks. > > Regards, > Megala > > > On

Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Megala Uthayakumar
Hi, I have created a PR[1] to fix this issue. Can someone from kernel team review and merge this PR? [1] https://github.com/wso2/carbon-kernel/pull/1163 Thanks. Regards, Megala On Wed, Oct 19, 2016 at 5:25 PM, Kamidu Punchihewa wrote: > Hi Megala, > > If you have found out the issue and sol

Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-19 Thread Kamidu Punchihewa
Hi Megala, If you have found out the issue and solution. Please do the necessary change and do a round of testing. If everything works as expected please send a pull request to the carbon kernel. @Kernal Team How we can get the this released for the EMM 2.2.0 release ? Thanks and Best Regards, K

[Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-18 Thread Megala Uthayakumar
Hi All, I am working on a jira [1] which is related with an exception that is thrown when trying to add a user/role in tenant mode using EMM console. This is particularly happens when we call the admin service to get the secondary user store configurations related to particular tenant [2]. Followi

Re: [Dev] [EMM Android Agent] Compile error - missing package org.apache.http

2016-10-17 Thread Hasitha Amal De Silva
Hi Sidath, True, but its supposed to be included within the android 22 sdk.. and I noticed that AndroidHttpClient should be included within the SDK itself. However after building this with the android 23 sdk with hidden APIs, the issue went away. Thanks On Mon, Oct 17, 2016 at 1:47 PM, Sidath W

Re: [Dev] [EMM Android Agent] Compile error - missing package org.apache.http

2016-10-17 Thread Sidath Weerasinghe
Hi Hasitha, I think you miss the dependency in the gradle. http://stackoverflow.com/questions/31433687/android-gradle-apache-httpclient-does-not-exist On Mon, Oct 17, 2016 at 1:32 PM, Hasitha Amal De Silva wrote: > Hi, > > While trying to build the APK for android agent at [1], I'm getting the

[Dev] [EMM Android Agent] Compile error - missing package org.apache.http

2016-10-17 Thread Hasitha Amal De Silva
Hi, While trying to build the APK for android agent at [1], I'm getting the following compile errors. .../iotserver/product-emm/modules/mobile-agents/android/client/volley/src/main/java/com/android/volley/toolbox/HttpStack.java Error:(22, 23) error: package org.apache.http does not exist .../iot

Re: [Dev] [EMM] Registry Exception thrown at EMM publisher/store login

2016-10-06 Thread Dinusha Senanayaka
This happens because two different products trying to share the same config registry and having conflicting resources. If products are deployed separately then we can mount config registry to different paths, but here EMM needs both features to be install in same product. One option would be to p

Re: [Dev] [EMM] Registry Exception thrown at EMM publisher/store login

2016-10-06 Thread Kamidu Punchihewa
Hi Sameera, This is a know issue with EMM 2.2.0-beta pack. You can track the progress of the issue by following the Jira ticket[1]. [1] https://wso2.org/jira/browse/EMM-1669 Thanks and Best Regards, Kamidu Sachith Punchihewa *Software Engineer* WSO2, Inc. lean . enterprise . middleware Mobile :

[Dev] [EMM] Registry Exception thrown at EMM publisher/store login

2016-10-06 Thread Sameera Gunarathne
Hi all, After login to the EMM app publisher/store we can see the following error: [2016-10-03 13:51:00,155] ERROR {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry} - Registry Exception occurred while executing the query org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid val

Re: [Dev] EMM 2.2.0 - Windows Phone : Device Location and Application List are now removed.

2016-10-06 Thread Harshan Liyanage
Hi Chamara, We did not support Device Location, Application List and Device-Info operation on Windows platform due to lack of support in Windows 8.1 MDM protocol. This feature has not been there since the first implementation of EMM 2.0.0 windows plugin. In EMM 2.0.0 we showed "Not Supported" mess

[Dev] EMM 2.2.0 - Windows Phone : Device Location and Application List are now removed.

2016-10-06 Thread Chamara Ariyarathne
https://wso2.org/jira/browse/EMM-1702 Due to this, most of the issues reported for Windows Device will be marked as Invalid. -- *Chamara Ariyarathne* WSO2 Inc; http://www.wso2.com/ Mobile; *+94772786766* ___ Dev mailing list Dev@wso2.org http://wso2.or

Re: [Dev] EMM - Alpha compatibility with MySQL 5.7

2016-09-12 Thread Prabath Abeysekera
The same has to be done in EMM as well (if not done yet). Cheers, Prabath On Mon, Sep 12, 2016 at 3:36 PM, Chamara Ariyarathne wrote: > There was an issue in the API Manager dbscripts for MySQL 5.7 like > "DEFAULT 0" parameter is not allowed for "TIMESTAMP" columns. The fix was > to add a separ

[Dev] EMM - Alpha compatibility with MySQL 5.7

2016-09-12 Thread Chamara Ariyarathne
There was an issue in the API Manager dbscripts for MySQL 5.7 like "DEFAULT 0" parameter is not allowed for "TIMESTAMP" columns. The fix was to add a separate set of scripts with this parameter removed. The fixes can be found in the jira; https://wso2.org/jira/browse/CARBON-15913 We will have to

Re: [Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Rasika Perera
Hi Harshan/Udara, Please find my inline comments. Isn't this similar to what we are trying to solve with secured helper with > permission?​ ​Yes. Only difference is we don't use a helper for this since it doesn't add much value in this case.​ Instead we are setting a flag at the Backend JavaScri

Re: [Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Harshan Liyanage
Hi all, AFAIK user-core already has a permission cache. So implementing another cache on session will be a just unnecessary optimization. Only performance issue will be the OSGi call to check the permission. I don't think that'll be a huge issue since it's a in-JVM call. My only concern is will th

Re: [Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Udara Rathnayake
On Thu, Sep 8, 2016 at 5:17 AM, Rasika Perera wrote: > Hi All, > > With the current migration of EMM webapp from UUF v0.1 to v0.2 (jaggery > based implementation) we are trying to standardize the permission check for > UI bits. We need to check permissions for “pages” level as well as granular >

Re: [Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Charitha Goonetilleke
Hi All, I have a concern with the '(1) Session based approach'. As per our Group implementation, grouping is depending on the permissions and roles. So when group is shared with a user, the particular sharing role will assigned to the user and then we need to manipulate UI bits for grouped device

Re: [Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Dilan Udara Ariyaratne
Hi Rasika, For third-party UIs expecting to use our web APIs, we will also have to expose an unprotected web API for login-time authentication and login authorization check. And when it comes to performance concerns, [1] Session based approach - "YES", in the session based approach we will have

[Dev] [EMM] WebApp Permission Handling at UI

2016-09-07 Thread Rasika Perera
Hi All, With the current migration of EMM webapp from UUF v0.1 to v0.2 (jaggery based implementation) we are trying to standardize the permission check for UI bits. We need to check permissions for “pages” level as well as granular to the “units” level. For example; show/hide a button based on UI

Re: [Dev] [EMM] Configurations to Enabling Dashboard Server Communication

2016-08-30 Thread Shavindri Dissanayake
Thank you, Dilan! Thanks & Regards Shavindri Dissanayake Technical Writer WSO2 Inc. lean.enterprise.middleware On Tue, Aug 30, 2016 at 1:03 PM, Dilan Udara Ariyaratne wrote: > Hi Shavindri, > > We are maintaining the sources for common widgets for both EMM and IoT > products in one carbon-app

Re: [Dev] [EMM] Configurations to Enabling Dashboard Server Communication

2016-08-30 Thread Dilan Udara Ariyaratne
Hi Shavindri, We are maintaining the sources for common widgets for both EMM and IoT products in one carbon-app and the sources for emm-specific widgets in another. In order to deploy all these widget related sources coming from two carbon-apps into the corresponding location of portal jaggery ap

[Dev] [EMM] Configurations to Enabling Dashboard Server Communication

2016-08-29 Thread Shavindri Dissanayake
Hi Team, Need your expertise to verify a few areas, as to why we have to configure the following for the $subject. - As documented [1] , we need to add th

Re: [Dev] EMM 2.1.0 startup error

2016-07-29 Thread Milan Perera
Hi Chathura, This is already fixed. Regards, On Fri, Jul 29, 2016 at 6:01 PM, Chathura Dilan wrote: > [+ Milan] > > Seems device-mgt-scopes.xml is missing > > On Fri, Jul 29, 2016 at 3:04 PM, Chamara Ariyarathne > wrote: > >> Hi all, >> >> I just built an EMM 2.1.0 locally and it gives the fo

Re: [Dev] [EMM] Move permission.mgt from device.mgt.core and device.mgt.common in carbon-device-mgt?

2016-07-21 Thread Prabath Abeysekera
Hi Milan, I believe, we should ideally review the implementation with IS folks and see if this can be made part of the identity components, so that others in the platform too can easily discover and re-use the same. Please do talk to the IS team and check if this is a possibility. Cheers, Prabath

Re: [Dev] [EMM] Move permission.mgt from device.mgt.core and device.mgt.common in carbon-device-mgt?

2016-07-21 Thread Milan Perera
Hi Prabath, Sure, I will check with the IS team. Regards, On Fri, Jul 22, 2016 at 11:16 AM, Prabath Abeysekera wrote: > Hi Milan, > > I believe, we should ideally review the implementation with IS folks and > see if this can be made part of the identity components, so that others in > the plat

Re: [Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Dilan Udara Ariyaratne
Hi Chamara, When it comes to EMM Monitoring Dashboard, we are not retrieving data from DAS. Instead, we use the data from our product databases themselves as our current monitoring use-cases only carry the use of snapshot data and not historical data. Regards, Dilan. *Dilan U. Ariyaratne* Senior

Re: [Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Hasunie Adikari
Hi Chamara, Publishing events[1] and Device Monitoring [2] are not related each other. Since Android agent is capable of sending out critical events to WSO2 DAS server, There are some configurations to enable in EMM server to publish events in DAS Server. Here [1] Managing Event publishing provide

Re: [Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Hasunie Adikari
When managing devices, administrator must be notified of events occurring on the user's devices that reduce the effectiveness and efficiency of the tasks performed by a device, so that He can take immediate action and correct it. For example, if a cooperate application is utilizing a high CPU or me

Re: [Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Chamara Ariyarathne
On Thu, Jul 21, 2016 at 6:05 PM, Hasunie Adikari wrote: > Hi Chamara, > > Publishing events[1] and Device Monitoring [2] are not related each other. > Since Android agent is capable of sending out critical events to WSO2 DAS > server, > What is the usage of this in a real world scenario? > T

[Dev] EMM 2.1.0 DAS integration and Device Monitoring

2016-07-21 Thread Chamara Ariyarathne
Hi all, How does the EMM DAS Integration [1] and Device Monitoring [2] relate to each other? Are we using the Stream definitions defined in DAS in [2] in the EMM dashboard in [1]. If so I cannot see the exact mapping of what goes into DAS and what is available in EMM Dashboard side. [1] https://

Re: [Dev] [EMM] "Mobile Signal Strength" attribute is not viewable in the UI

2016-07-15 Thread Prabath Abeysekera
The piece of code that should have ideally persisted mobile signal strength appears to have been commented out. No sign of it in the database schema shipped with the pack either. Folks, we need this fixed urgently. Created a L1 at [1]. [1] https://wso2.org/jira/browse/EMM-1470 Cheers, Prabath

Re: [Dev] [EMM] "Mobile Signal Strength" attribute is not viewable in the UI

2016-07-14 Thread Geeth Munasinghe
Hi Prabath, "Mobile Signal Strength" should go to the database if device is sending it according to [1] line 445 and 446. [1] https://github.com/wso2/carbon-device-mgt-plugins/blob/master/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2

[Dev] [EMM] "Mobile Signal Strength" attribute is not viewable in the UI

2016-07-14 Thread Prabath Abeysekera
Guys, Noticed $Subject while I was testing "device view" of an enrolled device. When I dug deep into the code, figured out that the retrieval of the "Mobile Signal Strength" attribute is commented out. No sign of it in the underlying database schema as well. Can someone explain the reason why thi

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-07-12 Thread Geeth Munasinghe
On Tue, Jul 12, 2016 at 7:11 AM, Madhawa Gunasekara wrote: > Hi All, > > Why can't we simply use 204 as status code for the No Content responses? > because according to the spec all the 2xx status codes are successful. > AFAIU We should use 204 for No Content responses. > AFAIK we send a empty j

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-07-12 Thread Manuranga Perera
204 is used if the file exist but it is an empty file. But in this case no such type exists at all. On Tue, Jul 12, 2016 at 10:11 AM, Madhawa Gunasekara wrote: > Hi All, > > Why can't we simply use 204 as status code for the No Content responses? > because according to the spec all the 2xx stat

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-07-12 Thread Madhawa Gunasekara
Hi All, Why can't we simply use 204 as status code for the No Content responses? because according to the spec all the 2xx status codes are successful. AFAIU We should use 204 for No Content responses. Thanks, Madhawa On Wed, Jun 15, 2016 at 7:40 PM, Manuranga Perera wrote: > Seems like the bi

Re: [Dev] [EMM][Android] Exception when executed hard lock operation

2016-06-15 Thread Kasun Dananjaya Delgolla
Hi All, This was due to an android rest-api issue when the agent replies with failure responses. (There was a logic in rest-api to pass response parameter directly to a Gson object to convert it to a specific object (ie : Location). This results in an exception when a string (error message) passed

[Dev] [EMM][Android] Exception when executed hard lock operation

2016-06-15 Thread Kasun Dananjaya Delgolla
Hi All, I got the $subject[1] when I did a hard lock. Hard lock worked fine but when the device replies to pending-operations endpoint with operation results, this occurs. Any idea? By the looks of it, when hard lock happens, the reply payload does not get built properly. Thanks [1] - D: [-1234]

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-15 Thread Manuranga Perera
Seems like the bigger issue here is that resource collection is not being a path parameter. /devices/type=android -> not ideal, there is no good way to distinguish non-existing types /devices/android -> seems to be more REST like On Wed, Jun 15, 2016 at 5:17 AM, Joseph Fonseka wrote: > Hi All

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-15 Thread Geeth Munasinghe
On Wed, Jun 15, 2016 at 10:11 AM, Ayyoob Hamza wrote: > I think that even though it is a single resource or a collection it should > not be handled differently. if there is no resource behind the URI then it > should be 404. > -1, AFAIK, it is an actual endpoint (URL) refers to a resource. (In ca

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-15 Thread Joseph Fonseka
Hi All In AM what we practice is that collection resource will return 200 Ok with an empty body ( empty array in JSON ) if the collection or query result is empty. IMO the key is 200 status denote the sent result is valid and you use the empty body to convey the collection / query result is empt

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Chathura Dilan
​Yes Take an API like /devices and if there are no records in it, return an empty array. In this case the collection there is empty but it does exist. So we cannot return 404 and use 200 instead. If it is an single resource like devices/{deviceId} and if it is not found return 404, because it does

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Ruwan Yatawara
However, as per the implementation, since what is drawn from '/devices' is a list of resources.. and not an individual device. I believe a 200 ok with an empty set is acceptable. Thanks and Regards, Ruwan Yatawara Associate Technical Lead, WSO2 Inc. email : ruw...@wso2.com mobile : +94 77 9110

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Ruwan Yatawara
In the devices example that's used, it is my opinion that the device that you are trying to locate is the resource, "/devices" is merely the context. Therefore if a resource cannot be located a 404 no content is acceptable. However, when looking at things from a AJAX request perspective, this kind

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Rasika Perera
> > For example, /devices/{device-id} is a URI. Hence, by the time client > makes a request for a non-existing device id, that results in a URI that > could not be found and returning a 404 for that is perfectly valid. ​+1 But if we take an example like this, /devices?type={platform}, here the UR

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Geeth Munasinghe
Hi all, I think we should make relevant changes in APIs to send 200 status code for no content responses. This should only be done if the request is with query or form params, but not for request with path parameters (Which is an exact resource, should return 404). Thanks Geeth *G. K. S. Munasi

Re: [Dev] [EMM] Why we are using 404 for "No Content" responses ?

2016-06-14 Thread Kamidu Punchihewa
Hi All, Agreed with Geeth and Harshan, When it come to the OOB User interface of EMM the request with an 404 is detect as an error and your is prompted with an error message since the error handling is handling in a Central controller witch acts in general so if there are no error occurred in the

Re: [Dev] Emm Alpha 2.1.0 first Build Errors Pls Help

2016-06-09 Thread Inosh Perera
Hi Caleb, You can download the alpha pack here[1]. [1]. https://github.com/wso2/product-emm/releases /download/v2.1.0-alpha/wso2emm-2.1.0-alpha.zip Regards, Inosh On Wed, Jun 8, 2016 at 11:42 PM, Darshana Gunawardana wrote: > Hi Caleb, > > Can you specify from where do you get the source? Are

Re: [Dev] Emm Alpha 2.1.0 first Build Errors Pls Help

2016-06-08 Thread Darshana Gunawardana
Hi Caleb, Can you specify from where do you get the source? Are you building from 2.1.0 alpha tag[1]? [1] https://github.com/wso2/product-emm/tree/v2.1.0-alpha Regards, On Wed, Jun 8, 2016 at 5:29 PM, First NameTangwe Caleb < tangweca...@yahoo.com> wrote: > I Downloaded the latest release Emm

[Dev] Emm Alpha 2.1.0 first Build Errors Pls Help

2016-06-08 Thread First NameTangwe Caleb
I Downloaded the latest release Emm Alpha 2.1.0 and on running build "mvn install" thats my error pls help [INFO] 33 errors[INFO] -[INFO] [INFO] Reactor Summary:

Re: [Dev] Emm Help

2016-06-06 Thread Milan Perera
Hi, Here are the list of repositories which you will need to build the product. 1. https://github.com/wso2/carbon-device-mgt 2. https://github.com/wso2/carbon-device-mgt-plugins 3. https://github.com/wso2/product-emm Please note that you will have to build these repositories in the given order.

[Dev] Emm Help

2016-06-06 Thread First NameTangwe Caleb
Good Day. I need Help on adding some operations to be caried out on an android platform I tweaked the Jaguery files to include what I want on the interface, I added what I wanted on the Feature table It works well in the Binary  1* I wanna know which repository I need to download so as to e

Re: [Dev] [EMM]

2016-05-28 Thread Tharindu Athukorala
Hi Milan, Thank you very much for the support. I will get back to you after trying this. Thank you again best regards On Sat, May 28, 2016 at 8:44 PM, Milan Perera wrote: > Hi Tharindu, > > AFAIK, Android SDK does not have a specific API to encrypt files or > derectories. However you'll be able

Re: [Dev] [EMM]

2016-05-28 Thread Milan Perera
Hi Tharindu, AFAIK, Android SDK does not have a specific API to encrypt files or derectories. However you'll be able to use native java cryptography APIs[1] to encrypt files and folder as suggested in [2]. [1] https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html

Re: [Dev] [EMM]

2016-05-28 Thread Tharindu Athukorala
Hi Milan, Thank you soo much for the reply. In our application we are trying find a solution for COPE (Corporate Owned Personally Enabled) devices. We thought to use SD cards and use that SD card to store corporate data and encrypt that SD card. Is there any possibility to do that using the androi

Re: [Dev] [EMM]

2016-05-28 Thread Milan Perera
Hi Tharindu, In WSO2 EMM, we have used the native Android encryption capability via a device policy manager [1] in order to encrypt the storage (only includes the internal storage). Once you have given the device administration privilege to the application, you will be able to invoke this function

[Dev] [EMM]

2016-05-28 Thread Tharindu Athukorala
Hi all, I'm Tharindu from SLIIT an undergraduate of cyber security. I'm trying to encrypt and decrypt files from the SD card using AES 256 in android for the research work. In WSO2 EMM system you have used a wrapper concept and can anyone tell me how this wrapper concept works and what is the encry

Re: [Dev] [EMM][iOS] Getting exceptions while installing iOS features

2016-05-18 Thread Geeth Munasinghe
Hi Kasun, This happens because iOS plugins includes both osgi bundles and a jax-rs web application. When the iOS feature is installed on EMM, all of those files are copied to relevant folders such as osgi bundles to repository/components/plungins and web-application to repository/deployment/serve

Re: [Dev] [EMM][iOS] Getting exceptions while installing iOS features

2016-05-17 Thread Kasun Dananjaya Delgolla
No. This happens only when installing the features. Thanks On Wed, May 18, 2016 at 12:03 PM, Inosh Perera wrote: > Hi Kasun, > > Does this issue continue even after the server is restarted after feature > installation? > > Regards, > Inosh > > On Wed, May 18, 2016 at 11:45 AM, Kasun Dananjaya D

Re: [Dev] [EMM][iOS] Getting exceptions while installing iOS features

2016-05-17 Thread Inosh Perera
Hi Kasun, Does this issue continue even after the server is restarted after feature installation? Regards, Inosh On Wed, May 18, 2016 at 11:45 AM, Kasun Dananjaya Delgolla wrote: > Hi All, > > $subject. Seems like it's missing some dependencies. > > org.springframework.beans.factory.BeanCreati

[Dev] [EMM][iOS] Getting exceptions while installing iOS features

2016-05-17 Thread Kasun Dananjaya Delgolla
Hi All, $subject. Seems like it's missing some dependencies. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enrollmentService': Cannot resolve reference to bean 'enrollmentServiceBean' while setting bean property 'serviceBeans' with key [0]; nested excepti

Re: [Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-12 Thread Saad Sahibjan
Hi All, I tried all the possible ways and nothing worked out. Then i deleted all my cloned directories (also from trash), uninstalled java and maven. Restarted my laptop and then i installed java, maven and cloned the repositories into a fresh location and started building and was all success. T

Re: [Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-11 Thread Niranjan Karunanandham
Hi Saad, As mentioned in [1], this is because the JVM is not trusting the certificates. I also faced this issue when I tried to build Carbon 5 in openjdk. Changing the 2 policy jars will not have any effect since the trust certificate are at /jre/lib/security/cacerts [2]. I replaced the trust keys

Re: [Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-11 Thread Saad Sahibjan
Hi, I tried solving the issue through downloading the JCE policy files from [1] and replacing it with the existing policy files in the path <$JAVA_HOME> /jre/lib/security Two policy files which were replaced are, 1. local_policy.jar 2. US_export_policy.jar But still was not able to solve the iss

Re: [Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-11 Thread Bhathiya Jayasekara
If you are using java 1.7_80, try downgrading to 1.7_79. Thanks, Bhathiya On Wed, May 11, 2016 at 10:12 PM, Saad Sahibjan wrote: > Hi, > > I;m trying to build product EMM. I have successfully built > 'carbon-device-mgt' and 'carbon-device-mgt-plugins'. But when building > 'product-emm', the bui

Re: [Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-11 Thread Aruna Karunarathna
Seems like a similar issue @dev in [1], can you check the solution given? [1]. [Dev] One or more certificates rejected Issue on product Build On Wed, May 11, 2016 at 10:12 PM, Saad Sahibjan wrote: > Hi, > > I;m trying to build product EMM. I have successfully built > 'carbon-device-mgt' and 'ca

[Dev] [EMM] Build failed due to one or more certificates rejected

2016-05-11 Thread Saad Sahibjan
Hi, I;m trying to build product EMM. I have successfully built 'carbon-device-mgt' and 'carbon-device-mgt-plugins'. But when building 'product-emm', the build fails. Maven version - 3.3.9 Java version - 1.7 I get the below exception. Trying to sort it out from a few days. Any idea about the issu

[Dev] [EMM] [Android] Shall we update the Client .apk of source repo?

2016-04-14 Thread Dilan Udara Ariyaratne
Hi Folks, (Adding KasunD, Milan) It seems that the android client .apk file of the product-emm source repo has not been updated for a while and the last update had been 4 months before. Since then, there have been so many updates to the agent source. But it seems that we have not updated the .apk

Re: [Dev] [EMM][AppM] Why APPM platform specific implementations are in mdm-admin JAX-RS?

2016-04-07 Thread Ruwan Abeykoon
Hi Kasun, Yes, I think this needs to be refactored to expose generic "Operation" in REST/OSGI API integration. Following are the things which can be improved IMO, 1. The operation info-set can be made extensible, so that we can add different application types without changing the API 2. Remove thes

[Dev] [EMM 2.1.0] [Device Analytics] Obtaining 'No-Passcode' & 'No-Encryption' states via Device Info

2016-04-07 Thread Dilan Udara Ariyaratne
Hi Folks, Is there currently any possibility of retrieving the following states via device-info capturing task of EMM for all mobile platforms, i.e. Android, iOS and Windows ? [1] No-Passcode state - This could carry the value of either true or false and express whether the device is currently ha

[Dev] [EMM][AppM] Why APPM platform specific implementations are in mdm-admin JAX-RS?

2016-04-07 Thread Kasun Dananjaya Delgolla
Hi All, While restructuring mdm-admin jax-rs to be in the core layer, I found out that several platform specific implementations are residing in mdm-admin jax-rs. All such implementations are related to AppM functionality (ex: MDMAndroidOperationUtil and MDMIOSOperationUtil classes). We know that

Re: [Dev] [EMM] Issues with PUT /mdm-android-agent/enrollment/{deviceId}

2016-03-31 Thread Milan Perera
Hi Harshan, Its true that for our use case we only change the ownership type and owner at the time of disenrol or re-enrollment of a device. However IMO, this API is used to modify enrollment. Hence if someone needs to change the enrollment info, it should be allowed. Also we currently update dev

Re: [Dev] [EMM] Clarifying the usage of fields in the get pagination details REST API output

2016-03-31 Thread Harshan Liyanage
Hi Prabath, Having two similar params confuses me also. However the JDataTable spec says that "recordsTotal" is total records before filtering and "recordsFiltered" is total records after applying the filter. However we have added that parameter because of the JDatatable expect that parameter. Co

Re: [Dev] [EMM] Clarifying the usage of fields in the get pagination details REST API output

2016-03-31 Thread Prabath Abeysekera
Hi Harshan, What does it mean to have an attribute named "recordsTotal" in the context of using some search criteria? Shouldn't both "recordsTotal" and "recordsFiltered" overlap? In addition, the resource URL used above does not seem to be compatible with REST-recommended standards. We'd have to

Re: [Dev] [EMM] Clarifying the usage of fields in the get pagination details REST API output

2016-03-31 Thread Harshan Liyanage
Hi Shavindri, "recordsTotal" field corresponds to the total matching records (before filtering) in the database whereas the "recordsFiltered" corresponds to the no of filtered records (after filtering). Ideally "recordsFiltered" value will be different from the "recordsTotal" value if you pass a f

[Dev] [EMM] Clarifying the usage of fields in the get pagination details REST API output

2016-03-31 Thread Shavindri Dissanayake
Hi, When you run the REST API command to get the paginated details (example [1]), the output given [2] has the *recordsFiltered* and *draw* fields. What do they stand for? *(recordsFiltered* seems to give the same information as *recordsTotal)* [1] curl -X GET -H "Content-Type: application/json"

Re: [Dev] [EMM][Android] OTA firmware upgrade support

2016-03-30 Thread Kasun Dananjaya Delgolla
Hi Gayan, Server get an ack when the process starts. But we can change status type at any point. OTA logic is done in a way that the update package gets deleted once the process is complete. So it's already handled. If the test passes the download process and goes to the verify state, that means t

Re: [Dev] [EMM][Android] OTA firmware upgrade support

2016-03-30 Thread Gayan Yalpathwala
Hi Kasun, Following problems were encountered while completing the OTA upgrade process. 03-30 22:50:16.534 12103-12116/org.wso2.emm.system.service E/OTA_SM: Update package file retrieval error.java.io.IOException: open failed: EACCES (Permission denied) - This was due to using /cache/update.zip a

Re: [Dev] [EMM][Android] OTA firmware upgrade support

2016-03-29 Thread Kasun Dananjaya Delgolla
Hi Gayan, Seems like OTA process downloads the firmware package. After this, did you see logs when the system app tries to trigger the build? Thanks On Tue, Mar 29, 2016 at 7:38 PM, Gayan Yalpathwala wrote: > Hi Kasun et al, > > I have implemented this operation and tested on a rooted device w

Re: [Dev] [EMM][Android] OTA firmware upgrade support

2016-03-29 Thread Gayan Yalpathwala
Hi Kasun et al, I have implemented this operation and tested on a rooted device with the system app in place. OTA Server = A file server which serves build.prop and the particular upgrade pack was used as the OTA server. These files need to be added under a sub-directory in the name of th

Re: [Dev] [EMM][AppM] Emm is sending all of its devices in a specific tenant when user's devices are needed.

2016-03-04 Thread Chathura Dilan
Hi Prabath, Thank you. I created a JIRA[1] for that. [1] - https://wso2.org/jira/browse/MDM-407 On Thu, Mar 3, 2016 at 6:53 PM, Prabath Abeysekera wrote: > Thanks for reporting. Please file a JIRA for us to keep track of it and > fix targeting the next immediate patch release of the product. >

Re: [Dev] [EMM][AppM] Emm is sending all of its devices in a specific tenant when user's devices are needed.

2016-03-03 Thread Prabath Abeysekera
Thanks for reporting. Please file a JIRA for us to keep track of it and fix targeting the next immediate patch release of the product. Cheers, Prabath On Friday, March 4, 2016, Chathura Dilan wrote: > Hi All, > > In AppM EMM integration from OSGI[1] (line 163). I can see EMM retrieve > all of i

[Dev] [EMM][AppM] Emm is sending all of its devices in a specific tenant when user's devices are needed.

2016-03-03 Thread Chathura Dilan
Hi All, In AppM EMM integration from OSGI[1] (line 163). I can see EMM retrieve all of its devices and send it to AppM when user's devices are needed. This should be filtered to get only users devices by AppM, not all devices which is in the tenant. [1] - https://github.com/wso2/product-mdm/blo

Re: [Dev] [EMM][APPM]How to call from emm jaggery apps to publisher jaggery apps

2016-02-24 Thread Udara Rathnayake
Out of $subject, but try not to hardcode application name(eg:- publisher). Users tend to rename applications etc.. read it from a config at least, so we have only one place to update. On Wed, Feb 24, 2016 at 11:04 AM, Lakshman Udayakantha wrote: > Hi, > > I have called using below code snippet a

Re: [Dev] [EMM][APPM]How to call from emm jaggery apps to publisher jaggery apps

2016-02-24 Thread Sajith Abeywardhana
Hi Laksman, It seems API url is wrong. It should be "/publisher/api/asset/get/uuid/mobileapp/"+provider+"/"+name+"/"+version; instead of "/publisher/api/asset/get/uuid/mobileapp"+provider+"/"+name+"/"+version; *API code for your reference. * //get uuid of given asset for-> provider,name,versio

[Dev] [EMM][APPM]How to call from emm jaggery apps to publisher jaggery apps

2016-02-24 Thread Lakshman Udayakantha
Hi, I have called using below code snippet a store rest API. var serviceURL = "/publisher/api/asset/get/uuid/mobileapp"+provider+"/"+name+"/"+version; invokerUtil.get( serviceURL, function (data) { console.log("call succeeded...!"); }, function (data) {

Re: [Dev] [EMM]Release progress update EMM 2.0.1

2016-02-19 Thread Kamidu Punchihewa
Hi, Due to the complications listed below emm 2.0.1 release will be delayed. - On Going Testing. - Testing are in progress of EMM cluster fronted by API Manager gateway. - Bugs in depending product which effect emm 2.0.1 in a critical level. - WSO2 App Manager - Permission re

Re: [Dev] [EMM]Release progress update EMM 2.0.1

2016-02-16 Thread Kamidu Punchihewa
Hi, Current Progress Updates On the EMM 2.0.1 RC1 is given below. Due to the latest changes EMM 2.0.1 needs to inherit from the UI Markups in order to archive some UX improvements the development for the jiras to be completed had become more complicated than anticipated. we are planning to relea

[Dev] [EMM]Release progress update EMM 2.0.1

2016-01-31 Thread Kamidu Punchihewa
Hi, Currently we are planning to release EMM 2.0.1-RC1 on the 12th of February. This release will include fixes and enhancements in the following components.9 - UI/UX enhancements in User interface. - Known Issues in Mobile Application Management. - Known Issues in CDMF. The Progress i

Re: [Dev] [EMM] Exception occurs when signing out of store and publisher

2016-01-28 Thread Harshan Liyanage
Hi Sinthuja, I have tested EMM with jaggery v 0.12.1-SNAPSHOT version. It is working fine. Could you please release that branch? Thanks, Harshan Liyanage Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com

[Dev] [EMM] Exception occurs when signing out of store and publisher

2016-01-28 Thread Harshan Liyanage
Hi all, We are getting the following exception when signing out from store and publisher. We are using jaggery v 0.12.0 in EMM pack. According to the offline chat I had with Manu, he said that this issue has fixed but it was not included in jaggery v 0.12.0. This issue is a blocker [1] for EMM 2.0

Re: [Dev] [EMM] Exception when installing ios p2-repository in EMM

2015-12-04 Thread Chamara Ariyarathne
In the above issue a CNF occurs while installing iOS features because the feature installation itself deploys the webapp which needs the features being installed. This is explained in the last comment by Geeth. https://wso2.org/jira/browse/EMM-1039 What are the possible solutions we have in the c

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-12-02 Thread Selvaratnam Uthaiyashankar
Hi Geeth, read the mail again.. How can we resolve the feature as done-done without testing with clustering? How did we release alpha without testing in clustering? What do you mean by "we have not been able to do it before"? What stopped us from doing cluster testing? Isn't EMM designed with clus

Re: [Dev] [EMM] Doubt on Server Url to be taken from carbon.xml HostName value or some other configuration.

2015-12-02 Thread Geeth Munasinghe
Hi Shankar, We are currently testing with cluster set up as we have not been able to do it before, and will release the next version with the clustering guide too. Thanks Geeth *G. K. S. Munasinghe* *Senior Software Engineer,* *WSO2, Inc. http://wso2.com * *lean.enterprise.mi

  1   2   3   4   >