Re: [Dev] Python data publisher in PPAAS

2015-11-09 Thread Imesh Gunaratne
Yes, source code can be found here: https://github.com/apache/stratos/tree/master/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge On Mon, Nov 9, 2015 at 6:27 AM, Reka Thirunavukkarasu wrote: > Hi Malith, > >

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-09 Thread Jorge
Hi Niranda, any idea about this issue? Regards, Jorge. 2015-11-03 19:43 GMT-05:00 Jorge : > Hi Niranda, > I try with this query: SELECT COUNT(temp) FROM > temperaturasfechadesagregada > > And the result = 20596 > > Attached the log with the errors and

[Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Gayan Gunarathne
The command that we used to retrieve the configurator_version is not working as we don't have a pom in the base-image.May be we get the configurator_version from parent pom and but seems that command is not working when we point to the parent pom.We may not need to read this configurator_version

Re: [Dev] WSO2 DAS 3.0.0 issue: failed to get records from table

2015-11-09 Thread Nayomi Dayarathne
Hi Jorge, I would like to add a comment about one of the errors[1] you have mentioned in your mail. [1] TID: [-1234] [] [2015-11-03 18:36:55,956] ERROR {org.apache.hadoop.util.Shell} - Failed to locate the winutils binary in the hadoop binary path {org.apache.hadoop.util.Shell}

Re: [Dev] How to pass pair of values to Message-contest from proxy operation

2015-11-09 Thread Malaka Silva
yes it should. Anyway all will be available in function_stack On Mon, Nov 9, 2015 at 3:36 PM, Rajjaz Mohammed wrote: > Hi Malaka, > in case [1] / [2] we can create the parameters Dynamically but Class > mediator only allow the values inside the class which are already set as >

[Dev] [Registry] CustomQueryTest fails in windows environment

2015-11-09 Thread Manuri Amaya Perera
Hi Greg team, Some registry core tests in [1] are failing in windows environment. This has affected kernel 4.4.1 too. For more information please refer [2]. Will you be able to look into this. [1]

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Imesh Gunaratne
On Mon, Nov 9, 2015 at 12:40 PM, Akila Ravihansa Perera wrote: > > > I don't think entire script needs to be run in sudo mode. There are some > maven build commands if run in sudo mode it will try to download artifacts > for root user's maven repo space. Also there are some

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Akila Ravihansa Perera
> > More importantly [2] explains why root permission is needed and how sudo > can be avoided by adding the user to docker group (not sudoers group). > > *The docker daemon always runs as the root user, and since Docker version > 0.5.2, the docker daemon binds to a Unix socket instead of a TCP

Re: [Dev] Python data publisher in PPAAS

2015-11-09 Thread Chamila De Alwis
Hi Malith, Sorry for the delayed response. You can refer to [1] to see how the Python Thrift publisher is used. Create a ThriftPublisher object using the Thrift receiver url, the credentials and the Stream Definition. The ThriftPublisher class will connect to the Thrift receiver and define the

Re: [Dev] Python data publisher in PPAAS

2015-11-09 Thread Malith Dhanushka
Thanks guys On Mon, Nov 9, 2015 at 7:50 PM, Imesh Gunaratne wrote: > Yes, source code can be found here: > > > https://github.com/apache/stratos/tree/master/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/modules/databridge >

[Dev] Connection issue in Salesforce Streaming API

2015-11-09 Thread Hariprasath Thanarajah
Hi all, I am working on Salesforce Streaming Inbound. There is only problem i noticed in my code is that if there is a network failure then the CometD session is expired , from that it can't reconnect because the HttpSession is remains as same but the cometD Rehandshake happened with different

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Reka Thirunavukkarasu
Hi Pubudu, On Mon, Nov 9, 2015 at 11:00 PM, Pubudu Gunatilaka wrote: > Hi Gayan, > > It is not referring the base image pom file but the pom file in common > directory. This works fine for me. But if you check the distribution we may >

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Reka Thirunavukkarasu
Hi On Tue, Nov 10, 2015 at 8:07 AM, Akila Ravihansa Perera wrote: > More importantly [2] explains why root permission is needed and how sudo >> can be avoided by adding the user to docker group (not sudoers group). >> >> *The docker daemon always runs as the root user, and

[Dev] File name validation regular expression in carbon.xml

2015-11-09 Thread Prasad Tissera
Hi Kernel Team, We think it is better to have a property to configure a file name regex in carbon.xml to validate user entered file names. Created a JIRA [1]. [1]. https://wso2.org/jira/browse/CARBON-15625 Regards, Prasad. -- Prasad Tissera Software Engineer. Mobile : +94777223444

Re: [Dev] Build fails product-apim : org.wso2.carbon.forum.server.feature:zip:2.0.1-SNAPSHOT is missing in nexus repo

2015-11-09 Thread Ishara Cooray
Thanks Udara. Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware On Tue, Nov 10, 2015 at 1:44 AM, Udara Rathnayake wrote: > You need to build carbon-apimgt before building product-apim.Try that if > you

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Imesh Gunaratne
On Mon, Nov 9, 2015 at 12:00 PM, Reka Thirunavukkarasu wrote: > > > Another issue was in Mac is that i was unable to build the docker image > with sudo permission. > We need to remove sudo from this command/bash script: sudo docker build -t

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Pubudu Gunatilaka
Hi Gayan, It is not referring the base image pom file but the pom file in common directory. This works fine for me. But if you check the distribution we may need to fix this properly as we try to build configurator which is not included in the distribution itself. @Reka: We added sudo permission

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Akila Ravihansa Perera
Hi, On Mon, Nov 9, 2015 at 11:00 PM, Imesh Gunaratne wrote: > > We need to remove sudo from this command/bash script: > sudo docker build -t wso2/base-image:${wso2_base_image_version} . > > If sudo is needed the entire script should be run in that mode. > I don't think entire

[Dev] [DEV] Integration tests run before deploying web app

2015-11-09 Thread Geesara Prathap
Hi All, I wrote some integration test cases to test a web service. Here is my the build section of maven configuration looks like. * * ** ** *maven-war-plugin* *2.3* ** *src/main/webapp/WEB-INF/web.xml*

Re: [Dev] [PPaaS] Docker base image creation scirpt

2015-11-09 Thread Reka Thirunavukkarasu
Hi Gayan, Another issue was in Mac is that i was unable to build the docker image with sudo permission. Does anyone aware of how to execute docker termination from Docker Quickstart Terminal with sudo permission? Thanks, Reka On Mon, Nov 9, 2015 at 8:05 PM, Gayan Gunarathne

[Dev] Build fails product-apim : org.wso2.carbon.forum.server.feature:zip:2.0.1-SNAPSHOT is missing in nexus repo

2015-11-09 Thread Ishara Cooray
I get below error while building product-apim from source. [ERROR] Error occured when processing the Feature Artifact: org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature:2.0.1-SNAPSHOT org.apache.maven.plugin.MojoExecutionException: Error occured when processing the Feature Artifact:

Re: [Dev] Build fails product-apim : org.wso2.carbon.forum.server.feature:zip:2.0.1-SNAPSHOT is missing in nexus repo

2015-11-09 Thread Udara Rathnayake
You need to build carbon-apimgt before building product-apim.Try that if you haven't done already On Mon, Nov 9, 2015 at 3:02 PM, Ishara Cooray wrote: > I get below error while building product-apim from source. > > [ERROR] Error occured when processing the Feature Artifact: >

[Dev] Synapse-2.1.4-wso2v1 Released

2015-11-09 Thread Jagath Sisirakumara Ariyarathne
Hi, Please note $subject. org.apache.synapse Apache-Synapse 2.1.4-wso2v1 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev mailing list Dev@wso2.org

[Dev] [APIM 1.10.x] Error while adding API from Tenant user

2015-11-09 Thread Malintha Adikari
Hi, I am getting following error while publishing Weather API from tenant user. I don't get this issue for super tenant. What is the possible reason for this issue ? [2015-11-10 06:50:30,192] ERROR - GovernanceArtifactImpl Error in associating lifecycle for the artifact. id:

[Dev] Python data publisher in PPAAS

2015-11-09 Thread Malith Dhanushka
Hi Folks, We have a requirement for a python data publisher for DAS and got to know that this has already implemented in PPAAS. Could you please provide some details on what extent that was done in terms of functionality. (i.e - authentication, even bundling, message queuing..) Thanks Malith --

Re: [Dev] WSO2EMM 2.0.0 latest build pack - 30/10/2015

2015-11-09 Thread Geeth Munasinghe
Hi Chathurika, Thanks for the update. We are working on resolving all the issues before the alpha release. We will be fixing all the issues related to DB scripts as well before the alpha release. We hope to release alpha by Friday if our dependent components from other teams are released.

Re: [Dev] Python data publisher in PPAAS

2015-11-09 Thread Reka Thirunavukkarasu
Hi Malith, Chamila has implemented python data publisher in PPaaS. Hope he can help you with it. Thanks, Reka On Mon, Nov 9, 2015 at 4:38 PM, Malith Dhanushka wrote: > Hi Folks, > > We have a requirement for a python data publisher for DAS and got to know > that this has

Re: [Dev] Carbon 4.2.0 patch0009 build failes

2015-11-09 Thread Ashwin Nallaperuma
Hi Aruna, patch0012 also has the same issue as patch0009 had to update orbit/hazelcast/3.0.1.wso2v1/pom.xml with org.apache.felix maven-bundle-plugin 1.4.0 true to get it built, other

Re: [Dev] How to pass pair of values to Message-contest from proxy operation

2015-11-09 Thread Rajjaz Mohammed
Hi Malaka, in case [1] / [2] we can create the parameters Dynamically but Class mediator only allow the values inside the class which are already set as parameters for that class mediator. class mediator is it support for dynamic parameters? On Wed, Nov 4, 2015 at 10:57 AM, Rajjaz Mohammed

Re: [Dev] Two-way dependencies in G-REG 5.1

2015-11-09 Thread John Hawkins
Hmm, I can't guess what the use-cases are that only require only-way relations. However, the intuitive logic is for two-way. It is simply not possible to have a one-way relation with something like owner/owned. If someone doesn't want to see those relations at a later date then fair enough, we

Re: [Dev] ESB 4.10 - Revamping mediation statistics and message tracing

2015-11-09 Thread Viraj Senevirathne
Hi All, We are planning to removing following features as we are introducing new improved features that enhance and extend the existing functionality. ESB 4.10.0 release will not have following sections in the management console UI. *Monitoring Section* - Mediation Statistics - SOAP

Re: [Dev] [PPaaS] Reading dasStatsPublisherEabled value and meteringDashboardUrl at web application startup time and set those as application variables

2015-11-09 Thread Thanuja Uruththirakodeeswaran
Hi Manu, Metering dashboard url is in cartridge-config.properties file[1]. Is there a way to read this property file directly using jaggery? I can load the file using carbon module (carbon.server.loadConfig( 'cartridge-config.properties');). But don't know how to read a property within this

Re: [Dev] Exception while reading time format in CEP

2015-11-09 Thread Sajith Ravindra
Hi Yasara, Apparently, there's a problem with your time stamp Wed Aug 27 13:08:45 2008 it does not have the sign(+/-) in timezone. It should be corrected as follows, Wed Aug 27 13:08:45 + 2008 Please refer http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html for

[Dev] Cipher Tool not available in DSS 3.5.0

2015-11-09 Thread Niranjan Karunanandham
Hi DSS team, In the DSS 3.5.0, the cipher tools (i.e., cipher-text.properties, cipher-tool.properties and org.wso2.ciphertool-1.0.0-wso2v3.jar, ciphertool.bat and ciphertool.sh) are not there in the default pack. >From kernel 4.4.0, this feature does not come with Kernel. Therefore it needs to be

[Dev] ESB 4.10 - Revamping mediation statistics and message tracing

2015-11-09 Thread Kasun Indrasiri
Hi, As part of the ongoing efforts for revamping mediation statistics and message tracing in ESB, we have to get rid of most of the existing UIs and configurations in the ESB management console. Jagath/Viraj : Can you please list down the areas that we gonna remove from ESB 4.10 and the new

Re: [Dev] ApiStoreExecutor compatibility with APIM 1.9.1

2015-11-09 Thread Chamin Dias
[This mail thread has been moved to Engineering mailing list titled as "APIM 191 + G-REG 5.1.0 Integration Fix"] Thanks. On Fri, Nov 6, 2015 at 12:15 PM, Chamin Dias wrote: > Hi, > > We have reproduced the issue. Also we did some investigation of the code > execution flow and

Re: [Dev] WSO2EMM 2.0.0 latest build pack - 30/10/2015

2015-11-09 Thread Chathurika De Silva
Hi All Currently in the above pack, the following main scenarios cannot be executed 1. Change the default H2 database 2. Applying policies 3. Secondary user store association for Oracle, MSSQL 4. Device not being able to be enrolled for a tenant user 5. Email as a username cannot be used 6.

Re: [Dev] [PPaaS] Reading dasStatsPublisherEabled value and meteringDashboardUrl at web application startup time and set those as application variables

2015-11-09 Thread Nipuna Chandradasa
Hi Thanuja, If this file is not loading before this initScript runs can't we call this property file inside the initScript using java (We can write java inside a Jaggery) and then set the properties and then we can use Process method in jag to access the properties .. ??? Here's how we

Re: [Dev] Exception while reading time format in CEP

2015-11-09 Thread Yasara Dissanayake
Hi Sajith, Thank You. I was use stream simulator for testing and + was not send trough it. Now it's working. Regards, Yasara On Mon, Nov 9, 2015 at 2:20 PM, Sajith Ravindra wrote: > Hi Yasara, > > Apparently, there's a problem with your time stamp > > Wed Aug 27 13:08:45