Re: [Dev] File Uploading using a REST service (JAX-RS) - Uploaded file contains empty content.

2015-05-07 Thread Supun Sethunga
[looping Ruchira] On Fri, Apr 24, 2015 at 10:44 AM, Supun Sethunga sup...@wso2.com wrote: Hi Malith, It gives the same result. Thanks, Supun On Fri, Apr 24, 2015 at 10:41 AM, Malith Munasinghe mali...@wso2.com wrote: Links for the above [1]

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-05-07 Thread Niranda Perera
thanks Maheshika On Thu, May 7, 2015 at 12:01 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Kasun Both were deployed successfully. On Tue, May 5, 2015 at 6:54 PM, KasunG Gajasinghe kas...@wso2.com wrote: Hi Niranda, Released the following orbit bundles. (finally! ;) )

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-05-07 Thread Maheshika Goonetilleke
Hi Kasun Both were deployed successfully. On Tue, May 5, 2015 at 6:54 PM, KasunG Gajasinghe kas...@wso2.com wrote: Hi Niranda, Released the following orbit bundles. (finally! ;) ) spark-core_2.10 spark-sql_2.10 @Maheshika, can you release these two orbit bundles. Please make sure to

Re: [Dev] [CDMF] Connect IOT Devices with CDMF

2015-05-07 Thread Milan Perera
Hi Ayyoob, In order to enroll and manage devices, first you have to create a plugin (OSGI service) which should contain the device specific operations, policies and etc. Then you can register that plugin in the core[1]. So then you will have to implement JAX-RS service that should communicate

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-05-07 Thread Krishantha Samaraweera
Hi Waruna, I don't think we have enabled ActiveMQ broker for MQTT. Can you check whether MQTT endpoint is exposed. And any workaround to get it started. The version we used is 5.9.1 and it should support for MQTT. Thanks, Krishantha. On Tue, May 5, 2015 at 6:29 PM, Mohanadarshan

Re: [Dev] Integration test Error

2015-05-07 Thread Vanii Thiyagarajah
Hi Chanaka, I have already enabled in axis2.xml the https transport as you mentioned. But I got this error. thank you On Thu, May 7, 2015 at 9:28 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Vanii, According to the error message, axis2.xml file does not have the https transport

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-05-07 Thread Waruna Perera
HI Krishantha, Will check on that. Thanks, On Thu, May 7, 2015 at 11:54 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Waruna, I don't think we have enabled ActiveMQ broker for MQTT. Can you check whether MQTT endpoint is exposed. And any workaround to get it started. The

Re: [Dev] File Uploading using a REST service (JAX-RS) - Uploaded file contains empty content.

2015-05-07 Thread Ruchira Wageesha
Hi Supun, First of all it has nothing to do with Jaggery. i.e. Jaggery is a server side framework and what you do here is sending a file from your browser to a JAX-RS backend. When you upload binaries from a browser, most probably you will have to post it with multipart content type. For that,

Re: [Dev] File Uploading using a REST service (JAX-RS) - Uploaded file contains empty content.

2015-05-07 Thread Supun Sethunga
Hi Ruchira, Thanks for the quick response. The reason for going for JavaScript was, the backend is secured with Basic Auth, and AFAIK there is no way to set security headers to the html form submission request. Will try out the suggested libraries. Thanks, Supun On Thu, May 7, 2015 at 12:08

Re: [Dev] [Carbon][AppM] Calling OSGi service in Jaggery gives a NullPointerException

2015-05-07 Thread Sajith Ariyarathna
I tried different approaches with org.wso2.carbon.user.api.UserStoreManager OSGi service, however I couldn't overcome the NullPointerException. I think one must initialize the UserStoreManager service before using it, but couldn't find an initializing method. *Solution:* Instead of using

Re: [Dev] According to iOS 8 we need an SSL cert for app download

2015-05-07 Thread Prabath Abeysekera
Guys, Let's please get this tested and verified soon. And also have this added to the documentation, as part of the deployment guide, for better visibility. Cheers, Prabath On Thu, May 7, 2015 at 2:44 PM, Inosh Perera ino...@wso2.com wrote: Hi Chan, If this is true, it only means that in

