Re: [Dev] JSON script mediator issue

2015-03-23 Thread Ishan Jayawardena
What are the builder and formatter that you have registered? On Tue, Mar 24, 2015 at 12:17 PM, Vijayaratha Vijayasingam wrote: > Hi Ishan; > I tried following json line[1] in APIM 1..80 > But im getting following error; > > My request is a valid json as mentioned below; > > { > "company_uui":"xx

Re: [Dev] Using Clone Mediator with payload factory

2015-03-23 Thread Vijayaratha Vijayasingam
Hi Malaka; May I know, why the endpoint conf within mediator didn't work as expected? Thanks. On 23 March 2015 at 08:56, Sam Sivayogam wrote: > Hi All, > > Thanks a lot guys for the Replies. > > @Malaka as you said Placing the end point inside a send mediator worked :) > . > > Regards, > Sam >

[Dev] JSON script mediator issue

2015-03-23 Thread Vijayaratha Vijayasingam
Hi Ishan; I tried following json line[1] in APIM 1..80 But im getting following error; My request is a valid json as mentioned below; { "company_uui":"xxx", "name": "Y" } Why script mediator could not extract 'name' from the incoming json payload? [1]var name= *mc.getPayloadJSON().name.toS

Re: [Dev] RabbitMQ AMQP Transport for WSO2 ESB

2015-03-23 Thread Ishan Jayawardena
Eranda, please schedule one for tomorrow. Thanks, Ishan. On Tue, Mar 24, 2015 at 11:57 AM, Eranda Rajapakshe wrote: > Hi, > > I have finished the implementation. Right now completing the tests and its > good if I can have a code review soon. > > Thank you! > > On Tue, Mar 24, 2015 at 10:45 AM,

Re: [Dev] RabbitMQ AMQP Transport for WSO2 ESB

2015-03-23 Thread Eranda Rajapakshe
Hi, I have finished the implementation. Right now completing the tests and its good if I can have a code review soon. Thank you! On Tue, Mar 24, 2015 at 10:45 AM, Chanaka Fernando wrote: > Hi Eranda, > > Could you please give an update on the status of this implementation? We > are currently p

[Dev] Granting permission per method in an Admin Service

2015-03-23 Thread Pubudu Dodangoda
Is it possible to do $Subject by editing the services.xml file? I think adding something similar to follows should do. But I have no idea about the elements and the attributes in the following xml code section /permission/admin/manage/event-streams Can someone explain the abo

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Vanjikumaran Sivajothy
Great. Please make sure that you utilize 4.9.0-M7-SNAPSHOT.zip On Tue, Mar 24, 2015 at 11:50 AM, Sriashalya Srivathsan wrote: > Hi , > It is working with 4.9.0-M7-SNAPSHOT.zip ,problem with M4.Thank you vanji > > On Tue, Mar 24, 2015 at 11:34 AM, Sriashalya Srivathsan > wrote: > >> Hi Shakila

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Sriashalya Srivathsan
Hi , It is working with 4.9.0-M7-SNAPSHOT.zip ,problem with M4.Thank you vanji On Tue, Mar 24, 2015 at 11:34 AM, Sriashalya Srivathsan wrote: > Hi Shakila, > It is working fine with ESB 4.8.1 but I need ESB 4.9.0 to run the methods > > > > Thank you, > > On Tue, Mar 24, 2015 at 11:27 AM, Shakila

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Sriashalya Srivathsan
Hi Shakila, It is working fine with ESB 4.8.1 but I need ESB 4.9.0 to run the methods Thank you, On Tue, Mar 24, 2015 at 11:27 AM, Shakila Sivagnanarajah wrote: > Hi, > > This is caused with ESB 4.9.0 M7 and works fine with ESB 4.8.1. > > On Tue, Mar 24, 2015 at 11:05 AM, Vanjikumaran Sivajot

Re: [Dev] [ES][Greg] Adding Custom Attributes on RXT UI fields

2015-03-23 Thread Rasika Perera
Hi Sameera & all, +1 for the information on schema validation failure. I am using ES 1.0.0. I tried adding a custom property on "fieldProperty" array on ".json" file but didn't work. And Also didn't get any error on the console log. myAsset.rxt === /myassets/@{overview_provider}/@{overview

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Shakila Sivagnanarajah
Hi, This is caused with ESB 4.9.0 M7 and works fine with ESB 4.8.1. On Tue, Mar 24, 2015 at 11:05 AM, Vanjikumaran Sivajothy wrote: > Since ESB 490 M7 is released by ESB team. Can you please work on that? > > On Tue, Mar 24, 2015 at 10:05 AM, Sriashalya Srivathsan > wrote: > >> Hi >> I have en

Re: [Dev] Proposal for Data Wrangler extension for WSO2 Machine Learner

2015-03-23 Thread Nirmal Fernando
Tharinda, please start creating the proposal in Melage and submit it once you attended to the given feedback. Thanks. On Mon, Mar 23, 2015 at 7:53 PM, Nirmal Fernando wrote: > Please try out the M1 release for a better understanding on the back-end: > https://github.com/wso2/product-ml/releases

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-23 Thread Nirmal Fernando
Hi Madawa, Proposal looks good. Please start creating it in Melange and submit it. On Mon, Mar 23, 2015 at 7:53 PM, Madawa Soysa wrote: > I will try this out. Thanks. > > > > > On 23 March 2015 at 19:50, Nirmal Fernando wrote: > >> Please try out the M1 release for a better understanding on th

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Naasheer Ali
Hi Ashalya, Please check that there is a folder named aar with zip files in your test case. (go to this path and check connector_home/src/test/resources/artifacts/AXIS2/aar) Regards, -- *Naasheer Ali* | Associate Software Engineer WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka Email: naash

Re: [Dev] google summer of code 2015

2015-03-23 Thread Nirmal Fernando
Hi Zahir, Thanks for your interest on the project. Please start researching on the topic and start building the proposal as the deadline is coming up. On Mon, Mar 23, 2015 at 11:25 PM, Sajidh Zahir wrote: > sir, > > i would like to start a project for google summer of code this term ,The > pro

Re: [Dev] GSoc 2015 | Recommendation Solution for WSO2 Machine Learner | Requesting Clarification

2015-03-23 Thread Nirmal Fernando
Hi Buddhika, Proposal looks good and I have few suggestions; * Stick only to JSON for the rest API. (no need to have XML) * Give a high priority to the recommendation algorithm integration. * Include a section, on what you have already done. Thanks. On Tue, Mar 24, 2015 at 7:46 AM, Nirmal Ferna

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Vanjikumaran Sivajothy
Since ESB 490 M7 is released by ESB team. Can you please work on that? On Tue, Mar 24, 2015 at 10:05 AM, Sriashalya Srivathsan wrote: > Hi > I have encountered a problem when I executed the esb 4.9.0-M4-SNAPSHOT in > my test cases as follows , > > [2015-03-24 09:08:12,838] INFO > {org.wso2.car

Re: [Dev] Interested in Deep Learning Integration for Machine Learner - GSOC 2015

2015-03-23 Thread Nirmal Fernando
Thushan, Proposal looks good, please go ahead and start creating the proposal in Melange. On Mon, Mar 23, 2015 at 7:50 PM, Nirmal Fernando wrote: > Please try out the M1 release for a better understanding on the back-end: > https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 > > On Mon, Ma

Re: [Dev] [IGVIZ.JS] : D3.js Based Interactive Generic Visualization Library

2015-03-23 Thread Tharindu Munasinghe
Hi All, Today I had a progress update of igviz.js with Srinath .He pointed out several improvements for the project. - Add graph sketching support to igviz.js - Come up with a tabular representation for a graph - Improve the styles in samples site - Add single number diagram ( min/ma

Re: [Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-23 Thread Gokul Balakrishnan
Hi Kernel team, Any idea on $subject? Shouldn't the transitive dependencies of the orbit bundle be visible to the component referring to the bundle at compile time? Should we just refer to the 3rd party jar (the orbit bundle is wrapping) in the component and use the orbit in the feature, or should

Re: [Dev] [Architecture] [APIM] Swagger validation

2015-03-23 Thread Colin Roy-Ehri
+1 to validating it at the backend. Also, there will be a challenge to inform the publisher with the validation results, both success and detailed errors. Also closing the import window popup after a successful import would be nice. Thanks! Colin Roy-Ehri Software Engineer *WSO2, Inc. : wso2.co

Re: [Dev] [GSoC-2015][Proposal 10]

2015-03-23 Thread Imesh Gunaratne
Hi Dinanjana, Thanks for sharing your project proposal. I could not see following information on this: - A list of open source Billiing Systems and a review/comparison - Google Wallet API methods that you may need - PaaS usage data model (you can start with a sample and later on move to the actua

Re: [Dev] RabbitMQ AMQP Transport for WSO2 ESB

2015-03-23 Thread Chanaka Fernando
Hi Eranda, Could you please give an update on the status of this implementation? We are currently planning our ESB 4.9.0 release and this will be a feature included in that version. Thanks, Chanaka On Sun, Feb 22, 2015 at 11:17 PM, Eranda Rajapakshe wrote: > Hi, > > > *Second week update on my

Re: [Dev] [GSoC2015] Project Proposal Clarification

2015-03-23 Thread Chanaka Fernando
Hi Keshan, please see my comments inline. *Proposal 5*: "ESB - AS2 Support" - Can i get more in-formations of the protocols supported by WSO2-ESB and any documentation regarding that WSO2 ESB supports all the highly used transports in enterprise applications. Some of them are mentioned b

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Inosh Perera
Hi all, Thanks for the suggestions. When going through the performance numbers, Jackson seems to be ideal. Regards, Inosh On Tue, Mar 24, 2015 at 10:26 AM, Pubudu Dodangoda wrote: > Hi Inosh, > I have used gson and jackson few times. Jackson seems to be faster. but > gson on the other hand is

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Pubudu Dodangoda
Hi Inosh, I have used gson and jackson few times. Jackson seems to be faster. but gson on the other hand is more compatible. Reason for mentioning that is, I had problems when using jackson with SOAP. If you don't have much issues regarding the speed, I recommend using gson, as it is more compatib

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Sriashalya Srivathsan
Hi, yes It is working fine. Thanks, On Tue, Mar 24, 2015 at 10:20 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Did you try to start the server manually ? > > Thanks, > Krishantha. > > On Tue, Mar 24, 2015 at 10:05 AM, Sriashalya Srivathsan > wrote: > >> Hi >> I have encountered

Re: [Dev] Problem when Executing test cases

2015-03-23 Thread Krishantha Samaraweera
Did you try to start the server manually ? Thanks, Krishantha. On Tue, Mar 24, 2015 at 10:05 AM, Sriashalya Srivathsan wrote: > Hi > I have encountered a problem when I executed the esb 4.9.0-M4-SNAPSHOT in > my test cases as follows , > > [2015-03-24 09:08:12,838] INFO > {org.wso2.carbon.aut

[Dev] Problem when Executing test cases

2015-03-23 Thread Sriashalya Srivathsan
Hi I have encountered a problem when I executed the esb 4.9.0-M4-SNAPSHOT in my test cases as follows , [2015-03-24 09:08:12,838] INFO {org.wso2.carbon.automation.core.PlatformExecutionManager} - ---Test Execution Started -- [2015-03-24 09:08:12,848] INFO {o

[Dev] Apache configurations for Windows MDM testing

2015-03-23 Thread Asok Perera
Hi, MDM plugin for Windows device management needs a proxy in front of MDM server and I used below apache configurations, to use it as the proxy. ProxyRequests off ProxyPreserveHost off Order deny,allow Deny from all Allow from all RewriteEngine On RewriteCond

[Dev] [ES] Readable Error on RXT and JSON mapping

2015-03-23 Thread Rasika Perera
Hi ES Team, I am not very familiar with the ES product and thus this might not work and you can ignore this fix. AFAIU when adding a custom asset type on ES, the "RXT" file and ".json" need to be mapped correctly. Most of the time, novice users might not get mapped these two files correctly and

Re: [Dev] GSoc 2015 | Recommendation Solution for WSO2 Machine Learner | Requesting Clarification

2015-03-23 Thread Nirmal Fernando
Yes, Buddhika, I think we need a Java based implementation. On Tue, Mar 24, 2015 at 2:43 AM, Buddhika Jayawardhana < buddhika...@cse.mrt.ac.lk> wrote: > Dear Developers, > > I was studying about Spark mllib. Can I use python to implement the > recommendations part instead of java ? Would it bring

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Vishanth Balasubramaniam
Hi Inosh, IMO i think it is either Jackson or Gson. Jackson is considered to be a faster library than Gson and also I remember Gson was having some case insensitive problem, I am not sure if it still does. Regards, Vishanth. On Mon, Mar 23, 2015 at 10:57 PM, Prabath Abeysekera wrote: > Hi Guys

Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Pumudu Ruhunage
Hi, +1 for Asitha's suggestion. @Indika, currently test suite replace the original broker.xml with another broker.xml with these h2 in-mem settings and server restarts in org.wso2.mb.integration.tests.amqp.functional.StartH2MemMode class. After server restarts successfully h2 in-memory tests will

Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Asitha Nanayakkara
In H2 in memory mode we don't have the queues created on H2 embedded mode but have the tenant user details in registry. SInce we use embedded carbon db. Therefore before we do the H2 in memory mode I think we need unpack a fresh pack an go through the tenant user creation process. In addition to w

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Prabath Abeysekera
Hi Guys, Came across [4] while I was searching for any good performance benchmark done over the JSON parser libraries around. As it appears, the results were published like 3 years back and I'm pretty sure that most of these libraries have come a long way since then. However, based on the results

Re: [Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Indika Sampath
Hi Pumudu, Did you enabled following configuration in broker.xml before test run ? This is by default commented. Cheers! On Mon, Mar 23, 2015 at 10:26 PM, Pumudu Ruhunage wrote: > Hi, > > I came across following issue while writing integration test case f

Re: [Dev] [AF] Remove the OSGIness of ApplicationManagementService

2015-03-23 Thread Mahesh Chinthaka
Hi all, I found that following two methods are being used by BPELs we have in App Factory deleteApplication - CreateApplication.bpel updateRxtWithPromoteState - GovernanceBPEL.bpel These two methods will be added to ApplicationInfoService and will not be removed from ApplicationMgtService Except

[Dev] [MB] Issue when writing dlc related test cases in integration test suite

2015-03-23 Thread Pumudu Ruhunage
Hi, I came across following issue while writing integration test case for dlc queue path. following are the steps of the test case. 1. Start queue subscriber to "dlctenant1.com/tenantQueue", user 'dlctenantuser' at 'dlctenant1.com' domain (this subscriber has set to client acknowledgement mode as

Re: [Dev] [DEV][ESB] Error in Validate Mediator Configuration UI

2015-03-23 Thread Jagath Sisirakumara Ariyarathne
Hi Maheeka, Thanks for the support and I will do required changes and check. On Mon, Mar 23, 2015 at 6:42 PM, Maheeka Jayasuriya wrote: > Correction : All variables that get assigned with "value.getExpression()" > now needs to be changed to SynapsePath, if they are still declared as > SynapseXP

Re: [Dev] Are we using Hungarian notation or not?

2015-03-23 Thread Prabath Abeysekera
Yes, we should. Please fix all such code bits where the best practices had not been followed. Cheers, Prabath On Mon, Mar 23, 2015 at 9:19 PM, Dulitha Wijewantha wrote: > Hi Prabath, > I have noticed that we use the Hungarian notation in certain places [1] > and not in certain places. Shall we

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Ishan Jayawardena
Hi Inosh, ESB uses StAXON [1] in builders/formatters and Jayway JsonPath [2] for JSONPath evaluation. The ScriptMediator depends on google-gson[3] [1] https://github.com/beckchr/staxon [2] https://github.com/jayway/JsonPath [3] https://code.google.com/p/google-gson/ Thanks, Ishan. On Mon, Mar 2

[Dev] Are we using Hungarian notation or not?

2015-03-23 Thread Dulitha Wijewantha
Hi Prabath, I have noticed that we use the Hungarian notation in certain places [1] and not in certain places. Shall we stick to a single practice as much as possible? For example, the code I appointed out earlier could be written like below - File schemaConfig = new File(DeviceManagementConfigTes

Re: [Dev] JSON parsing platform standard library

2015-03-23 Thread Shashika Karunatilaka
HI Inosh, AFAIK its Gson now. As an example DSS 3.2.1 onwards, Application server it uses Gson message formatter and builder. But in the ESB it uses Jsonpath please refer this [1] [1] https://docs.wso2.com/display/ESB480/About+this+Release Thank you. On Mon, Mar 23, 2015 at 7:25 PM, Inosh Perer

[Dev] Unit testing DAO code

2015-03-23 Thread Dulitha Wijewantha
Hi Krishantha, I looked around to find the opinion of the java community on unit testing DAO layer of codebase and found out different approaches. Below are few - - Not testing DAO layer at all [1]. This is not the most convincing approach. - Test the DAO layer by its own self. Create/Rea

[Dev] [Automation] Please merge pull request #46 for carbon-platform-integration

2015-03-23 Thread Suhan Dharmasuriya
Hi, Please merge [1] to carbon-platform-integration. [1] https://github.com/wso2/carbon-platform-integration/pull/46 [2] subject: "Deployment Automation Progress Update" [3] subject: "GIT repo for deployment automation" Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *

Re: [Dev] Proposal for Data Wrangler extension for WSO2 Machine Learner

2015-03-23 Thread Nirmal Fernando
Please try out the M1 release for a better understanding on the back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 On Mon, Mar 23, 2015 at 7:13 PM, Tharinda Ehelepola wrote: > Hi, > > I need to be clear about some points in the project. Here >

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-23 Thread Madawa Soysa
I will try this out. Thanks. On 23 March 2015 at 19:50, Nirmal Fernando wrote: > Please try out the M1 release for a better understanding on the back-end: > https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 > > On Sun, Mar 22, 2015 at 10:45 AM, Madawa Soysa wrote: > >> Hi, >> >> Attac

Re: [Dev] GSoc 2015 | Recommendation Solution for WSO2 Machine Learner | Requesting Clarification

2015-03-23 Thread Nirmal Fernando
Thanks for the proposal. We'll review it. Please try out the M1 release for a better understanding on the back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 On Tue, Mar 10, 2015 at 12:51 PM, Buddhika Jayawardhana < buddhika...@cse.mrt.ac.lk> wrote: > This is the draft of my proje

Re: [Dev] [GSoC-2015] Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-23 Thread Nirmal Fernando
Please try out the M1 release for a better understanding on the back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 On Sun, Mar 22, 2015 at 10:45 AM, Madawa Soysa wrote: > Hi, > > Attached the initial draft proposal[1] >

Re: [Dev] Regarding GSoC Proposal 11: Recommendation Solution for WSO2 Machine Learner

2015-03-23 Thread Nirmal Fernando
Please try out the M1 release for a better understanding on the back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 On Wed, Mar 4, 2015 at 1:57 PM, Nirmal Fernando wrote: > Hi Janaka, > > Please find my comments inline. > > On Wed, Mar 4, 2015 at 1:33 PM, Srinath Perera wrote: >

Re: [Dev] Interested in Deep Learning Integration for Machine Learner - GSOC 2015

2015-03-23 Thread Nirmal Fernando
Please try out the M1 release for a better understanding on the back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1 On Mon, Mar 23, 2015 at 4:59 PM, Nirmal Fernando wrote: > Thanks Thushan. We'll review it and let you know. > > Btw, you tried latest ML code right? > > On Mon, Mar

Re: [Dev] [Git] ESB integration tests cannot be build

2015-03-23 Thread Manoj Kumara
Hi ESB Team, I have send a pull request to development branch [1]. Please merge this once ESB upgraded to kernel 4.4.0 since Tenant Eager loading functionality available in kernel 4.3.0 and current develop branch referring 4.3.0 version. [1] https://github.com/wso2/product-esb/pull/105 Regards,

[Dev] WSO2 ML 1.0.0 Milestone 1 Released

2015-03-23 Thread Supun Sethunga
WSO2 ML 1.0.0 Milestone 1 Released! WSO2 ML team is pleased to announce the 1st Milestone of WSO2 ML 1.0.0.The distribution is available at [1]. This release includes following features. New Features - Import datasets from CSV/TSV files. - Training Predictive Machine Learning models. (Supp

[Dev] JSON parsing platform standard library

2015-03-23 Thread Inosh Perera
Hi all, What is platform standard library used for JSON parsing? I have seen some variation such as Gson, Jackson, jsonpath. Regards, Inosh -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/c

Re: [Dev] Proposal for Data Wrangler extension for WSO2 Machine Learner

2015-03-23 Thread Tharinda Ehelepola
Hi, I need to be clear about some points in the project. Here is the pipeline where I got from your ML presentation. If I correct this the common diagram for machine learning. In which part of the pipeline do you need to use Wrangler? You sai

Re: [Dev] [DEV][ESB] Error in Validate Mediator Configuration UI

2015-03-23 Thread Maheeka Jayasuriya
Correction : All variables that get assigned with "value.getExpression()" now needs to be changed to SynapsePath, if they are still declared as SynapseXPath or they need to be casted to SynapseXPath. Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +9450661 On Mon, Mar 23, 2015

Re: [Dev] Switch case is not working in the proxy

2015-03-23 Thread Shakila Sivagnanarajah
Hi Keerthika, You can get the transport header property named 'Action' as shown below Thank you On Mon, Mar 23, 2015 at 12:04 PM, Shakila Sivagnanarajah wrote: > Hi Keerthika, > > Can you try by setting Accept-Charset as UTF-8 in header. > > Thank you. > > On Mon, Mar 16, 2

Re: [Dev] Switch case is not working in the proxy

2015-03-23 Thread Shakila Sivagnanarajah
Hi Keerthika, Can you try by setting Accept-Charset as UTF-8 in header. Thank you. On Mon, Mar 16, 2015 at 12:14 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Hi Elil, > I have added the Action header. > > Thanks, > > On Mon, Mar 16, 2015 at 12:06 PM, Elilmatha Sivanesan > wrote:

Re: [Dev] [DEV][ESB] Error in Validate Mediator Configuration UI

2015-03-23 Thread Maheeka Jayasuriya
Hi Jagath, As discussed, there seems Value class has been changed to contain a SynapsePath instead of SynapseXPath [1]. So all variables that get assigned with "value.getExpression()" now needs to be changed to SynapseXPath, if they are still using SynapsePath. This will have to be fixed. [1] ht

[Dev] Create HTTP HEAD not support endpoint

2015-03-23 Thread Tharindu Dharmarathna
Hi all, I want to create and deploy endpoint which does not support Http HEAD to write a test case . Is there any work around to write this one ? Thanks and Regards *Tharindu Dharmarathna*Associate Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94779109091* _

Re: [Dev] ML Integration Test Automation - Status Update

2015-03-23 Thread Nirmal Fernando
Hi Supun, Can you do a KT on how to write a test and also a code review ? On Mon, Mar 23, 2015 at 1:57 PM, Nirmal Fernando wrote: > Got it ! thanks. > > On Mon, Mar 23, 2015 at 1:51 PM, Supun Sethunga wrote: > >> Hi Nirmal, >> >> The tests are checking only up to the spark-job submission point

Re: [Dev] Interested in Deep Learning Integration for Machine Learner - GSOC 2015

2015-03-23 Thread Nirmal Fernando
Thanks Thushan. We'll review it and let you know. Btw, you tried latest ML code right? On Mon, Mar 23, 2015 at 4:56 PM, Thushan Ganegedara wrote: > Dear Mentors, > > I have installed and run the WSO2 Machine Learner successfully. For the > past few days I've been looking in details at the WSO2-

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-23 Thread Danushka Fernando
For the completeness of this thread, osgi services and web services are two different kind of services in carbon platform. When you run listAdminServices in osgi console it will return the web services which are admin services. We define admin services in services.xml. On the other hand for osgi se

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-23 Thread Fathima Dilhasha
Hi, Thanks Pubudu. There was a missing OSGI bundle registration for Issue Tracking component. I was able to fix the issue by fixing that. Regards, Dilhasha Fathima Dilhasha Nazeer (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineer

Re: [Dev] [Appfactory] Exception when trying to call an available OSGI service in AppFactory

2015-03-23 Thread Pubudu Dodangoda
I think you should also be able to find the wsdl for the service by giving the url shown at the OSGI console Please refer the following link on how to view the wsdl for the service(under the "Writing the service stub" section) http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-co

Re: [Dev] [ES][Greg] Adding Custom Attributes on RXT UI fields

2015-03-23 Thread Sameera Medagammaddegedara
Hi Rasika, I think you are receiving the error due to a schema validation failure (repository/resources/rxt.xsd). In ES 1.0.0 you can use the extension.json file to add custom properties through the fieldProperties array. *Example:* In the config/ext/gadget.json file [1]: { "field":"overview

Re: [Dev] Cross database pagination

2015-03-23 Thread Vishanth Balasubramaniam
Hi Dulitha, Found this Pagination with ROWNUM example (source [1]), sharing it if you could find it helpful: select * from ( select /*+ FIRST_ROWS(n) */ a.*, ROWNUM rnum from ( your_query_goes_here, with order by ) a where ROWNUM <= :MAX_ROW_TO_FETCH ) where rnum >= :

[Dev] Username from admin service cookie

2015-03-23 Thread Gihan Anuruddha
Hi, Is it possible to get the $subject? Regards, Gihan -- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Get end point url of Mailman API 3.0

2015-03-23 Thread Keerthika Mahendralingam
Hi Vani, Please have a look in the following doc. https://help.ubuntu.com/community/Mailman On Mon, Mar 23, 2015 at 2:35 PM, Vanii Thiyagarajah wrote: > Hi Srias

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-23 Thread Fathima Dilhasha
Hi Anuruddha, Okay thank you. I will incorporate those basic features. Regards, Dilhasha Fathima Dilhasha Nazeer (M.N.F.Dilhasha) Undergraduate | Department of Computer Science and Engineering University of Moratuwa Sri Lanka On Mon, Mar 23, 2015 at 12:45 P

Re: [Dev] [EMM] Errors occur on Server Shutdown when building the Product

2015-03-23 Thread Supun Sethunga
Hi, I'm getting the same error when the server shutsdown by the automation tests framework. In this case, the backend service access and populate the CarbonContext (i.e. test case calls a REST API with basic auth, and the back-end validates and then populates the CarbonContext with user info, to b

[Dev] Orbit bundles and transitive dependencies in the compile time

2015-03-23 Thread Niranda Perera
Hi, As of the current orbit bundle guideline [1], we have to mark the dependencies as optional. I believe this results in transitive dependencies of that particular bundle not being exposed. Because of this, I have experienced compilation failures, when I put orbit bundles as component dependenci

Re: [Dev] Get end point url of Mailman API 3.0

2015-03-23 Thread Vanii Thiyagarajah
Hi Sriashalya! In mailman api we have to set the end point url locally.This is the doc for Mailman api set up guide https://fedorahosted.org/hyperkitty/wiki/DevelopmentSetupGuide. Thank you. On Mon, Mar 23, 2015 at 2:00 PM, Sriashalya Srivathsan wrote: > Hi Vaani, > Can you share the end p

Re: [Dev] Fwd: [Gsoc2015] Siddhi Process Monitor for WSO2 CEP

2015-03-23 Thread Sabra Ossen
Hi, Sorry, I created this new thread since I needed to use my private email address to communicate. So basically so far your idea is to create a Jaggery app for the interface and use the admin service to get data that needs to be shown.?? Regards. Sabra. On Sun, Mar 22, 2015 at 1:07 PM, Mohanad

Re: [Dev] NumberFormatException when genarating Key in API manager 1.9.0 SNAPSHOT.

2015-03-23 Thread Shani Ranasinghe
Hi, I checked using the latest built pack on jenkins, and the functionality did work fine. [1] https://wso2.org/jenkins/view/product-builds/job/product-apim/168/org.wso2.am$wso2am/ On Mon, Mar 23, 2015 at 1:04 PM, Shani Ranasinghe wrote: > Hi Saneth, > > I will look into this. > > On Mon, Mar

Re: [Dev] Cross database pagination

2015-03-23 Thread Udara Rathnayake
Hi All, We faced an issue while following the above method. Even if we store the DB specific select query within a configurable file, number of properties and property order may vary from one to another. If we are using prepared statements we need to reflect above differences within our logic. We

Re: [Dev] Get end point url of Mailman API 3.0

2015-03-23 Thread Sriashalya Srivathsan
Hi Vaani, Can you share the end point that you struggled and related stuff. Thank you. On Mon, Mar 23, 2015 at 12:29 PM, Vanii Thiyagarajah wrote: > Hi all, > > I am reviewing the mailman connector3.0 done by wso2 trainees.I couldn't > set mailman end url in my local machine. Have anyone work

Re: [Dev] ML Integration Test Automation - Status Update

2015-03-23 Thread Nirmal Fernando
Got it ! thanks. On Mon, Mar 23, 2015 at 1:51 PM, Supun Sethunga wrote: > Hi Nirmal, > > The tests are checking only up to the spark-job submission point, so far. > This error is thrown after the job submission, and hence the test is > passing despite this error. Anyway as we discussed offline,

Re: [Dev] [CEP] Error when building siddhi 2.0.0-wso2v4

2015-03-23 Thread Dinithi De Silva
Hi Mohan, Thank you for the quick response. The first issue was resolved after switching to jdk 1.6. But I got an issue in test files as follows. java.lang.NullPointerException at org.wso2.siddhi.test.standard.ratelimit.SnapshotOutputRateLimitTestCase$19.receive(SnapshotOutputRateLimitTest

Re: [Dev] ML Integration Test Automation - Status Update

2015-03-23 Thread Supun Sethunga
Hi Nirmal, The tests are checking only up to the spark-job submission point, so far. This error is thrown after the job submission, and hence the test is passing despite this error. Anyway as we discussed offline, It was due to a bug in the product, and is fixed now. Regards, On Mon, Mar 23, 2

Re: [Dev] [GSoC-2015] Proposal 1: Siddhi Process Monitor for WSO2 CEP

2015-03-23 Thread Rumesh Eranga
Hi, I have enable document for comment so that you can directly comment on the draft. It would be great if you can give comment regarding the approach and the timeline so that I can finalize the proposal. Thanks, Rumesh On Fri, Mar 20, 2015 at 11:17 PM, Rumesh Eranga wrote: > Hi, > > I create

Re: [Dev] NumberFormatException when genarating Key in API manager 1.9.0 SNAPSHOT.

2015-03-23 Thread Shani Ranasinghe
Hi Saneth, I will look into this. On Mon, Mar 23, 2015 at 12:27 PM, Saneth Dharmakeerthi wrote: > Hi, > > When click "Generate" button on to generate a key for subscribed API, It > gives error message[1] and server side it gives a > NumberFormatException[3]. > But when I run the integration t

[Dev] [ES][Greg] Adding Custom Attributes on RXT UI fields

2015-03-23 Thread Rasika Perera
Hi Folks, I am following tutorial[1] in Enterprise Store. I this example I can create a custom RXT. When adding a field, we write; Name But If I need to add a custom attribute; Name It gives following error; Failed to save the configuration. > ManageGenericArtifactServiceRegistryE

Re: [Dev] [CEP] Error when building siddhi 2.0.0-wso2v4

2015-03-23 Thread Mohanadarshan Vivekanandalingam
On Mon, Mar 23, 2015 at 12:42 PM, Dinithi De Silva wrote: > Hi, > > Hi Dinithi, > While trying to build siddhi 2.0.0-wso2v4 module, I got the following > issue. > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile > (default-testCompile) on proje

Re: [Dev] [GSoC-2015] Proposal 6- AppFactory Command Line Tool

2015-03-23 Thread Anuruddha Premalal
Hi Fathima, As we discussed in the hangout you can prepare the proposal with few basic operations as application creation/deletion, app life-cycle management, trigger builds, app deployment etc.. Once the CLI basics are in place adding an operation would be as easy as parsing arguments and callin

Re: [Dev] Simple dummy API doesn't work

2015-03-23 Thread Manuranga Perera
thanks Isuru. On Mon, Mar 23, 2015 at 12:41 PM, Isuru Udana wrote: > Hi Manu, > > Remove NO_ENTITY_BODY property which is in axis2 scope. > > > > > On Mon, Mar 23, 2015 at 12:36 PM, Manuranga Perera wrote: > >> I created following dummy API in ESB 4.8.1 , please help me figure out >> why it re

[Dev] [CEP] Error when building siddhi 2.0.0-wso2v4

2015-03-23 Thread Dinithi De Silva
Hi, While trying to build siddhi 2.0.0-wso2v4 module, I got the following issue. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project siddhi-core: Compilation failure [ERROR] /Users/imesh/dev/wso2/svn/siddhi/2.0.0-wso2v5/

Re: [Dev] Simple dummy API doesn't work

2015-03-23 Thread Isuru Udana
Hi Manu, Remove NO_ENTITY_BODY property which is in axis2 scope. On Mon, Mar 23, 2015 at 12:36 PM, Manuranga Perera wrote: > I created following dummy API in ESB 4.8.1 , please help me figure out why > it returns an empty body. > > http://ws.apache.org/ns/synapse"; name="imgs" context="/imgs

[Dev] Simple dummy API doesn't work

2015-03-23 Thread Manuranga Perera
I created following dummy API in ESB 4.8.1 , please help me figure out why it returns an empty body. http://ws.apache.org/ns/synapse"; name="imgs" context="/imgs"> {"hello":"world"} -- With regards, *Manu*ran

[Dev] NumberFormatException when genarating Key in API manager 1.9.0 SNAPSHOT.

2015-03-23 Thread Saneth Dharmakeerthi
Hi, When click "Generate" button on to generate a key for subscribed API, It gives error message[1] and server side it gives a NumberFormatException[3]. But when I run the integration test, access key generation part is working correctly. I noticed that new parameter "selectedAppID" was added to

[Dev] Get end point url of Mailman API 3.0

2015-03-23 Thread Vanii Thiyagarajah
Hi all, I am reviewing the mailman connector3.0 done by wso2 trainees.I couldn't set mailman end url in my local machine. Have anyone worked on similar thing? Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev