Re: [Dev] Fwd: Intern Projects - How to do testing for CEP and BAM based products

2014-01-14 Thread Udara Liyanage
Hi Chamila, If I understood you correctly, you can write test cases for your functions too. You can use our integration framework for this. Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org http://wso2.org/

Re: [Dev] Fwd: Intern Projects - How to do testing for CEP and BAM based products

2014-01-14 Thread Chamila Wijayarathna
Hi Mohan, We are aware of event tracer and event statistics, and we used them for observing and verifying results of what we have done up to now. Is it enough for testing of our project or do we need to do more testing? To be more clear we can test a java program by giving some inputs and running i

Re: [Dev] Fwd: Intern Projects - How to do testing for CEP and BAM based products

2014-01-14 Thread Mohanadarshan Vivekanandalingam
> > Hi Chamila, We are working on our Project "Infra log Analyzer". The product we are > developing is mainly based on WSO2 CEP. What is the proper way of testing > we have to follow in this project? Is there any tools we have to use for > testing other that running the components and observing th

[Dev] Fwd: Intern Projects - How to do testing for CEP and BAM based products

2014-01-14 Thread Chamila Wijayarathna
-- Forwarded message -- From: Chamila Wijayarathna Date: Tue, Jan 14, 2014 at 7:33 PM Subject: Intern Projects - How to do testing for CEP and BAM based products To: training-gr...@wso2.com Cc: Tharindu Ranasinghe , Pubudu Gunatilaka < pubu...@wso2.com>, Chamika Kasun , Asiri Liyan

Re: [Dev] Equinox Luna will redesign the equinox framework and core compare to equinox kepler

2014-01-14 Thread Shameera Rathnayaka
Hi Eranda, On Tue, Jan 14, 2014 at 10:48 PM, Eranda Sooriyabandara wrote: > Hi Sameera, Shameera, > Sorry for the late reply. > I think it's better we go ahead with Kepler because the issues related to > that are somewhat known and the architecture is somewhat familier > considered to the unrelea

Re: [Dev] Equinox Luna will redesign the equinox framework and core compare to equinox kepler

2014-01-14 Thread Eranda Sooriyabandara
Hi Sameera, Shameera, Sorry for the late reply. I think it's better we go ahead with Kepler because the issues related to that are somewhat known and the architecture is somewhat familier considered to the unreleased version. IMO if we use a library to C5 which considerably new it's always better t

Re: [Dev] Jaggery post() is not working when the response is empty.

2014-01-14 Thread Pradeep Fernando
Hi Maduka, I'm afraid, still im getting an NPE. May be this is a different one. :) However when i changed the response type from "json" to "text" all worked fine... thanks, org.jaggeryjs.scriptengine.exceptions.ScriptException: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPoin

Re: [Dev] Customizing properties of jwt assertion.

2014-01-14 Thread Lakmali Baminiwatta
Hi Pushpalanka, The claims in the sample assertion you have stated(applicationId, enduser, etc) are derived from the API key. Then by using the 'enduser' value, that user's claims are retrieved [1]. AFAIK those claims will be added to the JWT token, if that claim had a value only. For example if y

Re: [Dev] Jaggery post() is not working when the response is empty.

2014-01-14 Thread Madhuka Udantha
On Tue, Jan 14, 2014 at 5:14 PM, Pradeep Fernando wrote: > Hi madhuka, > > Little problem. The server doesnt even starts with the patch.. :) may be a > version issue. (?) > Most of time could version problem, Any way I commit this jaggery master by now, you can verify on there. BTW I have sent o

Re: [Dev] Jaggery post() is not working when the response is empty.

2014-01-14 Thread Madhuka Udantha
Hi, Pradeep Here jaggery branch[1] I tired, Here Again I build it and test and attaching jar Jira[2] contains patch as well. Console logs JAVA_HOME environment variable is set to F:\Program Files\Java\jdk1.6.0_45 CARBON_HOME environment variable is set to F:\WSO2\git\jaggery\jaggery\server\DISTR

Re: [Dev] Please commit to kernel patch0005

2014-01-14 Thread Tanya Madurapperuma
Thanks Manoj. On Tue, Jan 14, 2014 at 10:21 AM, Manoj Kumara wrote: > Hi Tanya, > > Committed to patch0005 with r194496. > > Thanks, > Manoj > > Best Regards.. > > > Manoj Kumara > Software Engineer > WSO2, Inc.; http://wso2.com > > Twitter: http://twitter.com/ManKuma > Mobile: +94713448188 >

Re: [Dev] Jaggery post() is not working when the response is empty.

2014-01-14 Thread Pradeep Fernando
[2014-01-14 17:08:44,299] ERROR {org.jaggeryjs.jaggery.core.manager.ModuleManager} - Error while adding HostObject : XMLHttpRequest org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject java.lang.ClassNotFoundException: org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject at org.eclipse.osg

Re: [Dev] Jaggery post() is not working when the response is empty.

2014-01-14 Thread Pradeep Fernando
Hi madhuka, Little problem. The server doesnt even starts with the patch.. :) may be a version issue. (?) java.lang.ClassNotFoundException: org.jaggeryjs.hostobjects.xhr.XMLHttpRequestHostObject at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at o

Re: [Dev] Missing functionality in config file: sso-idp-config.xml

2014-01-14 Thread Pradeep Fernando
Thanks Ishara, setting thr random number in config solved the issue, On Tue, Jan 14, 2014 at 3:19 PM, Pradeep Fernando wrote: > Hi Ishara, > > Thanks for the patch. :) > Audience restriction is working fine. however claims seems to be not > working. I am using IS 4.6.0. > > below is my config

Re: [Dev] Missing functionality in config file: sso-idp-config.xml

2014-01-14 Thread Pradeep Fernando
Hi Ishara, Thanks for the patch. :) Audience restriction is working fine. however claims seems to be not working. I am using IS 4.6.0. below is my config and SAML response im getting. Is something wrong with my config.. ? console https://localhost:9443/co

Re: [Dev] Missing functionality in config file: sso-idp-config.xml

2014-01-14 Thread Ishara Karunarathna
Hi Pradeep, On Fri, Jan 10, 2014 at 5:15 PM, Pradeep Fernando wrote: > Hi, > > we can register SP s via sso-idp-config.xml. However we cant configure > things such audience restrictions/etc. > I have created org.wso2.stratos.identity.saml2.sso.mgt. 2.2.1 org.wso2.stratos.identity.saml2.sso.mg

Re: [Dev] [CEP] "missing EOF at 'insert'" error

2014-01-14 Thread Mohanadarshan Vivekanandalingam
For that you don't need to restart.. Just log in to the server again is enough.. Thanks, Mohan On Tue, Jan 14, 2014 at 2:02 PM, Chamila Wijayarathna wrote: > Hi Mohan, > Than was the problem, after restarting CEP query was validated. > Thank You > > > On Tue, Jan 14, 2014 at 1:54 PM, Mohanadar

Re: [Dev] [CEP] "missing EOF at 'insert'" error

2014-01-14 Thread Chamila Wijayarathna
Hi Mohan, Than was the problem, after restarting CEP query was validated. Thank You On Tue, Jan 14, 2014 at 1:54 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > Hi Chamila, > > I think you server session is timeout.. Can you please check.. > > Reagrds, > Mohan > > > > On Tue, Jan

Re: [Dev] [CEP] "missing EOF at 'insert'" error

2014-01-14 Thread Mohanadarshan Vivekanandalingam
Hi Chamila, I think you server session is timeout.. Can you please check.. Reagrds, Mohan On Tue, Jan 14, 2014 at 1:45 PM, Chamila Wijayarathna wrote: > Hi all, > Thank you, I fixed that, but still it gives a error saying "The input > stream for an incoming message is null." > Since I couldn'