[Dev] [CDMF] Connect IOT Devices with CDMF

2015-05-07 Thread Ayyoob Hamza
Hi all, We are intending to enroll and manage iot devices with the cdmf. For this purpose we couldn't find a web service that could perform this task on[1].Therefore we thought of creating a patch to expose a secured JAX-RS service with basic authentication for device management. What are your

Re: [Dev] Clarification on Key validator and Key manager server profiles.

2015-05-07 Thread Amila De Silva
Hi Sewmini, KeyManager configuration will be mainly used when integrating with a Third Party Authorization Server. Configuration specific to the external Authorization Server can be provided under KeyManager section. This is explained in doc link available at [1]. When clustering, you should

Re: [Dev] [CDMF] Connect IOT Devices with CDMF

2015-05-07 Thread Ayyoob Hamza
Thanks for the info Milan *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 %2B94%2077%207779495 On Thu, May 7, 2015 at 12:39 PM, Milan Perera mi...@wso2.com wrote: Hi Ayyoob, In order to enroll and manage devices, first you have to

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-05-07 Thread Jayanga Dissanayake
Hi SupunS, We reviewed the PR and found some issues in it. 1. all groupIds are not in the correct format 2. in import package section you have used *;resolution:=optional which is not recommended. 3. Export-Package section of breeze_2.10, it has some conflicting package name entries Please

Re: [Dev] ML expects first row of a dataset to be the header row

2015-05-07 Thread CD Athuraliya
Attaching created JIRA [1]. [1] https://wso2.org/jira/browse/ML-15 On Thu, May 7, 2015 at 10:00 AM, Nirmal Fernando nir...@wso2.com wrote: Ok, got it! Thanks :-) We'll add an option then. On Thu, May 7, 2015 at 9:52 AM, Upul Bandara u...@wso2.com wrote: I'm sorry my bad! We have to tell,

Re: [Dev] API manager alpha release updates

2015-05-07 Thread Ushani Balasooriya
HI, Can you please share the latest P2? Current P2 has only APIM 1.8.0 features and can we use that to test new features? On Thu, Apr 30, 2015 at 1:07 PM, Sewmini Jayaweera sewm...@wso2.com wrote: Hi all, I have paused API manager testing and started setting up API manager cluster. Thanks

[Dev] Please merge PR

2015-05-07 Thread Supun Malinga
Hi, $subject for [1]. [1] https://github.com/wso2/carbon-identity/pull/265 thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com sup...@wso2.com mobile: +94 (0)71 56 91 321 ___ Dev mailing list

Re: [Dev] Implement a WS-Addressing and MTOM validation framework

2015-05-07 Thread Isuru Ranawaka
Hi Naasheer , What is the progress of this ? On Fri, May 1, 2015 at 10:15 AM, Isuru Ranawaka isu...@wso2.com wrote: Hi Naasheer, Did you able to identify use cases of the MTOM validation scenarios .Some interesting video can be found here [1]. -As first step try to understand difference

[Dev] [GSoC-2015] Data Wrangler extension for WSO2 Machine Learner

2015-05-07 Thread Danula Eranjith
Hi all, Thank you for selecting my proposal [1] https://docs.google.com/document/d/18NFa23CrhXqnHrkl_AuRz3sQ3Axg7SEmiA7l66Hl9_0/edit?usp=sharing for GSoC 2015. I am really looking forward to work with you all and contribute to WSO2. I have already completed my primary research on wrangler and

Re: [Dev] ESB JAVA-2834 Issue fixing

2015-05-07 Thread Sriashalya Srivathsan
I have done with the issue, Please find the pull request bellow[1]. [1]https://github.com/wso2/wso2-synapse/pull/180 On Fri, May 8, 2015 at 10:52 AM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi I'm doing the ESB $ Jira Issue. I've reproduced the issue by using following proxy target

Re: [Dev] [BPS][Carbon] A way to delay shutdown of hazelcast instance at server shutdown

