Re: [Dev] Branches and workflow for jaggery

2014-04-02 Thread Rushmin Fernando
Just thinking aloud since im interested in release management stuff ... AFAIK release branches are maintained even after the release to make sure a bug fix for a specific release can be done without worrying about further releases done (may be practically half baked code as well) in develop

[Dev] Kernel commit for patch0006

2014-04-02 Thread Chamath Gunawardana
Hi, Please commit the patch attached to [1] . Sent a pull request for the git kernel dev repo [2]. [1] - https://wso2.org/jira/browse/IDENTITY-2053 [2] - https://github.com/wso2-dev/carbon4-kernel/pull/15 -- Thanks, Best Regards, Chamath Gunawardana Technical Lead; WSO2 Inc. Mobile :

[Dev] [BAM] Permission denied exception for '.svn/entries'

2014-04-02 Thread Pandula Kariyawasam
Hi All, We are testing profiling feature on BAM241 with enabling depsync for Analyzer Dashboard nodes. - We observed following error [1] only on Dashboard node today, which was not there in same setup on previous days. - After clearing both local deployment folder svn working copy, still this

[Dev] Maven optimization variable error

2014-04-02 Thread Chathurika De Silva
Hi All I tried to use the following MAVEN_OPTS value which is in the documentation *MAVEN_OPTS=-Xms768m -Xmx3072m -XX:MaxPermSize=1200m* but it resulted in an error saying *Xms768m not found* When i used the following command worked *MAVEN_OPTS=-Xms1024m -Xmx4096m -XX:MaxPermSize=1024m* Is

[Dev] Activiti Clustering

2014-04-02 Thread Amal Gunatilake
Hi All, Since Activiti keeps all the data in the database, Activiti simply supports clustering by sharing the database among nodes. Following are the steps to setup Activiti cluster. 1. The default Activiti database setup has a H2 database and it creates in the memory. So once the server

[Dev] [BAM] moving towards Cassandra 2.x

2014-04-02 Thread Udara Rathnayake
Hi, Do we have any plans to move in to cassandra 2.x? There are bunch of improvements in CQL front[1] which help us to make next-cut of social framework smooth since we are using BAM storage to store and CQL to retrieve activities at the moment. Eg :- Unlike in 1.2 we don't need to worry about

[Dev] Maven archetype for generating generic test project for WOS2 products

2014-04-02 Thread Malintha Adikari
Hi, I am working on maven archetype for generating generic test project for WSO2 products[1]. Archetype has been deployed in WSO2 maven nexus [2] and users can generate basic test project which is compatible with Test Automation Framework using the archetype.

Re: [Dev] Maven archetype for generating generic test project for WOS2 products

2014-04-02 Thread Malintha Adikari
Hi, Following maven command can be used to generate test project form the archetype (syntax) mvn -B archetype:generate -DarchetypeRepository= http://maven.wso2.org/nexus/content/repositories/wso2maven2/ -DarchetypeGroupId=org.wso2.carbon.automation

Re: [Dev] Activiti Clustering

2014-04-02 Thread Chathura Ekanayake
Hi Amal, BPMN deployer in BPS maintains information about tenants' deployments in memory. Therefore, we have to extend the BPMN deployer to replicate this information among all members of a cluster. There are TODOs in the code to indicate the places where such replications have to be done. I

Re: [Dev] How to access a PKSC12 keystore file defined is ESB, in a mediator class

2014-04-02 Thread Rushmin Fernando
Thanks Malaka, I will give a try. On another note : Once the APNs connector for ESB is implemented users need to store two p12 files per iOS app. Whats the best way of doing this ? Using the ESB keystore feature or the registry ? Thanks /rushmin On Wed, Apr 2, 2014 at 9:35 AM, Malaka Silva

[Dev] [ESB][Integration] SSL error when establishing https between client and esb

2014-04-02 Thread Sudheera Palihakkara
Hi, I'm writing an integration test for esb and I wanted to create a https connection between esb and the client. In the test class I have set the system properties for keystore and truststore for the httpClient and in the esb side I'm loading the required keystores and truststores as well. when

[Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Rajith Vitharana
Hi all, I have implemented a publisher class which will pull data from some Rest API and publish those data to a BAM instance. There are more than one Rest API and I hope to develop separate publisher classes for each Rest API since I need to schedule them in different time intervals. For the

Re: [Dev] Maven optimization variable error

2014-04-02 Thread Gayan Yalpathwala
Hi Chathurika, I am afraid there occurs a serious issue if you copy and paste the MAVEN_OPTS string in WSO2 docs directly. This is because of character () where it should be () precisely. Please ack if this is what troubled you. Thanks, On Wed, Apr 2, 2014 at 12:01 PM, Chathurika De Silva

[Dev] SPML Complaint Provider

2014-04-02 Thread Isura Karunaratne
Hi, I am developing a SPML(Service Provisioning Markup Language) connector IS. Does anyone knows open source SPML complaint provider (Server) for testing the connector. Thanks -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810 ___

Re: [Dev] Maven optimization variable error

2014-04-02 Thread Chathurika De Silva
Hi Gayan You are correct, that is the problem. Shouldn't it be specified in the documentation? Not to copy paste? Thanks On Wed, Apr 2, 2014 at 4:51 PM, Gayan Yalpathwala gay...@wso2.com wrote: Hi Chathurika, I am afraid there occurs a serious issue if you copy and paste the MAVEN_OPTS

Re: [Dev] Maven optimization variable error

2014-04-02 Thread Gayan Yalpathwala
Hi Chathurika, Yes this should be fixed in docs. I have raised a documentation jira [1] accordingly. [1] https://wso2.org/jira/browse/DOCUMENTATION-682 Thanks, On Wed, Apr 2, 2014 at 4:58 PM, Chathurika De Silva chathuri...@wso2.comwrote: Hi Gayan You are correct, that is the problem.

Re: [Dev] Maven optimization variable error

2014-04-02 Thread Chathurika De Silva
Thank you Gihan On Wed, Apr 2, 2014 at 5:11 PM, Gayan Yalpathwala gay...@wso2.com wrote: Hi Chathurika, Yes this should be fixed in docs. I have raised a documentation jira [1] accordingly. [1] https://wso2.org/jira/browse/DOCUMENTATION-682 Thanks, On Wed, Apr 2, 2014 at 4:58 PM,

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Gayan Yalpathwala
Hi Rajith, Cron style in trigger would be appropriate for your case and you can still try time interval option as well. Since you are going to have a number of publisher classes, you shall have different scheduled tasks respectively. [1] would give you an idea about this and please refer [2] for

[Dev] Please merge carbon-commons #2 pull request.

2014-04-02 Thread Thilini Ishaka
Hi KasunG, I need to add fix for [1] to 4.3.0 but the carbon-commons Dev repo is not available at the moment. Will you be able to create the the dev repo (or do I have permissions to do that?) so that I can do the pull request for that. Currently it [2] has been done for the master since the dev

[Dev] Please merge AS integration commit #1 pull request.

2014-04-02 Thread Krishantha Samaraweera
Hi AS team, Please apply the pull request - https://github.com/wso2-dev/product-as/pull/1 This commit contain migrated test cases. Thanks, Krishantha. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise .

Re: [Dev] Activiti Clustering

2014-04-02 Thread Afkham Azeez
On Wed, Apr 2, 2014 at 1:22 PM, Chathura Ekanayake chath...@wso2.comwrote: Hi Amal, BPMN deployer in BPS maintains information about tenants' deployments in memory. Therefore, we have to extend the BPMN deployer to replicate this information among all members of a cluster. There are TODOs

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Rajith Vitharana
Hi Gayan, Thanks for the reply. As you said its better to use cron tasks for my requirement. Are there any way to load those tasks to ESB configuration other than configuring it one by one?(for example like write a synapse configuration and load it) and I would like those classes to have separate

Re: [Dev] [BAM] Permission denied exception for '.svn/entries'

2014-04-02 Thread Maninda Edirisooriya
Hi Pandula, I am not sure how this problem happens but this is when and why it happens as I think. When a toolbox is deployed, its extracted Jaggery directory in tmp directory, is copied to the Jaggery deployment directory (i.e. jaggeryapps ditectory) using a recursive function. When extracted,

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Isuru Udana
Hi Rajith, 'Task' is one of the artifact types in ESB. So similar to other artifact types like proxy services, sequences, etc. task has it's own synapse configuration. Even you write a custom task and deploy the jar into libs directory, you need to create a task configuration to trigger it.

Re: [Dev] [BAM] Permission denied exception for '.svn/entries'

2014-04-02 Thread Pandula Kariyawasam
Hi Maninda, I'll check this on the RC2 pack which will release today or tomorrow. Hope this change is there. But, what I couldn't understand is, that this was working yesterday also, and there were no new deployments AFAICR. Will check on new release, and will update you. Thanks, Pandula On

[Dev] Test migration - GREG status update

2014-04-02 Thread Dimuthu De Lanerolle
Hi All, We have started migrating GREG tests and we are hoping to migrate all tests in 'registry/tests-new' module initially. Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email :

[Dev] Implementing ODE Scheduler job redistribution for BPS cluster

2014-04-02 Thread Nandika Jayawardana
Hi All, BPEL processes in ode are executed by first writing the process initiating message to the database and running a job (a separate thread ) against it which will try to execute the process definition against the message and current process state. Ode job scheduler is what does the loading

[Dev] Representing Nillables in Avro Schema

2014-04-02 Thread Sohani Weerasinghe
Hi, If I want to create an Avro Schema from XML or XSD which contains nillable value as shown below how can I represent it in the Avro Schema ? xml : result xsi:nil=true /result xsd : xs:element name=result type=xs:string nillable=true/ In Avro Schema we can have unions (optional fields) as

[Dev] Configure APIManager Gateway Cache Timeout

2014-04-02 Thread Dulanja Liyanage
Hi, Would like to know if there's a place to configure Gateway cache timeout. Couldn't find in api-manager.xml. Thanks Dulanja -- Dulanja Liyanage Senior Software Engineer - WSO2 Inc. M: +94776764717 ___ Dev mailing list Dev@wso2.org

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Rajith Vitharana
Hi Isura, Thanks for your response. Let me explain bit more about what I need to accomplish. What my task need to do is retrieve some information from third party Rest API and publish those data to a BAM instance. Would it be able to do this without implementing custom classes? As you said I have

Re: [Dev] Configure APIManager Gateway Cache Timeout

2014-04-02 Thread Sanjeewa Malalgoda
As of now we cannot configure gateway cache timeouts. Its default cache timeout(15 minutes). Thanks sanjeewa. On Thu, Apr 3, 2014 at 12:05 AM, Dulanja Liyanage dula...@wso2.com wrote: Hi, Would like to know if there's a place to configure Gateway cache timeout. Couldn't find in

Re: [Dev] Configure APIManager Gateway Cache Timeout

2014-04-02 Thread Dulanja Liyanage
Thanks Sanjeewa! One more question related to that, when does a cache entry get added to the Gateway Key cache? I believe it's only when the Keymanager issues the token, isn't it? (Not each time client makes an API request) Thanks again for the help. On Wed, Apr 2, 2014 at 12:57 PM, Sanjeewa

Re: [Dev] Configure APIManager Gateway Cache Timeout

2014-04-02 Thread Nuwan Dias
It happens like this, 1. Client calls GW with token 2. Gateway checks whether the token is in its cache 3. If not, it calls the KM to validate the token 4. When the KM responds, the token is stored in the GW cache (this could be flagged as a valid or invalid token depending on the KM's response).

Re: [Dev] Branches and workflow for jaggery

2014-04-02 Thread Chan
We do indeed support older releases. Git provides a cool feature for this called tagging. We tag the master branch when ever we make a release. If we want to obtain the codebase of 1.0.0 - we just checkout the tag. Cheers~ On Wed, Apr 2, 2014 at 11:51 AM, Rushmin Fernando rush...@wso2.com

Re: [Dev] Configure APIManager Gateway Cache Timeout

2014-04-02 Thread Dulanja Liyanage
So the only way a client (still) get authorized even after GW cache is cleared, is if the token validity period is greater than 15 minutes. Just wanted to verify that. Thanks for the explanation Nuwan. On Wed, Apr 2, 2014 at 1:26 PM, Nuwan Dias nuw...@wso2.com wrote: It happens like this,

Re: [Dev] Representing Nillables in Avro Schema

2014-04-02 Thread Jasintha Dasanayake
On Wed, Apr 2, 2014 at 11:35 PM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, If I want to create an Avro Schema from XML or XSD which contains nillable value as shown below how can I represent it in the Avro Schema ? xml : result xsi:nil=true /result xsd : xs:element name=result

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Chanaka Fernando
Hi Rajith, You can use WSO2 Developer Studio to create a CAR file with all of your scheduled tasks and deploy it once. That would be the easier and recommended way. Please refer [1] for more information. https://docs.wso2.org/display/DVS360/Creating+ESB+Artifacts Thanks, Chanaka On Thu, Apr

Re: [Dev] [ESB] Scheduling Tasks

2014-04-02 Thread Rajith Vitharana
Hi Chanaka, Thanks for the info I'll refert the link :) Thanks, On Thu, Apr 3, 2014 at 8:25 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Rajith, You can use WSO2 Developer Studio to create a CAR file with all of your scheduled tasks and deploy it once. That would be the easier and

Re: [Dev] Test migration - GREG status update

2014-04-02 Thread Krishantha Samaraweera
Hi Dimuthu, Please start with a simple module first. tests-resources module is much easy to understand. Thanks, Krishantha. On Wed, Apr 2, 2014 at 11:05 PM, Dimuthu De Lanerolle dimut...@wso2.comwrote: Hi All, We have started migrating GREG tests and we are hoping to migrate all tests in

Re: [Dev] Branches and workflow for jaggery

2014-04-02 Thread Rushmin Fernando
The notion of tags are there in almost the all version control systems, though the how they store tags is different. It's true that Git has some addition features to work with tags. But the concept of a tag is to point to a snapshot of the code base which does not change. In Git when we

Re: [Dev] Representing Nillables in Avro Schema

2014-04-02 Thread Melan Nimesh
Hi, On Thu, Apr 3, 2014 at 6:05 AM, Jasintha Dasanayake jasin...@wso2.comwrote: On Wed, Apr 2, 2014 at 11:35 PM, Sohani Weerasinghe soh...@wso2.comwrote: Hi, If I want to create an Avro Schema from XML or XSD which contains nillable value as shown below how can I represent it in the

Re: [Dev] Test migration - GREG status update

2014-04-02 Thread Dimuthu De Lanerolle
Hi Krishantha, Noted. I will start with tests-resources module. Regards On Thu, Apr 3, 2014 at 10:16 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Dimuthu, Please start with a simple module first. tests-resources module is much easy to understand. Thanks, Krishantha. On