[Dev] [ESB]Blocking option of Call mediator

2016-03-31 Thread Dilshani Subasinghe
Hi ESB team, In call mediator, there is a separate option called "Blocking". AFAIK call mediator having default functionality of blocking mediation. What will be the different behavior can have through Enabling Blocking rather than in-built blocking feature ? Even though Blocking disabled, it

Re: [Dev] [IS] Cannot deploy a BPEL with BPELUploader service after upgrading kernel, registry, business process versions

2016-03-31 Thread Malithi Edirisinghe
On Fri, Apr 1, 2016 at 9:37 AM, Darshana Gunawardana wrote: > > > On Friday, 1 April 2016, Malithi Edirisinghe wrote: > >> Hi All, >> >> Seems we should not rely on system properties and expect the SSL >> communication to happen. As it seems when the

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

Re: [Dev] [IS] Cannot deploy a BPEL with BPELUploader service after upgrading kernel, registry, business process versions

2016-03-31 Thread Darshana Gunawardana
On Friday, 1 April 2016, Malithi Edirisinghe wrote: > Hi All, > > Seems we should not rely on system properties and expect the SSL > communication to happen. As it seems when the default SSLContext is being > initialized it reads the 'javax.net.ssl.keyStore' property and >

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.

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

Re: [Dev] Exception Handing Among JavaScript - Jaggery - Java

2016-03-31 Thread Samith Dassanayake
Hi Samitha, If you want to log the full stacktrace in jaggery, you can log it like below. log.error(e) //print the stacktrace log.error('My error message') //print the message (If you are using the latest jaggery release, it supports logging both the message and the exception

Re: [Dev] [IS] Cannot deploy a BPEL with BPELUploader service after upgrading kernel, registry, business process versions

2016-03-31 Thread Malithi Edirisinghe
Hi All, Seems we should not rely on system properties and expect the SSL communication to happen. As it seems when the default SSLContext is being initialized it reads the 'javax.net.ssl.keyStore' property and initializes the key manager. If no property found it will initialize an empty keystore.

[Dev] Kubernetes (and Openshift) modules

2016-03-31 Thread Ramon Gordillo
Hi. After doing some research and test on the puppet modules and dockerfiles with WSO2 API Management, I have some thoughts to share on this list. The initial idea for using puppet for configuring the dockerfiles seems great. It provides a lot of flexibility, and the ruby templates are easy

Re: [Dev] [Test Automation] Mocking Thrift server for an integration test

2016-03-31 Thread Kalpa Welivitigoda
Hi Lasantha, I am using the ThriftTestServer [1] you have mentioned to write a test in AS 6.0.0. The idea is data is published to the thrift server form the HTTP statistics publishing valve and in the test case I am using the ThriftDataReceiver to very the published data. When I try the test

Re: [Dev] [BPS] Invoking REST api via BPMN Service Task gives an error

2016-03-31 Thread Amal Gunatilake
Hi Amalka, It seems like according to the current RESTTask implementation[1], it only supports GET and POST methods and it doesn't support PUT method for REST service invoke. As a workaround, you could implement a custom java service task similar to RESTTask implementation that supports rest of

Re: [Dev] [IS] Cannot deploy a BPEL with BPELUploader service after upgrading kernel, registry, business process versions

2016-03-31 Thread Malithi Edirisinghe
Hi All, Mutual SSL worked when I start up the server by setting the key store and key store password as system properties explicitly. sh wso2server.sh -Djavax.net.debug=ssl:handshake:verbose -debug 5005

[Dev] [BPS] Invoking REST api via BPMN Service Task gives an error

2016-03-31 Thread Amalka Subasinghe
Hi, $subject [1] When I invoke the same api via rest client - it works Configurations: [1] TID: [-1234] [] [2016-03-31 11:25:37,925] ERROR

Re: [Dev] IoTS-1.0.0-M4 Build order

2016-03-31 Thread Charitha Goonetilleke
Hi All, We have moved to master branches of carbon-device-mgt and carbon-device-mgt-plugins. Please follow this build order to build IoT Server product. 1. https://github.com/wso2-incubator/uuf-template-app *branch:IoTS-1.0.0-M4* 2.

Re: [Dev] Exception Handing Among JavaScript - Jaggery - Java

2016-03-31 Thread Samitha Chathuranga
Hi Praminda, Thanks for the suggestion. That approach seems suitable here. Regards. On Thu, Mar 31, 2016 at 10:33 AM, Praminda Jayawardana wrote: > Hi Samitha, > > LBYL(Look Bfore You Leap) and EAFP(Easier to Ask Forgiveness than > Permission) is the two ways used to error

Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-31 Thread Mahesh Dananjaya
Hi Maheshakya, Google have accepted my proof of enrollment. So do i need to proceed further with the project?t. I have been working with the Spark MLLib and trying to implement those two algorithms. Can you please tell me what is the next step i want to do.do i need to wait?thank you. regards,

[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:

Re: [Dev] [Taxonomy] Update styles for a tree view

2016-03-31 Thread Dakshika Jayathilaka
Hi all, Seems we can write our own theme for this.[1][2] Shall we try to write a theme using CSS. [1] https://groups.google.com/forum/#!searchin/jstree/replace$20images/jstree/iLQu0AYSuCE/Tudnd9LVQLEJ [2]

Re: [Dev] [Taxonomy] Update styles for a tree view

2016-03-31 Thread Jerad Rutnam
Hi Chanaka, Shall we check if there is any other library for the requirement? I think its better if we double check. And I believe its possible to style the dotted lines etc ... You can get an idea from the treeview in Theme WSO2 [2]. And if we need any additional icons we can add to Font WSO2

Re: [Dev] [DEV] [PET] Error with empty response body with application/json Content-Type in ESB 5.0.0-M2

2016-03-31 Thread Malaka Silva
Seems like a fix is available with [1]. Increased the priority. [1] https://wso2.org/jira/browse/ESBJAVA-4137 On Thu, Mar 31, 2016 at 11:55 AM, Malaka Silva wrote: > Seems like a fix is available with [1]. Increased the priority. > > [1]

Re: [Dev] [DEV] [PET] Error with empty response body with application/json Content-Type in ESB 5.0.0-M2

2016-03-31 Thread Malaka Silva
Seems like a fix is available with [1]. Increased the priority. [1] https://wso2.org/jira/browse/ESBJAVA-4137 On Thu, Mar 31, 2016 at 11:39 AM, Kalyani Yogeswaranathan wrote: > Hi All, > > I am currently working on redmine connector improvement. For that when we > get empty

[Dev] [DEV] [PET] Error with empty response body with application/json Content-Type in ESB 5.0.0-M2

2016-03-31 Thread Kalyani Yogeswaranathan
Hi All, I am currently working on redmine connector improvement. For that when we get empty response body from API, it's returning error as below. For example, response from the API for the delete method if it is deleted - 200 OK if it is not exist - 404 not found we are getting status code