2015-05-07 Thread Indika Sampath
Hi Vinod, Add following property to hazelcast.properties file. This will stop calling shutdown hook of hazelcast when you hit Ctrl+C. hazelcast.shutdownhook.enabled=false Cheers! On Thu, May 7, 2015 at 8:58 PM, Vinod Kavinda vi...@wso2.com wrote: Hi all, I'm working on the issue [1]

[Dev] ESB JAVA-2834 Issue fixing

2015-05-07 Thread Sriashalya Srivathsan
Hi I'm doing the ESB $ Jira Issue. I've reproduced the issue by using following proxy target inSequence log separator=\n property name=value1 value=hello/ property name=value2 value=hai/ /log respond/ /inSequence outSequence log/ send/ /outSequence /target -- Regards S.Sriashalya, Associate

Re: [Dev] ESB JAVA-2834 Issue fixing

2015-05-07 Thread Malaka Silva
Hi Sriashalya, Code does not seems to be formatted properly. Also send the pull requests to develop branch. On Fri, May 8, 2015 at 11:06 AM, Sriashalya Srivathsan asha...@wso2.com wrote: I have done with the issue, Please find the pull request bellow[1].

Re: [Dev] [DSS] Changing response format in a data service

2015-05-07 Thread Madhawa Gunasekara
Adding Rajith and Anjana On Fri, May 8, 2015 at 7:57 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi Kasun, Is your stored procedure gives only one contact person every time? if it is only one person, then I don't think it will be a bad practice. Regards On Fri, May 8, 2015 at 1:55

Re: [Dev] [DSS] Changing response format in a data service

2015-05-07 Thread Madhawa Gunasekara
Hi Kasun, Is your stored procedure gives only one contact person every time? if it is only one person, then I don't think it will be a bad practice. Regards On Fri, May 8, 2015 at 1:55 AM, Kasun De Silva kas...@wso2.com wrote: Hi Devs, Say I have a DSS service as follows, data

Re: [Dev] [BPS][Carbon] A way to delay shutdown of hazelcast instance at server shutdown

2015-05-07 Thread Shashika Karunatilaka
HI Vinod, AFAIK you have to implement [1] in BPS to handle these scenario in server shutdown. [1] https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/ServerShutdownHandler.java Thank you. On Thu, May 7, 2015 at 8:58 PM, Vinod Kavinda

Re: [Dev] [Private Pass] Configurator component (bash) for configuring a given Carbon server

2015-05-07 Thread Anuruddha Liyanarachchi
Hi Devs, Please find the new architecture of Configurator. *Templates-* Contains templates for each wso2 product and configs.ini in the below structure. templates └── AppServer ├── conf │ ├── axis2 │ │ └── axis2.jinja │ ├── carbon.jinja │ └── tomcat │

Re: [Dev] [CDMF] Connect IOT Devices with CDMF

2015-05-07 Thread Ayyoob Hamza
Thanks Dulitha, I will look into it and let you know Regards, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 %2B94%2077%207779495 On Fri, May 8, 2015 at 7:36 AM, Dulitha Wijewantha duli...@wso2.com wrote: Hi Ayyob, So below are the

Re: [Dev] [CDMF] Connect IOT Devices with CDMF

2015-05-07 Thread Dulitha Wijewantha
Hi Ayyob, So below are the things you need to do to get things started - - You'll have to write an IoT device-mgt plugin - https://github.com/wso2/carbon-device-mgt-plugins - You'll need to write a JAX-RS layer where the IOT agent communicates - I started some work on a python based

[Dev] Utilizing JAX-RS services without rewriting APIs in the jaggery app

2015-05-07 Thread Dulitha Wijewantha
Hi guys, This has been a long-standing argument which we couldn't conclude. I will take Policy-Mgt as an example to explain the problem. There is a front-end UI that gives the feature to add a policy to the system. This UI will call an HTTP endpoint using Ajax. The question is regarding the

[Dev] Sending mails to OpenIDConnect mail list

2015-05-07 Thread Hasanthi Purnima Dissanayake
hi all, I have subscribed to the openID Connect mail list and I got subscription successful mail form them too. I am receiving their mails but the problem is I can't send mails to the thread. Once I sent a mail to the thread, I'm getting an auto generated mail by mentioning the mail awaits

Re: [Dev] [Carbon][AppM] Calling OSGi service in Jaggery gives a NullPointerException

2015-05-07 Thread Shani Ranasinghe
Hi, I think you can use the method described in the jaggery docs [1] as well. Also this does not include the getUserListOfRole method, but I see that GayanD has done the changes for it[2]. [1] http://jaggeryjs.org/documentation.jag?api=UserManager [2] [Dev] [Jaggery] Adding getUserListOfRole to

[Dev] Why is the activate method of an OSGi bundle called more than once?

2015-05-07 Thread Bhathiya Jayasekara
Hi all, I'm facing this situation where the activate method of an OSGi bundle[1] is called many times. As you can see in below OSGi console output, the service, that the bundle exposes, is also registered many times. What should be the reason for this strange behavior? osgi ss forum Framework is

Re: [Dev] Why is the activate method of an OSGi bundle called more than once?

2015-05-07 Thread Sinthuja Ragendran
Hi, AFAIR this happens if any uncaught exception thrown during the bundle activate method. Try to catch with throwable and see whether you are getting any sort of runtime exceptions. Thanks, Sinthuja On Thu, May 7, 2015 at 6:59 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, I'm

Re: [Dev] Integration test Error

2015-05-07 Thread Amalka Subasinghe
What is the test framework you are using? On Thu, May 7, 2015 at 2:45 PM, Vanii Thiyagarajah va...@wso2.com wrote: Hi Chanaka, I have already enabled in axis2.xml the https transport as you mentioned. But I got this error. thank you On Thu, May 7, 2015 at 9:28 AM, Chanaka Fernando

[Dev] [DSS] Changing response format in a data service

2015-05-07 Thread Kasun De Silva
Hi Devs, Say I have a DSS service as follows, data name=EPAGetContactPersonDS serviceNamespace= services.info.epa.mydeq.azdeq.gov config id=MyDeqAzuriteDS property name=carbon_datasource_nameMyDeqAzuriteDS/property /config query id=getContactPerson useConfig=MyDeqAzuriteDS

Re: [Dev] Why is the activate method of an OSGi bundle called more than once?

2015-05-07 Thread Mahesh Chinthaka
Hi Bhathiya, I came across similar kind of a issue and found out that it was due to some missing constraints( some dependancy jars were missing, actually they were unavailable in osgi environment). Therefore this particular osgi bundle's activation gets failed and it retries. You can find the

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-05-07 Thread Mohanadarshan Vivekanandalingam
Thanks Krishantha... @Waruna, please let us know if you found any option.. Thanks, Mohan On Thu, May 7, 2015 at 11:57 AM, Waruna Perera waru...@wso2.com wrote: HI Krishantha, Will check on that. Thanks, On Thu, May 7, 2015 at 11:54 AM, Krishantha Samaraweera krishan...@wso2.com

[Dev] Clarification on Key validator and Key manager server profiles.

2015-05-07 Thread Sewmini Jayaweera
Hi All, As per the offline discussion, Key validator server profile is acting as Key manager when there is no third party Auth server is used. In the API Manager 1.9.0 pack AM_HOME/repository/conf/api-manager.xml Key validator is enabled and Key manager is being commented out by default. 1. Is

[Dev] hector version upgrade from hector-core 1.1.4.wso2v1 to hector-core 2.0-.0

2015-05-07 Thread Indika Sampath
Hi All, We plan to upgrade hector version from hector-core 1.1.4.wso2v1 to hector-core 2.0-0 to support Java version 8. hector-core 2.0-0 required following dependencies. libthrift version 0.9.1 cassandra-thrift 2.0.12 We need to upgrade above dependencies also. Above dependencies currently

Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-05-07 Thread Supun Sethunga
Hi Kasun/Sameera Can you please review and merge the PR [1]. This upgrades the spark-mllib and spark-streaming versions to 1.3.0 (for ML), with parallel to the spark-core version upgrade in BAM. [1] https://github.com/wso2/orbit/pull/87 Thanks, Supun On Thu, May 7, 2015 at 12:02 PM, Niranda