[Dev] [APIM] - Required parameters for add documentation to an API with the source type File

2015-09-16 Thread Bhagya Dimenguwari
Hi, I tried to add new document to an API with the Source Type "File". I used the requested parameters as [1] referring firebug information [2] and it does not allow to add the document and got the exception [3]. I am going to test Integration test by referring test case - *APIM2-622:Add

Re: [Dev] [DAS] Issue in connecting db2 with DAS

2015-09-16 Thread Gokul Balakrishnan
Sure Anjana, I'll work on this. On 15 September 2015 at 19:07, Nayomi Dayarathne wrote: > Hi Anjana, > > Reported the JIRA[1]. > > [1]. https://wso2.org/jira/browse/DAS-142 > > Thanks. > > > Nayomi Dayarathne > > *Software Engineer-QA* > Mobile : +94 (0) 775246619

[Dev] [VOTE] Release WSO2 CEP 4.0.0 RC3

2015-09-16 Thread Sriskandarajah Suhothayan
Hi Devs, WSO2 CEP 4.0.0 RC3 Release Vote This release fixes the following issues: https://wso2.org/jira/issues/?filter=12398 Please download CEP 4.0.0 RC3 and test the functionality and vote. Vote will be open for 72 hours or as needed. Binary distribution at:

Re: [Dev] [DEV] Issue in sending events using a datasource via the event simulator

2015-09-16 Thread Nayomi Dayarathne
Hi Lasantha, Thanks for fixing the issue. Regards. Nayomi Dayarathne *Software Engineer-QA* Mobile : +94 (0) 775246619 <+94+(0)+775246619> *nay...@wso2.com * On Tue, Sep 15, 2015 at 9:32 PM, Nayomi Dayarathne wrote: > Hi all, > > There is an issue in

Re: [Dev] [AS] [Tests] Port offset change in test cases where offset values are hardcoded

2015-09-16 Thread Manuri Amaya Perera
Hi, Thank you for the suggestions. The property was added as follows. eg: localhost 9864 9544 101

Re: [Dev] APIM showing subscription details even after subscription is removed

2015-09-16 Thread Udara Liyanage
Hi, Thanks for the info. On Tue, Sep 15, 2015 at 6:36 PM, Madusanka Premaratne wrote: > Hi Udara, > The consumer key secret pair is generated against the oauth app you select > while subscribing. After removing the subscription, only the subscribed api > wii be removed

Re: [Dev] [APIM] - Required parameters for add documentation to an API with the source type File

2015-09-16 Thread Lakshman Udayakantha
Hi Saneth, to upload the file for documentation use this command curl -X POST -b cookies http://localhost:9774/publisher/site/blocks/documentation/ajax/docs.jag -F "action=addDocumentation" -F "provider=admin" -F "apiName=testAPi" -F "version=1.0.0" -F "docName=testDoc2" -F "docType=how to" -F

Re: [Dev] [APIM] - Required parameters for add documentation to an API with the source type File

2015-09-16 Thread Saneth Dharmakeerthi
HI Madusanka, We have referred that document and it contains how to add inline document, its working fine, problem is how to add a .txt file or a .pdf using the REST API. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Sep 16,

Re: [Dev] [APIM] - Required parameters for add documentation to an API with the source type File

2015-09-16 Thread Madusanka Premaratne
Hi Bhagya, Did you try WSO2 Publisher APIs[1]. Find Add/Update API Document in the link [1] - https://docs.wso2.com/display/AM191/Publisher+APIs Thanks, Madusanka On Wed, Sep 16, 2015 at 12:11 PM, Bhagya Dimenguwari wrote: > Hi, > > I tried to add new document to an API with

Re: [Dev] [Private PaaS] API Manager template module seems be messed up

2015-09-16 Thread Rajkumar Rajaratnam
Hi Guys, Have we fixed the two issues discussed in this thread? If not, better to track it via a JIRA. Thanks, Raj. On Thu, Sep 10, 2015 at 4:53 PM, Pubudu Gunatilaka wrote: > Hi, > > +1 for this approach > > What we initially thought was to list down all the parameters in

[Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread Ashen Weerathunga
Hi all, I am currently doing the integration of anomaly detection feature for ML. I have a problem of choosing the best accuracy measure for the model. I can get the confusion matrix which consists of true positives, true negatives, false positives and false negatives. There are few different

Re: [Dev] Missing Fix for CRLF Injection in Kernel Master branch

2015-09-16 Thread Malithi Edirisinghe
Hi Niranjan, Fix for master is sent on 4th of July with PR [1]. [1] https://github.com/wso2/carbon4-kernel/pull/278 Thanks, Malithi. On Wed, Sep 16, 2015 at 5:10 PM, Niranjan Karunanandham wrote: > Hi Malithi, > > The current fix (PR [1]) is only sent to the 4.4.x branch

[Dev] ES : Unable to retrieve resource from registry

2015-09-16 Thread Himasha Guruge
Hi, In an ES asset extension, I'm saving a resource (text with some html tags) to the registry, and later on with ajax GET i'm trying to retrieve that content. ( var result = userReg.get(path)) A result object is given but when trying to access result.content it gives null. Any idea how to

[Dev] Missing Fix for CRLF Injection in Kernel Master branch

2015-09-16 Thread Niranjan Karunanandham
Hi Malithi, The current fix (PR [1]) is only sent to the 4.4.x branch and I was not able to find the PR for master branch. I think this fix should be in both the patch and Minor release branch. [1] - https://github.com/wso2/carbon4-kernel/pull/447 Regards, Nira -- *Niranjan Karunanandham*

Re: [Dev] Missing Fix for CRLF Injection in Kernel Master branch

2015-09-16 Thread Niranjan Karunanandham
Thanks Malithi. On Wed, Sep 16, 2015 at 5:19 PM, Malithi Edirisinghe wrote: > Hi Niranjan, > > Fix for master is sent on 4th of July with PR [1]. > > [1] https://github.com/wso2/carbon4-kernel/pull/278 > > Thanks, > Malithi. > > > On Wed, Sep 16, 2015 at 5:10 PM, Niranjan

Re: [Dev] [GREG 5.0.0]Error at graceful restart

2015-09-16 Thread Ajith Vitharana
This is not solr related thing. According to the stack trace human task scheduler jobs are not properly terminate with the server shutdown. -Ajith On Wed, Sep 16, 2015 at 1:02 AM, Chalitha Waldeniyage wrote: > Hi Ajith, > > We have observed the same issue reported in [1]

[Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Anuruddha Liyanarachchi
Hi, I created CEP HA cluster with Deployment for full-active-active mode as per [1]. I am seeing following error when starting the 2nd member. I have also attached execution plan [2]. What is causing this issue ? [2015-09-16 13:22:38,191] ERROR - {HAManager} Syncing failed when becoming a

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Ramindu De Silva
Hi Anuruddha, Is it possible to send me the artefacts you used for this scenario, so that i can reproduce and debug and see whats causing this issue. Best Regards, On Wed, Sep 16, 2015 at 7:30 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi, > > I created CEP HA cluster with

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Sriskandarajah Suhothayan
>From the logs it looks like its an issue in SecondDerivativeFinderWindowProcessor check the getting and restoring the state part. Suho On Wed, Sep 16, 2015 at 10:16 PM, Ramindu De Silva wrote: > Hi Anuruddha, > > Is it possible to send me the artefacts you used for this

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread Sinnathamby Mahesan
Dear Ashen Sensitivity - in view of reducing the false negative Precision - in view of reducing the false positive F1 score combines both as the harmonic mean of precision and sensitivity That's why F1 is chosen normally and is simple (2TP / (2TP + FN + FP)) By the way, which you consider

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread CD Athuraliya
Hi Ashen, Please note the class imbalance which can typically occur in anomaly data when selecting evaluation measures (anomalous data can be very infrequent compared to normal data in a real-world dataset). Please check how this imbalance affects evaluation measures. I found this paper [1] on

Re: [Dev] ES : Unable to retrieve resource from registry

2015-09-16 Thread Chanaka Jayasena
You can access the content with userReg.content(path); Refer to [1] for a sample where we read and write resources from registry with product ES. [1] - https://github.com/wso2/carbon-store/blob/master/apps/publisher/modules/registry/registry.operator.js thanks, Chanaka On Wed, Sep 16, 2015 at

Re: [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record

2015-09-16 Thread Madusanka Premaratne
Hi Bimali, H2 databases corrupt sometimes since it stores as a file. Please refer to the mail thread[1] for more details. [1] - [Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record excception is throwing APIM GIT build while adding a new API. Thanks, Madusanka On Thu, Sep 17,

Re: [Dev] [ESB] Escape double quotation marks in property values?

2015-09-16 Thread Rajith Vitharana
Try XML encoding and put it there, example "abc" Online XML encoder - http://coderstoolbox.net/string/#!encoding=xml=encode=us_ascii Thanks, On Thu, Sep 17, 2015 at 10:52 AM, Bhathiya Jayasekara wrote: > Hi all, > > Is there a way to do $subject? > > Basically what I'm

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Sriskandarajah Suhothayan
have you properly migrated SecondDerivativeFinderWindowProcessor to new siddhi version. the bug is there. Suho On Thu, Sep 17, 2015 at 9:32 AM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Ramindu, > > Please find the CEP artefacts that is being used [1]. > Please note that the

[Dev] "Method threw 'java.lang.LinkageError' exception" while calling a stub method

2015-09-16 Thread Chamila Wijayarathna
Hi all, Currently I am trying to call some methods of BPS-HumanTaskClientAPIAdmin from an IS back end component. To do this I have added "HumanTaskClientAPIAdmin.wsdl", "ws-humanyask-types.xsd" and "xml.xsd" files to currently existing service stub at IS, which is

[Dev] [ESB] Escape double quotation marks in property values?

2015-09-16 Thread Bhathiya Jayasekara
Hi all, Is there a way to do $subject? Basically what I'm looking for is something like this. (below one is not working though) Thanks, -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com * *Phone: +94715478185* *LinkedIn:

Re: [Dev] [CEP 3.1.0] Syncing failed when becoming a Passive Node for tenant

2015-09-16 Thread Anuruddha Liyanarachchi
Hi Ramindu, Please find the CEP artefacts that is being used [1]. Please note that the node starts first is not throwing any error. [1] https://drive.google.com/a/wso2.com/file/d/0Bw0NgSFZG5YkWUZybUoxbzM0TTg/view?usp=sharing

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread Srinath Perera
Ashen, when you conclude this, can you write a blog/ article on comparing different methods and why given thing is better. --Srinath On Thu, Sep 17, 2015 at 9:59 AM, Srinath Perera wrote: > Seshika and myself were talking to forester analyst and he mentioned "Lorenz > curve"

Re: [Dev] ES : Unable to retrieve resource from registry

2015-09-16 Thread Himasha Guruge
Thanks Chanaka, will try it out. Regards, Himasha On Thu, Sep 17, 2015 at 10:15 AM, Chanaka Jayasena wrote: > You can access the content with userReg.content(path); > > Refer to [1] for a sample where we read and write resources from registry > with product ES. > > [1] - >

[Dev] org.h2.jdbc.JdbcSQLException: File corrupted while reading record

2015-09-16 Thread Bimali Dayananda
Hi, I get the following error message when I run a setup locally. It says a file is corrupted but couldn't find the corrupted file. org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "234 of 233". Possible solution: use the recovery tool [90030-140] at

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread Srinath Perera
Seshika and myself were talking to forester analyst and he mentioned "Lorenz curve" is used in fraud cases. Please read and find out what it is and how it compare to RoC etc. see https://www.quora.com/What-is-the-difference-between-a-ROC-curve-and-a-precision-recall-curve-When-should-I-use-each

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-16 Thread madhuka udantha
Hi, This is good survey paper that can be found regard to Anomaly detection [1], According to your need; it seems you will no need to go through whole the survey papers. But few sub topics will be very useful for you. This paper will be useful for your work. [1] Varun Chandola, Arindam Banerjee,

Re: [Dev] [ES] Unbounded Data Field Tables Not Working As Expected

2015-09-16 Thread Chanaka Jayasena
Hi Rasika, It seems like the issue is with the "getAllParameters" method where it swallow the params with same name as you pointed out. But the issue is specific to requests with multipart/form-data forms. i will try to debug the code and provide a solution. thanks, Chanaka On Fri, Sep 11, 2015

Re: [Dev] CEP over Out-of-Order Data Streams

2015-09-16 Thread Sriskandarajah Suhothayan
Hi Miyuru Any update on this ? Suho On Tue, Sep 8, 2015 at 7:58 PM, Miyuru Dayarathna wrote: > Hi Suho, > > Ok, I will work on that. > > -- > Thanks, > Miyuru Dayarathna > Senior Technical Lead > Mobile: +94713527783 > Blog: http://miyurublog.blogspot.com > > On Tue, Sep 8,