[Dev] Training Project - CEP Extension to Run Machine Learning Models

2014-06-08 Thread Supun Sethunga
Hi, Please refer [1] for the source code of the CEP extension. Currently I am working on writing an article for the above scenario. Will share the first draft as soon as I finish. [1] https://github.com/SupunS/mlearn Thanks, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterp

Re: [Dev] WSO2 Identity Server 5.0.0 - chpasswd.sh not working

2014-06-08 Thread Asela Pathberiya
On Mon, Jun 9, 2014 at 1:30 AM, Samisa Abeysinghe wrote: > http://stackoverflow.com/questions/24105848/wso2-identity-server-5-0-0-chpasswd-sh-not-working > > I get the same error as the one this user has reported. Yes.. By default, Identity Server uses LDAP user store and chpasswd script file on

Re: [Dev] [API-M] [1.7.0] Can't create API's with previously used APInames.

2014-06-08 Thread Sumedha Rubasinghe
If you add a scope, there would an entry going into 'IDN_OAUTH2_RESOURCE_SCOPE' table as well. This also needs to be deleted. This is a known issue. On Mon, Jun 9, 2014 at 8:45 AM, Nalin Chamara wrote: > Hi Sanjiva, > > You have to create an API, subscribe to it, invoke the API, then delete >

Re: [Dev] [API-M] [1.7.0] Can't create API's with previously used APInames.

2014-06-08 Thread Nalin Chamara
Hi Sanjiva, You have to create an API, subscribe to it, invoke the API, then delete it. After that, if you try to create another API with the previously used name, then the above mentioned problem will occur. Just creating and deleting the API won't do. The reason is, an entry to AM_APPLICATION

Re: [Dev] [API-M] [1.7.0] Can't create API's with previously used API names.

2014-06-08 Thread Nuwan Dias
Hi, I think the problem occurs if you follow the steps below. 1. Create and API and publish 2. Subscribe from the Store and generate keys. 3. Unsubscribe the subscription created above. 4. Remove the API from the publisher 5. Create the API using the same name and publish 6. Try to subscribe agai

Re: [Dev] Read property file using Jaggery

2014-06-08 Thread Dakshika Jayathilaka
Hi, Here is complete sample code on madhuka mentioned approach. http://wso2life.jayathilaka.org/2014/06/read-wso2-carbon-config-using-jaggeryjs.html You can set it to server session and read it.. session.put("store_conf", conf); var cartridgeStoreConf = session.get("store_conf"); *Dakshika Ja

Re: [Dev] [API-M] [1.7.0] Can't create API's with previously used API names.

2014-06-08 Thread Sanjeewa Malalgoda
It seems API go deleted from registry and still there in database so we may need to debug and see what went wrong. But when i tried same from API Manager 1.7.0 UI things worked as expected. See following logs. Created deleted same API multiple times without an issue. [2014-06-09 07:40:25,735] I

[Dev] WSO2 Identity Server 5.0.0 - chpasswd.sh not working

2014-06-08 Thread Samisa Abeysinghe
http://stackoverflow.com/questions/24105848/wso2-identity-server-5-0-0-chpasswd-sh-not-working I get the same error as the one this user has reported. Thanks, Samisa... Samisa Abeysinghe Vice President Delivery WSO2 Inc. http://wso2.com ___ Dev mail

Re: [Dev] [Architecture] Introducing JSR-223 into Jaggery along with Nashorn Support

2014-06-08 Thread Dakshika Jayathilaka
+1 for Nashron integration. I think we need give some priority to Package manager. AFAIK nodejs[1] get huge demand and community support due to NPM[2] and it would be great to have similar Avatar.js[3]. [1] nodejs.org [2] https://www.npmjs.org/ [3] https://avatar-js.java.net/ *Dakshika Jayathilak

[Dev] WSO2 ES 1.1.0 asset search API via name

2014-06-08 Thread Dakshika Jayathilaka
Hi, i'm looking for $subject. Seems current API support with {provider}/{name}. I tried to make it support for name, but it doesn't work as expected. Normally search should supports for string base pattern match. Is there any proper way to use current ES search and expose to API? Regards, *Daks

Re: [Dev] [ESB] [Payload Factory Mediator] - How to remove namespaces

2014-06-08 Thread Rajkumar Rajaratnam
Hi, Yes. It works fine. Thanks. On Sun, Jun 8, 2014 at 3:48 PM, Shafreen Anfar wrote: > Hi Rajkumar, > > It is because synapse adds a default namespace. try this. It should solve > the problem. > > > > > > > $1 > >

Re: [Dev] [ESB] [Payload Factory Mediator] - How to remove namespaces

2014-06-08 Thread Shafreen Anfar
Hi Rajkumar, It is because synapse adds a default namespace. try this. It should solve the problem. $1 http://services.samples"; evaluator="xml"

Re: [Dev] [ESB] [Payload Factory Mediator] - How to remove namespaces

2014-06-08 Thread Indika Sampath
Hi Rajkumar, Following documentation [1] might be useful to achieve what you want. Refer to the "Suppressing the namespace" section. [1] https://docs.wso2.org/display/ESB481/PayloadFactory+Mediator Cheers! On Sun, Jun 8, 2014 at 9:30 AM, Rajkumar Rajaratnam wrote: > Hi, > > I am trying to us