Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi Irham, Thank you for the reply. What I actually need to do is to create one tenant and make him execute a certain process and the other one should log in and some other process. Can you please elaborate how can I get each user to perform their respective activities..?? Thanx..!! On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal iq...@wso2.com wrote: Hi Pasadi, You can use automation.xml[1] to create multiple tenants. You can define your tenants inside userManagement tag and inside listenerExtensions tag add the extension class[2]. This automation.xml[1] already has those configuration. [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension Thanks, Iqbal On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi, I am in the process of implementing a test case where initially 2 tenant users should be able to log in. How should I do this..?? Thanx..!!! -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please merge the PR for Product-as
Hi, Please merge the pull request [1] for product-as [1] https://github.com/wso2/product-as/pull/40 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] carbon-commons: PR #4 adding databridge thrift receiver
Hi Kasun, On Tue, Jan 27, 2015 at 6:52 PM, KasunG Gajasinghe kas...@wso2.com wrote: Hi Rajeev, This pull request is not merged to carbon-commons repo yet [1]. And, does it need to be? As I see, the org.wso2.carbon.databridge.receiver.thrift component is already available in carbon-commons. If it's already available we can ignore this. This is a very old pull request made when we were migrating to git and it can be obsolete now. Thanks Rajeev Please reply ASAP since we are planning to release carbon-commons, and we need to finalize all the pull requests. [1] https://github.com/wso2/carbon-commons/pull/4 Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Rajeev Sampath Senior Software Engineer WSO2, Inc.; http://www.wso2.com. Mobile: * +94716265766* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] carbon-commons: PR #4 adding databridge thrift receiver
Thanks Rajeev. On Tue, Jan 27, 2015 at 7:06 PM, Rajeev Sampath raje...@wso2.com wrote: Hi Kasun, On Tue, Jan 27, 2015 at 6:52 PM, KasunG Gajasinghe kas...@wso2.com wrote: Hi Rajeev, This pull request is not merged to carbon-commons repo yet [1]. And, does it need to be? As I see, the org.wso2.carbon.databridge.receiver.thrift component is already available in carbon-commons. If it's already available we can ignore this. This is a very old pull request made when we were migrating to git and it can be obsolete now. Thanks Rajeev Please reply ASAP since we are planning to release carbon-commons, and we need to finalize all the pull requests. [1] https://github.com/wso2/carbon-commons/pull/4 Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org -- Rajeev Sampath Senior Software Engineer WSO2, Inc.; http://www.wso2.com. Mobile: * +94716265766 %2B94716265766* -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Hi Bhathiya, There is a problem with the license header. With that new model, we only put the year e.g. 2015 On Tue, Jan 27, 2015 at 3:13 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. +1 for putting Dynamic imports for this reason. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [SS] Update Hadoop version to 2.6.0?
Hi Shani, +1, given that Hadoop 2.6.0 is stable enough and there ain't going to be any interruption/delay upon SS 1.5.0 plans as a result of adapting this into the platform at this stage of the release. @Deep, please confirm if this affect any of the development tasks you're into right now. Cheers, Prabath On Tue, Jan 27, 2015 at 4:50 PM, Shani Ranasinghe sh...@wso2.com wrote: Hi Prabath, Should we go ahead and update to 2.6.0 ? In the 2.5.2 release they have mentioned that the 2.5.2 release fixes some critical issues in the 2.5.1 release. I am not sure what they are though. Do you think it is safer and it makes sense to straight away move into 2.6.0? @Deep, would this affect your work? p.s we are currently working on 2.5.1, which we are planning to release with SS 1.5.0. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [CDM] getAllPaginatedPublishedAPIs not parsing properly
Hi, We have integrated API manager 4.3 snapshot features into CDM with store and publisher apps. When navigating to API store we see a blank content and footer. Even the login page does not popup correctly. When digging into it more found that this is because the getAllPaginatedPublishedAPIs returns following result. {apis : [], totalLength : 0} Once we hard coded the result to empty braces ( {} ) it parses correctly and loads the store app correctly. Is there anything we are doing wrong here to get this result or does it missing something? Seems like it is a parsing here since it works well with a hard coded input as above. Regards, Dilshan -- Dilshan Edirisuriya Senior Software Engineer - WSO2 Mob: + 94 777878905 http://wso2.com/ https://www.linkedin.com/profile/view?id=50486426 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
I think utils.convertE4XtoJSON() expects the root element of the XML file as the argument not the whole XML file as a string. On Tue, Jan 27, 2015 at 11:19 PM, Sabra Ossen sa...@wso2.com wrote: I didn't include it in any of my code yet. I tried it to the above mentioned simple xml string. Here is the code. % var utils = require('utils').xml; var xmlString = employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees; var employeesJson = utils.convertE4XtoJSON(xmlString); print(employeesJson); % On Tue, Jan 27, 2015 at 11:07 PM, Farasath Ahamed farasa...@wso2.com wrote: Can you please post your code here? (the part you use this conversion may be) On Tue, Jan 27, 2015 at 10:35 PM, Sabra Ossen sa...@wso2.com wrote: Hi, The parameter passed for the method convertE4XtoJSON is String right. But I get the following error when I use the code. *org.mozilla.javascript.EcmaError: TypeError: Cannot find function localName in object employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees. (xml#49)* Is there any specific format the string needs to be in? On Tue, Jan 27, 2015 at 9:56 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
Hi, I saw in EMM code this have done using utility.js file[1]. I have tested it and it works properly.below is the code I used. var log = new Log(); var utility = require('/modules/utility.js').rxt_utility(); var data = 'employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees'; var xml = new XML(data) var employeesJson = utility.xml.convertE4XtoJSON(xml); log.info(employeesJson); you have to copy the utility.js file to modules directory to get the required functionality. [1] https://github.com/wso2/product-emm/blob/master/modules/apps/publisher/modules/utility.js Thanks On Tue, Jan 27, 2015 at 11:47 PM, Farasath Ahamed farasa...@wso2.com wrote: I think utils.convertE4XtoJSON() expects the root element of the XML file as the argument not the whole XML file as a string. On Tue, Jan 27, 2015 at 11:19 PM, Sabra Ossen sa...@wso2.com wrote: I didn't include it in any of my code yet. I tried it to the above mentioned simple xml string. Here is the code. % var utils = require('utils').xml; var xmlString = employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees; var employeesJson = utils.convertE4XtoJSON(xmlString); print(employeesJson); % On Tue, Jan 27, 2015 at 11:07 PM, Farasath Ahamed farasa...@wso2.com wrote: Can you please post your code here? (the part you use this conversion may be) On Tue, Jan 27, 2015 at 10:35 PM, Sabra Ossen sa...@wso2.com wrote: Hi, The parameter passed for the method convertE4XtoJSON is String right. But I get the following error when I use the code. *org.mozilla.javascript.EcmaError: TypeError: Cannot find function localName in object employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees. (xml#49)* Is there any specific format the string needs to be in? On Tue, Jan 27, 2015 at 9:56 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Merged the PR. I hope you've tested this orbit bundle well. Once released we can't modify its contents. Maheshika, can you release this orbit bundle? On Tue, Jan 27, 2015 at 10:41 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, On Tue, Jan 27, 2015 at 7:42 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya, There is a problem with the license header. With that new model, we only put the year e.g. 2015 Fixed this too. Thanks, Bhathiya On Tue, Jan 27, 2015 at 3:13 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. +1 for putting Dynamic imports for this reason. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Hi Sameera Bhathiya Deployed successfully. On Wed, Jan 28, 2015 at 12:45 AM, Sameera Jayasoma same...@wso2.com wrote: Merged the PR. I hope you've tested this orbit bundle well. Once released we can't modify its contents. Maheshika, can you release this orbit bundle? On Tue, Jan 27, 2015 at 10:41 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, On Tue, Jan 27, 2015 at 7:42 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya, There is a problem with the license header. With that new model, we only put the year e.g. 2015 Fixed this too. Thanks, Bhathiya On Tue, Jan 27, 2015 at 3:13 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. +1 for putting Dynamic imports for this reason. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Danesh Kuruppu
Congratulations Danesh ! On Tue, Jan 27, 2015 at 1:38 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Congratulations Danesh !!! On Tue, Jan 27, 2015 at 9:10 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Congratulations Danesh !! On Tue, Jan 27, 2015 at 8:47 AM, Sagara Gunathunga sag...@wso2.com wrote: Its my pleasure to welcome Danesh Kuruppu as a WSO2 committer. Danesh, welcome aboard and keep up the good work. Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Amalka Subasinghe
Congrats Amalka..! On Tue, Jan 27, 2015 at 2:14 PM, Ravindra Ranwala ravin...@wso2.com wrote: Congrats Amalka ! On Tue, Jan 27, 2015 at 12:40 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations..! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Jan 27, 2015 at 12:33 PM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations Amalka!! On Tue, Jan 27, 2015 at 12:15 PM, Dinithi De Silva dinit...@wso2.com wrote: Congratulations Amalka On Tue, Jan 27, 2015 at 11:57 AM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Tue, Jan 27, 2015 at 11:54 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Congratulations Amalka!! On Tue, Jan 27, 2015 at 11:53 AM, Sajith Kariyawasam saj...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:49 AM, Harsha Kumara hars...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:22 AM, Roshan Deniyage rosh...@wso2.com wrote: Congrats Amalka Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Tue, Jan 27, 2015 at 11:04 AM, Lasindu Charith lasi...@wso2.com wrote: Congratulations Amalka ...!!! On Mon, Jan 26, 2015 at 9:11 PM, Supun Sethunga sup...@wso2.com wrote: Congratz! :) On Tue, Jan 27, 2015 at 10:39 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Amalka!!! On Tue, Jan 27, 2015 at 10:24 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, It is with great pleasure that WSO2 welcomes Amalka Subasinghe as a committer! Congratulations! thanks, Dimuthu -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com | a: #20, Palm Grove, Colombo 03 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Denuwanthi De Silva Software Engineer; WSO2 Inc.; http://wso2.com, Email: denuwan...@wso2.com Blog: https://denuwanthi.wordpress.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770
[Dev] Please merge the following Test case for Product-as
HI Please review and merge the following PR[1] on following JIRA [2] [1] https://github.com/wso2/product-as/pull/41 [2] https://wso2.org/jira/browse/WSAS-1798 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Missing features in Release Nexus Repo
Hi Sameera, I've found the all necessary features in wso2-public repo. Sorry for the inconvenience caused. Anyway why do we have 2 nexus repos [1] [2] ? Is it ok to get the released artifacts from [1] for a product release? [1]. http://maven.wso2.org/nexus/content/groups/wso2-public/ [2]. http://maven.wso2.org/nexus/content/repositories/public/ Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Tue, Jan 27, 2015 at 12:08 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Harshan. I've got few questions 1) What is the carbon version that guys depends on? 2) Only following features from the above list has been release in chunk -14 as per this link http://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk14/product-releases/chunk-14/features/pom.xml org.wso2.carbon.databridge.datapublisher.feature org.wso2.carbon.registry.extensions.feature org.wso2.carbon.registry.contentsearch.feature org.wso2.carbon.governance.metadata.feature org.wso2.carbon.governance.lifecycle.management.feature Thanks, Sameera. On Tue, Jan 27, 2015 at 11:51 AM, Harshan Liyanage hars...@wso2.com wrote: Hi all, Following carbon features have released under chunk-14 [1] available in snapshots repo [2]. But those features are not available in the release nexus repo [3]. We are expecting to do a CDM M1 release today. We have a blocker due to the unavailability of those features in nexus release repo. Could the respective product-teams do the needful please? org.wso2.carbon.webapp.mgt.feature org.wso2.carbon.transport.mgt.feature org.wso2.carbon.service.mgt.feature org.wso2.carbon.security.mgt.server.feature org.wso2.carbon.security.mgt.feature org.wso2.carbon.module.mgt.feature org.wso2.carbon.as.runtimes.cxf.feature org.wso2.carbon.logging.mgt.feature org.wso2.carbon.databridge.datapublisher.feature org.wso2.carbon.event.server.feature org.wso2.carbon.registry.core.server.feature org.wso2.carbon.registry.ui.menu.feature org.wso2.carbon.registry.resource.properties.feature org.wso2.carbon.registry.associations.dependencies.feature org.wso2.carbon.registry.community.features.feature org.wso2.carbon.registry.community.features.server.feature org.wso2.carbon.registry.extensions.feature org.wso2.carbon.registry.ws.feature org.wso2.carbon.registry.ui.menu.governance.feature org.wso2.carbon.registry.contentsearch.feature org.wso2.carbon.governance.metadata.feature org.wso2.carbon.governance.lifecycle.management.feature [1]. http://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk14/features/ [2]. http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/ [3]. http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/ Thanks, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge the PR for Product-as
Merged. On Tue, Jan 27, 2015 at 1:36 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Please merge the pull request [1] for product-as [1] https://github.com/wso2/product-as/pull/40 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Danesh Kuruppu
Congratulations Danesh!!! On Tue, Jan 27, 2015 at 8:47 AM, Sagara Gunathunga sag...@wso2.com wrote: Its my pleasure to welcome Danesh Kuruppu as a WSO2 committer. Danesh, welcome aboard and keep up the good work. Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] Dependency Graph UI Implementation Summary
This is should be added to *Dependency Graph** UI implementation Phase 2* (Extra Features) - Graph outer click, close detail view window - Complete! On Tue, Jan 27, 2015 at 12:41 PM, Jerad Rutnam je...@wso2.com wrote: Hi, Please find below the tasks complete and pending on G-Reg dependency graph UI implementation, - UXD for Impact Analysis view (Dependency Graph) - Gathering requirements documentation - Complete! - Research on best practise to show dependency etc ... - Complete! - Fixing UI issues on current feature (which is developed already) - Complete! - Designing new interface - Complete! - Deciding on improvements features needs to add - Complete! - Understanding learning D3 library basics - Complete! - Dependency Graph UI implementation Phase 1 (Basic Features) - Implementing basic UI design - Complete! - Making the graph screen responsive - Complete! - Tweaking resource locate feature and styling - Complete! - Develop function to on resource single click detailed view - Complete! - Styling on resource double click highlighting resource closes connections - Complete! - Develop function to parent resource highlight - Complete! - Resource relationship tool-tip styling - Complete! - Implementing function: Icons for common resources with standard icon for phase 1 - Complete! - Dependency Graph UI implementation Phase 2 (Extra Features) - Research on D3 force directed graph zoom out to fit screen position center - Working on - Develop function to zoom out graph fit to screen - Complete! - Improving zoom out graph to fit screen function to auto center - Working on - Research on svg print methods - Working on - Implementing function to print generated svg graph - Pending - Other UI style tweaks - Working on - Dependency Graph UI implementation Phase 3 (Improve Features) - Deciding designing icon set for middleware resources - Pending - Making a glyph-icon font using the designed icon set - Pending - Dependency Graph UI implementation Phase 4 (Feature Issues Fixing) - Research for a workaround solution to fix text overlapping - Working on - Implementing function to fix text overlapping - Pending - Research on solution for svg z-indexing - Working on - Develop function to z-index (layer up) resources on double click highlight - Pending - Additional UI style tweaks - Pending I will update back if I missed anything to add here. Other than that, i'm planing on completing the task list on Phase 2 early as possible. Thinking it will take maximum 1 1/2 weeks in worst comes. As i'm still stuck with graph centering issue searching for a work-around for it. Thanks, Jerad -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Danesh Kuruppu
Congratulations Danesh !!! On Tue, Jan 27, 2015 at 9:10 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Congratulations Danesh !! On Tue, Jan 27, 2015 at 8:47 AM, Sagara Gunathunga sag...@wso2.com wrote: Its my pleasure to welcome Danesh Kuruppu as a WSO2 committer. Danesh, welcome aboard and keep up the good work. Thanks ! -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services;http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] - Start up error - ERROR {org.wso2.carbon.social.sql.internal.SQLSocialComponent}
Hi Prasanna, It seems that Constants.SOCIAL_DB_NAME value in [1] is not same as the expected value as [2] in GREG master-datasources.xnl file. Update master-datasources.xml in greg source accordingly as in [3]. i.e: Remove datasource SOCIAL_CASSANDRA_DB, instead add WSO2_SOCIAL_DB. [1] https://github.com/wso2/carbon-store/blob/master/components/social/org.wso2.carbon.social.sql/src/main/java/org/wso2/carbon/social/sql/JDBCPersistenceManager.java#L51 [2] https://github.com/wso2/carbon-store/blob/master/components/social/org.wso2.carbon.social.sql/src/main/java/org/wso2/carbon/social/sql/Constants.java#L17 [3] https://github.com/wso2/product-es/blob/master/modules/distribution/src/repository/conf/datasources/master-datasources.xml Thanks! -Ayesha On Tue, Jan 27, 2015 at 11:22 AM, Prasanna Dangalla prasa...@wso2.com wrote: Hi ES team, We are getting the following error when starting G-Reg 5.0.0 pack with a mounting setup using MySQL as the database. Can you please look in to this issue ASAP because this is blocking our M1 release. JIRA: https://wso2.org/jira/browse/REGISTRY-2401 [2015-01-27 10:34:45,201] INFO {org.wso2.carbon.social.sql.internal.SQLSocialComponent} - Social Activity service is activated with SQL Implementation [2015-01-27 10:34:45,201] ERROR {org.wso2.carbon.social.sql.internal.SQLSocialComponent} - java.lang.NullPointerException at org.wso2.carbon.social.sql.JDBCPersistenceManager.initializeDatabase(JDBCPersistenceManager.java:52) at org.wso2.carbon.social.sql.internal.SQLSocialComponent.activate(SQLSocialComponent.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:126) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java:221) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:206) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) at
Re: [Dev] WSO2 Committers += Amalka Subasinghe
Congrats Amalka ! On Tue, Jan 27, 2015 at 12:40 PM, Dakshika Jayathilaka daksh...@wso2.com wrote: Congratulations..! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Jan 27, 2015 at 12:33 PM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations Amalka!! On Tue, Jan 27, 2015 at 12:15 PM, Dinithi De Silva dinit...@wso2.com wrote: Congratulations Amalka On Tue, Jan 27, 2015 at 11:57 AM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Tue, Jan 27, 2015 at 11:54 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Congratulations Amalka!! On Tue, Jan 27, 2015 at 11:53 AM, Sajith Kariyawasam saj...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:49 AM, Harsha Kumara hars...@wso2.com wrote: Congratulations Amalka! On Tue, Jan 27, 2015 at 11:22 AM, Roshan Deniyage rosh...@wso2.com wrote: Congrats Amalka Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile: +94 777636406 Twitter: *https://twitter.com/roshku https://twitter.com/roshku* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Tue, Jan 27, 2015 at 11:04 AM, Lasindu Charith lasi...@wso2.com wrote: Congratulations Amalka ...!!! On Mon, Jan 26, 2015 at 9:11 PM, Supun Sethunga sup...@wso2.com wrote: Congratz! :) On Tue, Jan 27, 2015 at 10:39 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Congratulations Amalka!!! On Tue, Jan 27, 2015 at 10:24 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, It is with great pleasure that WSO2 welcomes Amalka Subasinghe as a committer! Congratulations! thanks, Dimuthu -- Dimuthu Leelarathne Architect Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Gayashan Amarasinghe* Software Engineer | Platform TG WSO2, Inc. | http://wso2.com lean. enterprise. middleware Mobile : +94718314517 Blog : gayashan-a.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- -- Sithumini Senevirathne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com email: sithumi...@wso2.com, mobile: +94 756977999 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com | a: #20, Palm Grove, Colombo 03 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Denuwanthi De Silva Software Engineer; WSO2 Inc.; http://wso2.com, Email: denuwan...@wso2.com Blog: https://denuwanthi.wordpress.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg Mobile: +94714198770 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [G-Reg] - Start up error - ERROR {org.wso2.carbon.social.sql.internal.SQLSocialComponent}
Thanks Ayesha. I'll check and let you know. On Tue, Jan 27, 2015 at 1:39 PM, Ayesha Dissanayaka aye...@wso2.com wrote: Hi Prasanna, It seems that Constants.SOCIAL_DB_NAME value in [1] is not same as the expected value as [2] in GREG master-datasources.xnl file. Update master-datasources.xml in greg source accordingly as in [3]. i.e: Remove datasource SOCIAL_CASSANDRA_DB, instead add WSO2_SOCIAL_DB. [1] https://github.com/wso2/carbon-store/blob/master/components/social/org.wso2.carbon.social.sql/src/main/java/org/wso2/carbon/social/sql/JDBCPersistenceManager.java#L51 [2] https://github.com/wso2/carbon-store/blob/master/components/social/org.wso2.carbon.social.sql/src/main/java/org/wso2/carbon/social/sql/Constants.java#L17 [3] https://github.com/wso2/product-es/blob/master/modules/distribution/src/repository/conf/datasources/master-datasources.xml Thanks! -Ayesha On Tue, Jan 27, 2015 at 11:22 AM, Prasanna Dangalla prasa...@wso2.com wrote: Hi ES team, We are getting the following error when starting G-Reg 5.0.0 pack with a mounting setup using MySQL as the database. Can you please look in to this issue ASAP because this is blocking our M1 release. JIRA: https://wso2.org/jira/browse/REGISTRY-2401 [2015-01-27 10:34:45,201] INFO {org.wso2.carbon.social.sql.internal.SQLSocialComponent} - Social Activity service is activated with SQL Implementation [2015-01-27 10:34:45,201] ERROR {org.wso2.carbon.social.sql.internal.SQLSocialComponent} - java.lang.NullPointerException at org.wso2.carbon.social.sql.JDBCPersistenceManager.initializeDatabase(JDBCPersistenceManager.java:52) at org.wso2.carbon.social.sql.internal.SQLSocialComponent.activate(SQLSocialComponent.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:126) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java:221) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.checkInitTenantUserDataSources(DataSourceServiceComponent.java:206) at org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.setRegistryService(DataSourceServiceComponent.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:432) at
[Dev] Certificate CN in ASN1 PRINTABLE_STRING format - Using bouncycastle
Hi, I'm using bouncycastle for certificate signing process (use X509v3CertificateBuilder), and I need to generate the signed certificate with a CommonName encoded in ASN1 PRINTABLE_STRING format instead of bouncycastle's default - UTF8. Is there a way to do this ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] App Manager latest build pack - 27-01-2015
Hi, Please find the $subject in [1]. [1]. http://builder1.us1.wso2.org/~appm/27-01-2015/ Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Certificate CN in ASN1 PRINTABLE_STRING format - Using bouncycastle
Hi Asok, You can refer to this class[1] (line 187 onward) on how to sign. you can build the X500 name from CN as done in [2] (line 95 onward). [1] https://github.com/pulasthi7/carbon-identity/blob/feature/ca-component/components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/services/CertificateServiceImpl.java [2] https://github.com/pulasthi7/carbon-identity/blob/feature/ca-component/components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/CSRGenerator.java On Tue, Jan 27, 2015 at 1:53 PM, Asok Perera as...@wso2.com wrote: Hi, I'm using bouncycastle for certificate signing process (use X509v3CertificateBuilder), and I need to generate the signed certificate with a CommonName encoded in ASN1 PRINTABLE_STRING format instead of bouncycastle's default - UTF8. Is there a way to do this ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog: http://blog.pulasthi.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Certificate CN in ASN1 PRINTABLE_STRING format - Using bouncycastle
Hi, Thanks for the reply Pulasthi !!! I checked the classes and Im referring to buildX500Name() method in [2]. Assuming 'cn' argument I should provide is the raw common name without custom encoding, bouncy castle will encode it in UTF8 which is default for CN (rather than PRINTABLE_STRING), isn't it ? If I miss something here, could you please tell me how I can intentionally use PRINTABLE_STRING for CN using this method ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 On Tue, Jan 27, 2015 at 3:14 PM, Pulasthi Mahawithana pulast...@wso2.com wrote: Hi Asok, You can refer to this class[1] (line 187 onward) on how to sign. you can build the X500 name from CN as done in [2] (line 95 onward). [1] https://github.com/pulasthi7/carbon-identity/blob/feature/ca-component/components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/services/CertificateServiceImpl.java [2] https://github.com/pulasthi7/carbon-identity/blob/feature/ca-component/components/identity/org.wso2.carbon.identity.certificateauthority/src/main/java/org/wso2/carbon/identity/certificateauthority/CSRGenerator.java On Tue, Jan 27, 2015 at 1:53 PM, Asok Perera as...@wso2.com wrote: Hi, I'm using bouncycastle for certificate signing process (use X509v3CertificateBuilder), and I need to generate the signed certificate with a CommonName encoded in ASN1 PRINTABLE_STRING format instead of bouncycastle's default - UTF8. Is there a way to do this ? BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog: http://blog.pulasthi.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 CDM and MDM 2.0.0 Milestone-1 Released !
Hi All, *WSO2 CDM and MDM 2.0.0 Milestone-1 Released !* This is the first milestone of WSO2 CDM version 2.0.0. You can download the milestone at [1]. Milestone-1 specifically contains following features. New Features - Support pluggable modules corresponding to different device typessupport pluggable modules corresponding to different device types. - Device Enrollment. - Integrate support for API Everywhere. - JAX-RS services layers for each supported device types which are being invoked by respective agent applications. - License management. - Android plugin implementation. - Basic Operation handling. - UI for Basic functionalities such as add operation, device listing etc. *References* [1] Respective products can be downloaded from, CDM 1.0.0-M1 https://svn.wso2.org/repos/wso2/people/prabatha/CDM-Framework/1.0.0-SNAPSHOT/wso2cdm-1.0.0-SNAPSHOT.zip MDM 2.0.0-M1 https://svn.wso2.org/repos/wso2/people/prabatha/MDM/2.0.0-M1/wso2mdm-2.0.0-SNAPSHOT.zip Thank You, CDM Team -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation
Hi All, *Which scripting is better for this implementation* I have been developing the same implementation which is halfway done in Node [1] https://github.com/GPrathap/wso2nodeserver using Apache modules[2] http://httpd.apache.org/. CGI[3] http://en.wikipedia.org/wiki/Common_Gateway_Interface and FastCGI[4] http://en.wikipedia.org/wiki/FastCGI are the two main scripting methods. My problem is which one is the well-suited implementation for this. Because here in memory database is used not shared memory one. Even though each CGI script which is doing a different task, all those tasks are required database access so can not make a persistent connection to database. also can't do IPC(Inter process communication). But Wikipedia says[4] http://en.wikipedia.org/wiki/FastCGI ... Instead of creating a new process for each request, FastCGI uses persistent processes to handle such requests. Multiple processes can configured, increasing stability and scalability. Each individual FastCGI process can handle many requests over its lifetime, thereby avoiding the overhead of per-request process creation and termination. My view is that CGI is better that FastCGI in this case. Is this correct method ? Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Wed, Jan 28, 2015 at 7:12 AM, Geesara Prathap gees...@wso2.com wrote: Hi All, The cookie should be set in this way COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly I forgot to remove \r\n . This is wrong COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly \r\n Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Mon, Jan 26, 2015 at 9:31 AM, Geesara Prathap gees...@wso2.com wrote: Hi All, I have set the cookie into HTTP header in this way. . CURL *curl; CURLcode res; struct curl_slist *headers = NULL; headers = curl_slist_append(headers, Accept: application/x-www-form-urlencoded); headers = curl_slist_append(headers, Content-Type: application/x-www-form-urlencoded); headers = curl_slist_append(headers, charsets: utf-8); curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); curl_easy_setopt(curl,CURLOPT_HTTPHEADER,headers); curl_easy_setopt(curl, CURLOPT_URL, http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax /subscription-add.jag); curl_easy_setopt(curl, CURLOPT_POST, 1); curl_easy_setopt(curl, CURLOPT_POSTFIELDS,reqbody); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, body_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, data); curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, header_callback); curl_easy_setopt(curl, CURLOPT_HEADERDATA,cookieGet); curl_easy_setopt(curl, CURLOPT_COOKIE,cookie); res=curl_easy_perform(curl); .. In server side when I retrieved post data they seem to be null. But when I check from Wireshark actually those post data are sent. But when I remove curl_easy_setopt(curl, CURLOPT_COOKIE,cookie); I can access the post data in the server side. If I make any mistake in my post request please correct me. Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Tue, Jan 6, 2015 at 3:43 PM, Geesara Prathap gees...@wso2.com wrote: Hi, There is a Node server which acts as a hub among devices,clients and WSO2 API Manager. As of now the Client is able to, 1. sign up 2. login 3. add applications 4. subscribe to applications 5. get the access token from API Manager through Node server. When adding an application, client is able to configure how devices are arranged and that configuration file should be sent to the node server with a client request. Then Node server reads that file and generates a REST API with respect to the relevant client. I did the first part of this implementation. Now a client can do all those operations which were mentioned above except REST API generation part. Here is the code repository[1] what I did so far. [1] https://github.com/GPrathap/wso2nodeserver Thanks Geesara Prathap Kulathunga Software Engineer Intern University of Peradeniya gees...@wso2.com Email:++gees...@wso2.com +940772684174 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Thanks Sameera and Maheshika. Regards, Bhathiya On Wed, Jan 28, 2015 at 12:58 AM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Sameera Bhathiya Deployed successfully. On Wed, Jan 28, 2015 at 12:45 AM, Sameera Jayasoma same...@wso2.com wrote: Merged the PR. I hope you've tested this orbit bundle well. Once released we can't modify its contents. Maheshika, can you release this orbit bundle? On Tue, Jan 27, 2015 at 10:41 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, On Tue, Jan 27, 2015 at 7:42 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya, There is a problem with the license header. With that new model, we only put the year e.g. 2015 Fixed this too. Thanks, Bhathiya On Tue, Jan 27, 2015 at 3:13 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. +1 for putting Dynamic imports for this reason. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Best Regards, Maheshika Goonetilleke Engineering Process Coordinator *WSO2 Inc* *email : mahesh...@wso2.com mahesh...@wso2.com* *mobile : +94 773 596707 %2B94%20773%20596707* *www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list
Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation
Hi All, The cookie should be set in this way COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly I forgot to remove \r\n . This is wrong COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly \r\n Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Mon, Jan 26, 2015 at 9:31 AM, Geesara Prathap gees...@wso2.com wrote: Hi All, I have set the cookie into HTTP header in this way. . CURL *curl; CURLcode res; struct curl_slist *headers = NULL; headers = curl_slist_append(headers, Accept: application/x-www-form-urlencoded); headers = curl_slist_append(headers, Content-Type: application/x-www-form-urlencoded); headers = curl_slist_append(headers, charsets: utf-8); curl_global_init(CURL_GLOBAL_ALL); curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); curl_easy_setopt(curl,CURLOPT_HTTPHEADER,headers); curl_easy_setopt(curl, CURLOPT_URL, http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax /subscription-add.jag); curl_easy_setopt(curl, CURLOPT_POST, 1); curl_easy_setopt(curl, CURLOPT_POSTFIELDS,reqbody); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, body_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, data); curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, header_callback); curl_easy_setopt(curl, CURLOPT_HEADERDATA,cookieGet); curl_easy_setopt(curl, CURLOPT_COOKIE,cookie); res=curl_easy_perform(curl); .. In server side when I retrieved post data they seem to be null. But when I check from Wireshark actually those post data are sent. But when I remove curl_easy_setopt(curl, CURLOPT_COOKIE,cookie); I can access the post data in the server side. If I make any mistake in my post request please correct me. Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Tue, Jan 6, 2015 at 3:43 PM, Geesara Prathap gees...@wso2.com wrote: Hi, There is a Node server which acts as a hub among devices,clients and WSO2 API Manager. As of now the Client is able to, 1. sign up 2. login 3. add applications 4. subscribe to applications 5. get the access token from API Manager through Node server. When adding an application, client is able to configure how devices are arranged and that configuration file should be sent to the node server with a client request. Then Node server reads that file and generates a REST API with respect to the relevant client. I did the first part of this implementation. Now a client can do all those operations which were mentioned above except REST API generation part. Here is the code repository[1] what I did so far. [1] https://github.com/GPrathap/wso2nodeserver Thanks Geesara Prathap Kulathunga Software Engineer Intern University of Peradeniya gees...@wso2.com Email:++gees...@wso2.com +940772684174 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Please review and merge the pull request
Hi Buddhima, I've separated the Inbound endpoint test for content type plain. Please review and merge the pull request [1]. [1] https://github.com/wso2/product-esb/pull/42 -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] SSO Jaggery feature usage
Hi guys, I have created a SSO jaggery feature [1] which can be used to install the jaggery SSO component and the jaggery module. In API Manager currently- the host object is used. It would be good if everyone can move to the SSO module instead of the Host-object method. However - we currently require the new SSO module and the SSO module in API manager in the CDM pack. We can expose out the org.wso2.carbon.hostobjects.sso.SAMLSSORelyingPartyObject to let publisher and store jaggery apps smoothly use the new SSO module as well. I have created a PR [2] with these changes. [1] - https://github.com/wso2/jaggery-extensions/tree/master/sso [2] - https://github.com/wso2/jaggery-extensions/pull/16 Cheers~ -- Dulitha Wijewantha (Chan) Software Engineer - Mobile Development WSO2 Inc Lean.Enterprise.Middleware * ~Email duli...@wso2.com duli...@wso2mobile.com* * ~Mobile +94712112165* * ~Website dulitha.me http://dulitha.me* * ~Twitter @dulitharw https://twitter.com/dulitharw* *~Github @dulichan https://github.com/dulichan* *~SO @chan http://stackoverflow.com/users/813471/chan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] P2 proflie gen issue in org.wso2.carbon.jaxws.webapp.mgt.server.feature
I believe, this was due to not having proper groupIds assigned for the entries corresponding to org.wso2.carbon.jaxws.webapp.mgt.server.feature in the p2-profile. @Harshan, please confirm. On Tue, Jan 27, 2015 at 4:14 PM, Harshan Liyanage hars...@wso2.com wrote: Hi, I'm getting the following error when build the product. org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 artifact is available in m2 repo as well. Does anyone know the reason for this issue? [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ wso2cdm-profile-gen --- [ERROR] Error occured when processing the Feature Artifact: org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 org.apache.maven.plugin.MojoExecutionException: Error occured when processing the Feature Artifact: org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 at org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322) at org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197) at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Could not find the version for org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 at org.wso2.maven.p2.FeatureArtifact.resolveVersion(FeatureArtifact.java:118) at org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:318) ... 23 more [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 CDM - Parent . SUCCESS [0.913s] [INFO] WSO2 Carbon - Device Management Component . SUCCESS [0.027s] [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS [2.320s] [INFO] WSO2 Carbon - Device Management Core .. SUCCESS [9.607s] [INFO] WSO2 Carbon - Policy Management Component . SUCCESS [0.018s] [INFO] WSO2 Carbon - Policy Management Common SUCCESS [0.729s] [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS [0.771s] [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS [0.275s] [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS [0.021s] [INFO] WSO2 Carbon - Device Management Server Feature SUCCESS [0.953s] [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS [0.023s] [INFO] WSO2 Carbon - Policy Management Server Feature SUCCESS [0.377s] [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS [0.025s] [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen FAILURE [1.108s] [INFO] WSO2 Connected Device Manager (CDM) - Distribution SKIPPED [INFO] WSO2 CDM - Integration Tests .. SKIPPED [INFO] WSO2 CDM Integration Test Common .. SKIPPED [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED [INFO] WSO2 CDM - Integration Test Utils . SKIPPED [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 17.898s [INFO] Finished at: Tue Jan 27
[Dev] Error while invoking LoginStatisticsAdmin admin service
Hi, When I tried to invoke getLoginAttempts , in LoginStatisticsAdmin I got following faultcode in SOAPUI soapenv:Fault faultcodesoapenv:Server/faultcode faultstringUnauthorized call!. AuthorizationAction has not been specified for service:LoginStatisticsAdmin, operation:getLoginAttempts/faultstring detail/ /soapenv:Fault And got following error in the log [2015-01-27 23:55:46,048] ERROR - AxisEngine Unauthorized call!. AuthorizationAction has not been specified for service:LoginStatisticsAdmin, operation:getLoginAttempts org.apache.axis2.AxisFault: Unauthorized call!. AuthorizationAction has not been specified for service:LoginStatisticsAdmin, operation:getLoginAttempts at org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.invoke(AuthorizationHandler.java:73) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49) at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) Once I dig further I found that this is due to a setting in services.xml file in org.wso2.carbon.core.services service name=LoginStatisticsAdmin scope=transportsession transports transporthttps/transport /transports parameter name=ServiceClass locked=true org.wso2.carbon.core.services.authentication.stats.LoginStatisticsAdmin /parameter !-- parameter name=AuthorizationAction locked=truemanage-security/parameter -- parameter name=adminService locked=truetrue/parameter parameter name=hiddenService locked=truetrue/parameter /service AuthorizationAction is commented out so that requests for this service cannot be authorized. Could I please know the reason for commenting this out ? Cant we invoke this admin service by any means ? -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi Pasadi, You can use automation.xml[1] to create multiple tenants. You can define your tenants inside userManagement tag and inside listenerExtensions tag add the extension class[2]. This automation.xml[1] already has those configuration. [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension Thanks, Iqbal On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi, I am in the process of implementing a test case where initially 2 tenant users should be able to log in. How should I do this..?? Thanx..!!! -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] P2 proflie gen issue in org.wso2.carbon.jaxws.webapp.mgt.server.feature
Hi, I'm getting the following error when build the product. org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 artifact is available in m2 repo as well. Does anyone know the reason for this issue? [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ wso2cdm-profile-gen --- [ERROR] Error occured when processing the Feature Artifact: org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 org.apache.maven.plugin.MojoExecutionException: Error occured when processing the Feature Artifact: org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 at org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322) at org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197) at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Could not find the version for org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 at org.wso2.maven.p2.FeatureArtifact.resolveVersion(FeatureArtifact.java:118) at org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:318) ... 23 more [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 CDM - Parent . SUCCESS [0.913s] [INFO] WSO2 Carbon - Device Management Component . SUCCESS [0.027s] [INFO] WSO2 Carbon - Device Management Commons ... SUCCESS [2.320s] [INFO] WSO2 Carbon - Device Management Core .. SUCCESS [9.607s] [INFO] WSO2 Carbon - Policy Management Component . SUCCESS [0.018s] [INFO] WSO2 Carbon - Policy Management Common SUCCESS [0.729s] [INFO] WSO2 Carbon - Policy Management Core .. SUCCESS [0.771s] [INFO] WSO2 Carbon - Policy Decision Point ... SUCCESS [0.275s] [INFO] WSO2 Carbon - Device Management Feature ... SUCCESS [0.021s] [INFO] WSO2 Carbon - Device Management Server Feature SUCCESS [0.953s] [INFO] WSO2 Carbon - Policy Management Feature ... SUCCESS [0.023s] [INFO] WSO2 Carbon - Policy Management Server Feature SUCCESS [0.377s] [INFO] WSO2 Connected Device Manager (CDM) - Parent .. SUCCESS [0.025s] [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen FAILURE [1.108s] [INFO] WSO2 Connected Device Manager (CDM) - Distribution SKIPPED [INFO] WSO2 CDM - Integration Tests .. SKIPPED [INFO] WSO2 CDM Integration Test Common .. SKIPPED [INFO] WSO2 CDM - Integration Admin Clients .. SKIPPED [INFO] WSO2 CDM - Integration Test Utils . SKIPPED [INFO] WSO2 CDM - Integration Test Ui Pages .. SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 17.898s [INFO] Finished at: Tue Jan 27 14:23:26 IST 2015 [INFO] Final Memory: 75M/1973M [INFO] [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) on project wso2cdm-profile-gen: Error occured when processing the Feature Artifact:
[Dev] APIM 1.9.0 Integration Coverage improvement - Auto tests
Hi All, I am working on writing auto tests for API Life Cycle related scenarios. Will update the progress soon. Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [SS] Update Hadoop version to 2.6.0?
Hi Prabath, Should we go ahead and update to 2.6.0 ? In the 2.5.2 release they have mentioned that the 2.5.2 release fixes some critical issues in the 2.5.1 release. I am not sure what they are though. Do you think it is safer and it makes sense to straight away move into 2.6.0? @Deep, would this affect your work? p.s we are currently working on 2.5.1, which we are planning to release with SS 1.5.0. -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi, I am in the process of implementing a test case where initially 2 tenant users should be able to log in. How should I do this..?? Thanx..!!! -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to handle svn externals with git migration
In App Manager we have these set of svn externals in feature/product level. Appreciate someone already migrated could give some insight on how to migrate those. Features: svn propget -R svn:externals . org.wso2.carbon.appmgt.core.feature/4.2.1/src/main/resources - sql https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/appmgt/1.0.0/modules/distribution/resources/sql config https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/appmgt/1.0.0/config Product: modules/jaggery-apps - enterprise-store https://github.com/wso2/enterprise-store/branches/master/modules/distribution/src/dbscripts app-publisher-web https://github.com/wso2/app-manager/trunk/modules/apps/publisher app-store-web https://github.com/wso2/app-manager/trunk/modules/apps/store app-workflow-admin https://github.com/wso2/app-manager/trunk/modules/apps/workflow-admin/ app-social-web https://github.com/wso2/app-manager/trunk/modules/apps/social user-dashboard https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/user-dashboard/ portal https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/portal/ shindig https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/jaggery-apps/shindig/ config - application-authenticators.xml https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/features/identity/application-authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/4.2.1/src/main/resources/application-authenticators.xml thrift-authentication.xml https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.thrift.authentication/4.2.2/src/main/resources/thrift-authentication.xml Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][ESB] SynapseException when running the sample 57 of the ESB 4.8.1.
Hi Thusitha, If you use ESB 4.7.0, the sample runs successfully. Follow same procedure to configure and run as in latest documentation. But I also could not find a solution to run it with ESB 4.8.1 (latest version). On Wed, Jan 28, 2015 at 9:26 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, When I try to run the 57th sample of the WSO2 ESB 4.8.1 as mentioned in the [1] with all the mentioned configuration changes. I'm getting following exception. WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228) at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) I checked the COUPLE OF mail threads relate to this issue [2, 3, 4], but still I couldn't find out a way to get solve this. I go through the blog post [5] where it says to this can be overcome by getting ESB 4.7.0 where the same clustering implementation is used that of the Axis2 server. But how can I do that? [1] - https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes [2] - http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html [3] - http://mail.wso2.org/mailarchive/dev/2014-April/029411.html [4] - http://mail.wso2.org/mailarchive/dev/2013-December/026247.html [5] - http://code.chamiladealwis.com/blog/2014/07/07/wso2-esb-sample-screw-ups/ -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][ESB] SynapseException when running the sample 57 of the ESB 4.8.1.
Hi Jagath, Thanks for the response. I will try to run using the ESB version 4.7.0 Regards On Wed, Jan 28, 2015 at 10:14 AM, Jagath Sisirakumara Ariyarathne jaga...@wso2.com wrote: Hi Thusitha, If you use ESB 4.7.0, the sample runs successfully. Follow same procedure to configure and run as in latest documentation. But I also could not find a solution to run it with ESB 4.8.1 (latest version). On Wed, Jan 28, 2015 at 9:26 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, When I try to run the 57th sample of the WSO2 ESB 4.8.1 as mentioned in the [1] with all the mentioned configuration changes. I'm getting following exception. WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228) at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) I checked the COUPLE OF mail threads relate to this issue [2, 3, 4], but still I couldn't find out a way to get solve this. I go through the blog post [5] where it says to this can be overcome by getting ESB 4.7.0 where the same clustering implementation is used that of the Axis2 server. But how can I do that? [1] - https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes [2] - http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html [3] - http://mail.wso2.org/mailarchive/dev/2014-April/029411.html [4] - http://mail.wso2.org/mailarchive/dev/2013-December/026247.html [5] - http://code.chamiladealwis.com/blog/2014/07/07/wso2-esb-sample-screw-ups/ -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][ESB] SynapseException when running the sample 57 of the ESB 4.8.1.
Hi, This issue was previously discussed in dev. mailing list. It's because of mismatching of GroupManagementAgent. Pls find the relevant resource from following: http://mail.wso2.org/mailarchive/dev/2013-December/026247.html Thank you! On Wed, Jan 28, 2015 at 10:17 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Jagath, Thanks for the response. I will try to run using the ESB version 4.7.0 Regards On Wed, Jan 28, 2015 at 10:14 AM, Jagath Sisirakumara Ariyarathne jaga...@wso2.com wrote: Hi Thusitha, If you use ESB 4.7.0, the sample runs successfully. Follow same procedure to configure and run as in latest documentation. But I also could not find a solution to run it with ESB 4.8.1 (latest version). On Wed, Jan 28, 2015 at 9:26 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, When I try to run the 57th sample of the WSO2 ESB 4.8.1 as mentioned in the [1] with all the mentioned configuration changes. I'm getting following exception. WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228) at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) I checked the COUPLE OF mail threads relate to this issue [2, 3, 4], but still I couldn't find out a way to get solve this. I go through the blog post [5] where it says to this can be overcome by getting ESB 4.7.0 where the same clustering implementation is used that of the Axis2 server. But how can I do that? [1] - https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes [2] - http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html [3] - http://mail.wso2.org/mailarchive/dev/2014-April/029411.html [4] - http://mail.wso2.org/mailarchive/dev/2013-December/026247.html [5] - http://code.chamiladealwis.com/blog/2014/07/07/wso2-esb-sample-screw-ups/ -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 Commiters += Manoj Gunawardena
Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congratulations Manoj !!! On Wed, Jan 28, 2015 at 12:06 PM, Harshan Liyanage hars...@wso2.com wrote: Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Need a Small Correction in the Documentation of ESB Sample 154 in ESB 4.8.1
Hi, I think a small correction should be done to the ESB sample 154 in the [1] since we need to run three instances of Axis2 server. In the documentation under the Prerequisites section - Start the Axis2 server and deploy the LBService if not already done. Should be changed to something like - Start three instances of the sample Axis2 server on HTTP ports 9001, 9002 and 9003 respectively and give unique names to each server. For instructions on starting the Axis2 server, see Starting the Axis2 server https://docs.wso2.org/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-Axis2server. And deploy the LBService in them. [1] - https://docs.wso2.com/display/ESB481/Sample+154%3A+Load+Balancing+with+Proxy+Services Best Regards -- Thusitha Dayaratne Software Engineer | WSO2 Inc Emailthusit...@wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Need a Small Correction in the Documentation of ESB Sample 154 in ESB 4.8.1
Hi Thusitha, Thank you for reporting this. I will do the changes in the doc. Best Regards, Nisrin Nisrin Sheriff Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. mobile: +94 776 24 84 56 http://wso2.com On Wed, Jan 28, 2015 at 12:52 PM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, I think a small correction should be done to the ESB sample 154 in the [1] since we need to run three instances of Axis2 server. In the documentation under the Prerequisites section - Start the Axis2 server and deploy the LBService if not already done. Should be changed to something like - Start three instances of the sample Axis2 server on HTTP ports 9001, 9002 and 9003 respectively and give unique names to each server. For instructions on starting the Axis2 server, see Starting the Axis2 server https://docs.wso2.org/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-Axis2server. And deploy the LBService in them. [1] - https://docs.wso2.com/display/ESB481/Sample+154%3A+Load+Balancing+with+Proxy+Services Best Regards -- Thusitha Dayaratne Software Engineer | WSO2 Inc Emailthusit...@wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com -- You received this message because you are subscribed to the Google Groups WSO2 Documentation group. To unsubscribe from this group and stop receiving emails from it, send an email to documentation+unsubscr...@wso2.com. For more options, visit https://groups.google.com/a/wso2.com/d/optout. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Design and implementation of ghost deployer test cases for WSO2AS
Hi, I have completed the following tasks on implementation of ghost deployer test cases for WSO2AS . *tenant-info-service:* This web application will be deployed before running test cases. - TenantInfoService REST service with two methods, isWebAppLoaded and isTenantLoaded - TenantInfoManager Implementation of the logic of above service methods. *TestClasses:* - GhostDeploymentBaseTest - All common methods needed by ghost deployment test cases - WebApplicationGhostDeploymentTestCase - testWebApplicationGhostDeployment - testInvokeWebAppGhostDeployment - testWebAppAutoUnDeployment - testTenantUnloadInIdleTimeAfterWebAPPUsage - TenantLoadUnloadTestCase - testTenantContextLoadInLogin - testTenantContextUnLoadInTenantIdle - JaggeryApplicationGhostDeploymentTestCase - testJaggeryApplicationGhostDeployment - testInvokeJaggeryAppGhostDeployment - testJaggeryAppAutoUnDeployment - testTenantUnloadInIdleTimeAfterJaggeryAPPUsage - CarbonAppGhostDeploymentTestCase - testCarApplicationUploadGhostDeployment - testAppAutoUnDeploymentAfterIdleTime Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jan 14, 2015 at 10:53 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Krishantha, Implemented the web-app as REST service and as a Servlet to get the tenant load/unload information. But in both approaches, it is not retuning the correct information. I am currently finding a solution for that. Also start to write the test cases without the verification part. Verification part needs to be added after solving the problems in the web-app. We may have to use LogViewerClient if the web-app approach will not work. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jan 14, 2015 at 9:32 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Saneth, Can you please update us on what is going on with Ghost deployer test case writing.. Any blockers ? Thanks, Krishantha. On Tue, Jan 6, 2015 at 4:39 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi All, I am working on $subject which will be track through JIRA TA-591 https://wso2.org/jira/browse/TA-591. Ghoest deployer will be test on WSO2AS and test scenarios will be based on this document https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AlTtjx4c_xVpdE10YTliWklBZEpkNnVjaGN3cTFkdmcusp=drive_web#gid=0 New web-app will be created to provide the information about load and unload status of tenats. This web-app will be deployed before the test. Test integration layer can access this web-app via REST call and get the necessary informations. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congratulations Manoj ! On Wed, Jan 28, 2015 at 1:05 PM, Jerad Rutnam je...@wso2.com wrote: Congratulations Manoj !!! :) On Wed, Jan 28, 2015 at 12:07 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Manoj !!! On Wed, Jan 28, 2015 at 12:06 PM, Harshan Liyanage hars...@wso2.com wrote: Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congratulations Manoj . On Wed, Jan 28, 2015 at 1:12 PM, Sajini De Silva saj...@wso2.com wrote: Congratulations Manoj !!! On Wed, Jan 28, 2015 at 1:07 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Manoj ! On Wed, Jan 28, 2015 at 1:05 PM, Jerad Rutnam je...@wso2.com wrote: Congratulations Manoj !!! :) On Wed, Jan 28, 2015 at 12:07 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Manoj !!! On Wed, Jan 28, 2015 at 12:06 PM, Harshan Liyanage hars...@wso2.com wrote: Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards -- Srisunmugaraja Paraparan Software Engineer, WSO2 Inc. - lean . enterprise . middleware | wso2.com email : parapa...@wso2.com, mobile : +94 77 0362151 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congratulations Manoj !!! On Wed, Jan 28, 2015 at 1:07 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Manoj ! On Wed, Jan 28, 2015 at 1:05 PM, Jerad Rutnam je...@wso2.com wrote: Congratulations Manoj !!! :) On Wed, Jan 28, 2015 at 12:07 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Manoj !!! On Wed, Jan 28, 2015 at 12:06 PM, Harshan Liyanage hars...@wso2.com wrote: Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sajini De SIlva Software Engineer; WSO2 Inc.; http://wso2.com , Email: saj...@wso2.com Blog: http://sajinid.blogspot.com/ Git hub profile: https://github.com/sajinidesilva Phone: +94 712797729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Contributing to Data Services
Hi Pradeep, You can find the documentation for WSO2 Data Services Server here: https://docs.wso2.com/display/DSS322/WSO2+Data+Services+Server+Documentation Regards, Jerad On Wed, Jan 28, 2015 at 1:07 PM, Pradeep Murugesan pradeepmuruge...@outlook.com wrote: Hi , We are trying to integrate Data Services Server in our product. In the mean time we also want contribute back to the source. I am trying to set up the dev env for Data Services. But I am not able to find any documentation related to this. I have the following source link in the web page for data services https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk13/ But this contains all the products. If someone could help me in guiding to the right manual for setting up the dev env for Data Services that would be really helpful. Pradeep. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Design and implementation of ghost deployer test cases for WSO2AS
Thanks for the update Saneth, please make sure to update test case document too. Also we need to generate coverage reports and check for improvements. Thanks, -Krishantha. On Wed, Jan 28, 2015 at 12:29 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi, I have completed the following tasks on implementation of ghost deployer test cases for WSO2AS . *tenant-info-service:* This web application will be deployed before running test cases. - TenantInfoService REST service with two methods, isWebAppLoaded and isTenantLoaded - TenantInfoManager Implementation of the logic of above service methods. *TestClasses:* - GhostDeploymentBaseTest - All common methods needed by ghost deployment test cases - WebApplicationGhostDeploymentTestCase - testWebApplicationGhostDeployment - testInvokeWebAppGhostDeployment - testWebAppAutoUnDeployment - testTenantUnloadInIdleTimeAfterWebAPPUsage - TenantLoadUnloadTestCase - testTenantContextLoadInLogin - testTenantContextUnLoadInTenantIdle - JaggeryApplicationGhostDeploymentTestCase - testJaggeryApplicationGhostDeployment - testInvokeJaggeryAppGhostDeployment - testJaggeryAppAutoUnDeployment - testTenantUnloadInIdleTimeAfterJaggeryAPPUsage - CarbonAppGhostDeploymentTestCase - testCarApplicationUploadGhostDeployment - testAppAutoUnDeploymentAfterIdleTime Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jan 14, 2015 at 10:53 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Krishantha, Implemented the web-app as REST service and as a Servlet to get the tenant load/unload information. But in both approaches, it is not retuning the correct information. I am currently finding a solution for that. Also start to write the test cases without the verification part. Verification part needs to be added after solving the problems in the web-app. We may have to use LogViewerClient if the web-app approach will not work. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jan 14, 2015 at 9:32 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Saneth, Can you please update us on what is going on with Ghost deployer test case writing.. Any blockers ? Thanks, Krishantha. On Tue, Jan 6, 2015 at 4:39 PM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi All, I am working on $subject which will be track through JIRA TA-591 https://wso2.org/jira/browse/TA-591. Ghoest deployer will be test on WSO2AS and test scenarios will be based on this document https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0AlTtjx4c_xVpdE10YTliWklBZEpkNnVjaGN3cTFkdmcusp=drive_web#gid=0 New web-app will be created to provide the information about load and unload status of tenats. This web-app will be deployed before the test. Test integration layer can access this web-app via REST call and get the necessary informations. Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Commiters += Manoj Gunawardena
Congratulations Manoj !!! :) On Wed, Jan 28, 2015 at 12:07 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Congratulations Manoj !!! On Wed, Jan 28, 2015 at 12:06 PM, Harshan Liyanage hars...@wso2.com wrote: Congradz Manoj !!! Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Wed, Jan 28, 2015 at 12:04 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi All, It's my pleasure to welcome Manoj Gunawardena as a WSO2 Committer. Manoj is a member of WSO2 UES/ES team and has done a great contribution to WSO2 ES product and CDM refactoring showing a great enthusiasm in his work. In recognition of his contribution, he has been voted as a WSO2 Committer. Manoj, welcome aboard and keep up the good work.. -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Contributing to Data Services
Hi ,We are trying to integrate Data Services Server in our product. In the mean time we also want contribute back to the source. I am trying to set up the dev env for Data Services. But I am not able to find any documentation related to this. I have the following source link in the web page for data services https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk13/ But this contains all the products. If someone could help me in guiding to the right manual for setting up the dev env for Data Services that would be really helpful. Pradeep. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to send out an email notification from WSO2 product?
Hi Supun, Please find the answers for your queries inline. On Wed, Jan 28, 2015 at 9:32 AM, Supun Sethunga sup...@wso2.com wrote: Hi Hasintha, Thanks for pointing out on the Notification Management feature, and for the offline discussion. However, I would like to clarify the following, to be sure this feature aligns with the requirements that we are having at the moment. Is it possible to Change the subject of the email, at the point of invoking the service, rather than picking it up from the msg-mgt.properties file? Yes, This can be set from the publisher of the event. Is it possible to use a different email template when needed, without using the template specified in the msg-mgt.properties file? Can you please eloborate more on this use case. As per the below comment by you, you need to send different contents based on different actions ? Ideally if you are sending notifications for different actions, then they are different events. ie different notifications. You need to define different events for them. Is it possible to append/insert random content (such as a redirect link, which is unique for every-time an email is sent) to the email body? Yes , This is possible, This is almost same as setting the subject at publisher side. Is it possible to set the receiver email address at the point of invoking the service? Yes, this is also possible. The requirement (1) and (2) are because we need to send different types of emails (different subjects and the content) based on the user actions. Thanks, Supun On Fri, Jan 23, 2015 at 12:24 PM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi Hasintha, Noted. Thanks On Fri, Jan 23, 2015 at 12:21 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Lasitha, Now the feature is available in carbon-identity org repo. This feature is packed with IS 5.1.0. You can build IS from wso2-dev product-is repo and get the product with this feature. On Fri, Jan 23, 2015 at 12:18 PM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi hasintha, I'm also in need of a notification/email feature. if the component is ready please provide the location/details to use it Thanks. On Thu, Jan 22, 2015 at 3:24 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Supun, +1 for looking into the Notification Management feature and evaluating if it supports your requirements. If it does not as it is, you may be able to discuss your requirement and improve on it. On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Supun, We have Notification Management feature which we have newly implemented. It is light weight, simple and does not coupled to products. You may use it as per your requirements. Still we have not added this component to our repo and sooner we will be adding this (within few days). On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga sup...@wso2.com wrote: Hi, As per the offline discussion with Lasantha, In case of using CEP's email-adaptor, to send an email, we have to configure sevent-treams, event-formatters, create an event, and fire it. These seems to be some additional configurations as ML doesn't work with events. I checked the code for email-adapters in both ESB and IS as well, and both are tightly coupled with their respective products, thus cannot be used in ML. I tried writing a generic email adapter component for ML (which is reusable in any other product), and it is much more simpler and cleaner as well. Is there any concerns regarding this, or can we go ahead with this fresh email-adapter for ML? Thanks, Supun On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: Hi Supun, CEP contains an email output adaptor component which you can use for this purpose.. @Lasantha, Is there anything you have written specifically for ML team ? On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga sup...@wso2.com wrote: Hi, In the Product ML, we have a requirement of sending an email notification upon the completion of ML model creation process. Whats the preferred way of implementing this? Is there any component which has a similar functionality that is already in-use any of the products, that we can reuse? Regards, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] Illegal key size exception from AxisEngine when sending an encrypted request
Hi, When I'm sending an encrypted request to the proxy service for the sample ESB configuration listed in [1], getting the following error from the AxisEngine. The java version I'm using is 1.7 so I used JCE for Java 7. Is this because of version mismatch of Java ? ERROR engine.AxisEngine: The signature or decryption was invalid; nested exception is: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size Original Exception was java.security.InvalidKeyException: Illegal key size org.apache.axis2.AxisFault: The signature or decryption was invalid; nested exception is: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size Original Exception was java.security.InvalidKeyException: Illegal key size at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95) at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) at org.apache.axis2.engine.Phase.invoke(Phase.java:313) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:279) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.ws.security.WSSecurityException: The signature or decryption was invalid; nested exception is: org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size Original Exception was java.security.InvalidKeyException: Illegal key size at org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:258) at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:483) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:421) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:119) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:95) at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:332) at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:249) at org.apache.rampart.RampartEngine.process(RampartEngine.java:214) at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92) ... 11 more [1] https://docs.wso2.com/display/ESB481/Sample+153%3A+Routing+Messages+that+Arrive+to+a+Proxy+Service+without+Processing+Security+Headers -- Chathura Priyankara Software Engineer | WSO2 Inc. Mobile : +94718795340 Blog : www.codeoncloud.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] SS 1.5.0 pack for QA
Hi all, Here is 28th' pack. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/28_01_2014/wso2ss-1.5.0-SNAPSHOT.zip Thanks, Bhathiya On Fri, Jan 23, 2015 at 12:36 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, New pack is here. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/23_01_2014/wso2ss-1.5.0-SNAPSHOT.zip Thanks, Bhathiya On Wed, Jan 21, 2015 at 3:26 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, Here is the latest pack. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/21_01_2014/wso2ss-1.5.0-SNAPSHOT.zip Thanks, Bhathiya On Mon, Jan 19, 2015 at 11:17 AM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, Here is today's pack for QA. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/19_01_2014/wso2ss-1.5.0-SNAPSHOT.zip Thanks, Bhathiya On Fri, Jan 16, 2015 at 6:03 PM, Prabath Abeysekera praba...@wso2.com wrote: Hi Asanka, Nuwan, Please report L1s for any usability/UI/doc issues. Cheers, Prabath On Fri, Jan 16, 2015 at 4:32 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: HI all, Here is the new pack. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/16_01_2014/wso2ss-1.5.0-SNAPSHOT.zip Thanks, Bhathiya On Tue, Jan 13, 2015 at 4:51 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi all, Here is the latest pack. https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/wso2ss-1.5.0-SNAPSHOT.zip @Prabath: I built this from wso2-dev, as wso2-dev and wso2 repos are not synced yet. Can you please sync them? Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Prabath Abeysekara Associate Technical Lead, Data TG. WSO2 Inc. Email: praba...@wso2.com Mobile: +94774171471 -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] ES login issue with network assigned IP
Hi all, After looking into the ES login code with Darshana, we figured that the issue is caused by RelayState value set in SAML request. In *store *login.jag [1], RelayState is set to the value of* referer* header in http/https request. It contains host (localhost:port / IP:port) as well. Once the authentication is completed and SAML response is received, acs redirects to the RaleyState URL. But the response is sent to* AssertionConsumerServicehttps://localhost:9443/store/acs https://localhost:9443/store/acs/AssertionConsumerService* which is defined in sso-idp-config.xml. When this *AssertionConsumerService* hostname doesn't match with the redirected RelayState hostname above discussed issue is present. When the RelayState value is set to be a relative path(ex: /store/asts/site/list?sortBy=overview_createdtimesort=DESC) the issue is eliminated since relative values are used. In Publisher, above mentioned 'referer' header value is null, hence RealayState is set to default value '/publisher' which is relative. That's why the issue is not present in the Publisher. I've fixed the issue in Store in the commit [2], where the context is filtered-out from the RealayState URL. [1] https://github.com/wso2/carbon-store/blob/f258561979fa649e74290631031b34986e3b5d24/apps/store/controllers/login.jag#L27 [2] https://github.com/wso2/carbon-store/commit/ff74b1d3723ed6550a10d1a55471f89eccd9d7c6 Thanks! -Ayesha On Thu, Oct 23, 2014 at 8:36 PM, Darshana Gunawardana darsh...@wso2.com wrote: On Wed, Oct 22, 2014 at 11:15 PM, Rajeeva Uthayasangar raje...@wso2.com wrote: Hi Dharshana, In my case also, authentication request validation is passed and the authentication response hit the acs. Ok... Then the issue might be in the ACS. Have to look into the logic in the acs.. First, i tried to access the store via IP by giving credentials, it directs to the store home page again and showing as not logged in. At that time URL is with IP. But when i replace the IP with localhost it shows as logged in. Please find the attached images. On Wed, Oct 22, 2014 at 10:22 PM, Darshana Gunawardana darsh...@wso2.com wrote: On Wed, Oct 22, 2014 at 10:08 PM, Rajeeva Uthayasangar raje...@wso2.com wrote: Hi Sameera, Issue comes in the redirection URL after the authentication. It's redirecting with the IP but the domain we registered in SP is localhost. Redirection domain should be same as what we gave in SP registering AFAIK. What Rajeeva faced should be a authentication request validation failure.. But if the authentication response hit the acs, authentication request validation seems to be passed and it returning a saml response. @Sameera : Have you traced SAML requests? Does the ACS hitting with a valid SAML assertion? @Chandana The solution which i mentioned, solved the issue in App Manager. Thanks, Rajeeva. On Wed, Oct 22, 2014 at 8:35 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Rajeeva, During the offline discussion with Chandana it was noted that the response was hitting the correct acs endpoint. Thank You, Sameera On Wed, Oct 22, 2014 at 8:24 PM, Rajeeva Uthayasangar raje...@wso2.com wrote: Hi Chandana/Sameera, AFAIK, Store and publisher are in SSO and they are registered as service providers with localhost in sso-idp-config.xml (ES_HOME/repositort/conf). You have to register the service provider with IP in sso-idp-config.xml as below in order to access via IP. ServiceProvider Issuerstore/Issuer *AssertionConsumerServicehttps://IP:9443/store/acs/AssertionConsumerService* SignResponsetrue/SignResponse CustomLoginPage/store/login.jag/CustomLoginPage /ServiceProvider Thanks, Rajeeva. On Wed, Oct 22, 2014 at 7:52 PM, Chandana Napagoda chand...@wso2.com wrote: Great... Thanks Sameera, I have created a JIRA[1] for this issue. [1]. https://wso2.org/jira/browse/STORE-542 Regards, Chandana On Wed, Oct 22, 2014 at 7:22 PM, Sameera Medagammaddegedara samee...@wso2.com wrote: Hi Chandana, I was able to reproduce the problem on my local setup. I will provide an update on this as soon as possible, could you please create a JIRA to track the issue? Thank You, Sameera On Wed, Oct 22, 2014 at 7:09 PM, Chandana Napagoda chand...@wso2.com wrote: Hi Sameera/Ruchira, We have noticed following behavior in latest ES based store application. If the user tries to access store application using a network assigned IP address, they won't be able to login into store app. Instead he will be redirected to the same page again and again. However login function work as expected for localhost. Is this a known issue? Regards, Chandana -- *Chandana Napagoda* Senior Software Engineer WSO2 Inc. - http://wso2.org *Email : chand...@wso2.com chand...@wso2.com**Mobile : +94718169299 %2B94718169299* *Blog :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com*
Re: [Dev] [DEV][ESB] SynapseException when running the sample 57 of the ESB 4.8.1.
Hi Buddhima, Thanks for the response. I was able to run the sample using ESB version 4.7.0. Regards On Wed, Jan 28, 2015 at 10:21 AM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This issue was previously discussed in dev. mailing list. It's because of mismatching of GroupManagementAgent. Pls find the relevant resource from following: http://mail.wso2.org/mailarchive/dev/2013-December/026247.html Thank you! On Wed, Jan 28, 2015 at 10:17 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi Jagath, Thanks for the response. I will try to run using the ESB version 4.7.0 Regards On Wed, Jan 28, 2015 at 10:14 AM, Jagath Sisirakumara Ariyarathne jaga...@wso2.com wrote: Hi Thusitha, If you use ESB 4.7.0, the sample runs successfully. Follow same procedure to configure and run as in latest documentation. But I also could not find a solution to run it with ESB 4.8.1 (latest version). On Wed, Jan 28, 2015 at 9:26 AM, Thusitha Thilina Dayaratne thusit...@wso2.com wrote: Hi, When I try to run the 57th sample of the WSO2 ESB 4.8.1 as mentioned in the [1] with all the mentioned configuration changes. I'm getting following exception. WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228) at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) I checked the COUPLE OF mail threads relate to this issue [2, 3, 4], but still I couldn't find out a way to get solve this. I go through the blog post [5] where it says to this can be overcome by getting ESB 4.7.0 where the same clustering implementation is used that of the Axis2 server. But how can I do that? [1] - https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes [2] - http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html [3] - http://mail.wso2.org/mailarchive/dev/2014-April/029411.html [4] - http://mail.wso2.org/mailarchive/dev/2013-December/026247.html [5] - http://code.chamiladealwis.com/blog/2014/07/07/wso2-esb-sample-screw-ups/ -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV][ESB] Request to merge pull request 62 in wso2-synapse
Hi, Please merge the pull request in [1]. Relevant public JIRA is [2]. [1] https://github.com/wso2/wso2-synapse/pull/62 [2] https://wso2.org/jira/browse/ESBJAVA-3356 Thanks ! -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi Malintha, I tried to create separate automation contexts using productname as ESB and instance name as esbs001. But it throws a null pointer exception. Can you explain what I am doing wrong..? java.lang.NullPointerException at org.wso2.carbon.automation.engine.context.AutomationContext.getNonSuperTenant(AutomationContext.java:345) at org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:335) at org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:469) at org.wso2.carbon.integration.common.utils.LoginLogoutClient.init(LoginLogoutClient.java:51) at org.wso2.carbon.integration.common.utils.mgt.ServerConfigurationManager.init(ServerConfigurationManager.java:94) at org.wso2.carbon.esb.jms.inbound.transport.test.JMSInboundHttpTenantTestCase.init(JMSInboundHttpTenantTestCase.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) On Wed, Jan 28, 2015 at 8:08 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: HI Pasadi, You can do the multiple user login in same script as bellow. user login: LoginLogoutUtil loginUtil = new LoginLogoutUtil(9443, localhost); // use correct port *sessionCookie* = loginUtil.login(TENANT_NAME_1, TENANT_PASSWORD, backendURL); Make sure to update the cookie information as above. Use updated cookie for your next activities. Ex: WebAppAdminClient webAppAdminClient = new WebAppAdminClient(backendURL, *sessionCookie*); Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Jan 27, 2015 at 6:52 PM, Malintha Adikari malin...@wso2.com wrote: Hi Prasadi, In WSO2 Test Automation Framework, we store all configurations details related to tests in automation.xml file [1]. You can add/remove your tents under userManagement element of that file. Then Test Framework will automatically create tenants which are mentioned under above tag. So in your case please add two tenants in to that files tenant domain=wso2.com key=wso2.comadmin user key= adminuserNameadmin/userNamepasswordadmin/ password /user /admin users user key=user1 userNametestuser11/userName passwordtestuser11/password / user user key=user2 userNametestuser21/userName passwordtestuser21/password/user /users tenant domain=test.com key=test.com adminuser key=admin
Re: [Dev] How to set tenant idle time in writing integration test for AS 5.2.1
Thanks Kasun and Saneth, I will try the suggestions and will update with the status. On Wed, Jan 28, 2015 at 7:55 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: Hi Kalpa, Updating the automation.xml with the idle time information should solve your problem. values are in minutes. listenerExtensions platformExecutionManager extentionClasses class nameorg.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension/name parameter name=-Dwebapp.idle.time value=1/ parameter name=-Dtenant.idle.time value=2/ /class Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Jan 27, 2015 at 6:32 PM, KasunG Gajasinghe kas...@wso2.com wrote: I'm not sure what the 'asServer' object represents, but I assume it's a bean object in the automation test code? May be the system property is set successfully in the server-side! You could write a simple webapp that return a list of system properties from the server to verify that. On Tue, Jan 27, 2015 at 6:24 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi, I am writing a test case for AS 5.2.1 when ghost deployment is enabled to test the following, 1. webapp deployment from CApps 2. for a tenant, when it is idle, the first request for a webapp/axis2service being successful AKAIK the default tenant idle time is 15 minutes and cannot be configured other than from a system property as of now. Based on the offline chat I had with Krishantha, I tried CarbonTestServerManager (sample usage [1]) and was successful in starting an AS server setting the tenant.idle.time and with a port offset. However when I checked asServer (which holds the back end url, session cookies etc.) environment variable, it doesn't contain the values of the server started with CarbonTestServerManager. Is there a way to get those variables for the server started with CarbonTestServerManager? A work around would be, without starting the server with CarbonTestServerManager, simply deploy the CApp in a tenant, do a graceful restart so that the tenant is idle when the server is up. Is there a better way to achieve the task? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/products/esb/4.7.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/test/servers/NewInstanceTestCase.java -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Fwd: Creating WSO2 Cartridges for Private PaaS 4.1.0
Hi Imesh, As we (me and anurudhal) discussed with you, we are planing to create cartridges for ESB and AS with clustering support for our fast track training project. We will be in touch if we need any help from your team. *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com On Mon, Jan 26, 2015 at 9:30 AM, Imesh Gunaratne im...@wso2.com wrote: [Copying Dev] -- Forwarded message -- From: Tapas Jena tapas.frie...@gmail.com Date: Mon, Jan 26, 2015 at 6:50 AM Subject: Re: [Dev] Creating WSO2 Cartridges for Private PaaS 4.1.0 To: Imesh Gunaratne im...@wso2.com Thanks Imesh! I am new to Stratos but let me give it a try. I will be in touch if need any help. Regards, Tapas -- *Imesh Gunaratne* Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi Pasadi, Can you share the code where you create AutomationContext objects ? Which parameters you passed in to the constrictors ? Regards, Malintha On Wed, Jan 28, 2015 at 5:41 AM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi Malintha, I tried to create separate automation contexts using productname as ESB and instance name as esbs001. But it throws a null pointer exception. Can you explain what I am doing wrong..? java.lang.NullPointerException at org.wso2.carbon.automation.engine.context.AutomationContext.getNonSuperTenant(AutomationContext.java:345) at org.wso2.carbon.automation.engine.context.AutomationContext.getContextTenant(AutomationContext.java:335) at org.wso2.carbon.automation.engine.context.AutomationContext.getContextUrls(AutomationContext.java:469) at org.wso2.carbon.integration.common.utils.LoginLogoutClient.init(LoginLogoutClient.java:51) at org.wso2.carbon.integration.common.utils.mgt.ServerConfigurationManager.init(ServerConfigurationManager.java:94) at org.wso2.carbon.esb.jms.inbound.transport.test.JMSInboundHttpTenantTestCase.init(JMSInboundHttpTenantTestCase.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) On Wed, Jan 28, 2015 at 8:08 AM, Saneth Dharmakeerthi sane...@wso2.com wrote: HI Pasadi, You can do the multiple user login in same script as bellow. user login: LoginLogoutUtil loginUtil = new LoginLogoutUtil(9443, localhost); // use correct port *sessionCookie* = loginUtil.login(TENANT_NAME_1, TENANT_PASSWORD, backendURL); Make sure to update the cookie information as above. Use updated cookie for your next activities. Ex: WebAppAdminClient webAppAdminClient = new WebAppAdminClient(backendURL, *sessionCookie*); Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Jan 27, 2015 at 6:52 PM, Malintha Adikari malin...@wso2.com wrote: Hi Prasadi, In WSO2 Test Automation Framework, we store all configurations details related to tests in automation.xml file [1]. You can add/remove your tents under userManagement element of that file. Then Test Framework will automatically create tenants which are mentioned under above tag. So in your case please add two tenants in to that files tenant domain=wso2.com key=wso2.comadmin user key= adminuserNameadmin/userNamepasswordadmin/
Re: [Dev] Fwd: Creating WSO2 Cartridges for Private PaaS 4.1.0
Hi Sajith, Thanks for taking part on this. Please send an update as you progress and if you need any information please start a discussion. Thanks On Wed, Jan 28, 2015 at 11:15 AM, Sajith Abeywardhana saji...@wso2.com wrote: Hi Imesh, As we (me and anurudhal) discussed with you, we are planing to create cartridges for ESB and AS with clustering support for our fast track training project. We will be in touch if we need any help from your team. *Sajith Abeywardhana* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka. Mobile: +94772260485 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com On Mon, Jan 26, 2015 at 9:30 AM, Imesh Gunaratne im...@wso2.com wrote: [Copying Dev] -- Forwarded message -- From: Tapas Jena tapas.frie...@gmail.com Date: Mon, Jan 26, 2015 at 6:50 AM Subject: Re: [Dev] Creating WSO2 Cartridges for Private PaaS 4.1.0 To: Imesh Gunaratne im...@wso2.com Thanks Imesh! I am new to Stratos but let me give it a try. I will be in touch if need any help. Regards, Tapas -- *Imesh Gunaratne* Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Imesh Gunaratne* Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Solved] D3 Graph to Center-Middle
Hi, I found that issue is not the way I calculate, but it was causing by a SVG Group (g) Element Bounding Box X,Y coordinates. So I just had to subtract it. If anyone needs to get the svg boundingBox values use the code (this returns an array), d3.select(svg g#groupElement).node().getBBox(); d3.select(svg g#groupElement).node().getBoundingClientRect(); If wants to get from jquery, $(svg).find(g)[0].getClientRects()[0]; Thanks, Jerad On Mon, Jan 26, 2015 at 1:54 PM, Jerad Rutnam je...@wso2.com wrote: Hi All, I'm working on a feature in G-Reg (Dependency Graph) using D3. And having an issue to centering the graph after zoom-out to screen-size in viewport. Currently I'm getting these values, graphScreen = svg; mainGraphGroup = svg g var topOffset = (graphScreen.width() - mainGraphGroupWidth)/2, leftOffset = (graphScreen.height() - mainGraphGroupHeight)/2; Is there anyway I can achieve centering by these values? or is there a method to achieving this? Any help will be appreciate. Searched on web but couldn't find a proper solution for it yet. Thanks, Jerad -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] D3 Graph to Center-Middle
Hi, I found that issue is not the way I calculate, but it was causing by a SVG Group (g) Element Bounding Box X,Y coordinates. So I just had to subtract it. If anyone needs to get the svg boundingBox values use the code (this returns an array), d3.select(svg g#groupElement).node().getBBox(); d3.select(svg g#groupElement).node().getBoundingClientRect(); If wants to get from jquery, $(svg).find(g)[0].getClientRects()[0]; Thanks, Jerad On Mon, Jan 26, 2015 at 1:54 PM, Jerad Rutnam je...@wso2.com wrote: Hi All, I'm working on a feature in G-Reg (Dependency Graph) using D3. And having an issue to centering the graph after zoom-out to screen-size in viewport. Currently I'm getting these values, graphScreen = svg; mainGraphGroup = svg g var topOffset = (graphScreen.width() - mainGraphGroupWidth)/2, leftOffset = (graphScreen.height() - mainGraphGroupHeight)/2; Is there anyway I can achieve centering by these values? or is there a method to achieving this? Any help will be appreciate. Searched on web but couldn't find a proper solution for it yet. Thanks, Jerad -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Mail....
Hi Bob, You can Unsubscribe dev-requ...@wso2.org?subject=unsubscribe your mail address from WSO2 Dev Mail list by sending a mail to: *dev-requ...@wso2.org dev-requ...@wso2.org* with the subject: *unsubscribe* For more details about WSO2 mailing lists, visit: http://wso2.com/mail/ Thanks, Jerad On Tue, Jan 27, 2015 at 10:09 PM, Bob Carson bobcars...@gmail.com wrote: Please remove me from your mailing lists. Robert R. Carson ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Jerad Rutnam* *Software Engineer - UI* WSO2 Inc. lean | enterprise | middleware M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MB test cases improvements - check message counts
For example following scenario should be testable. At least check message counts after sending to DLC/deleting/purging operations 1) Send couple of messages to MBQ1 queue. Make these messages end up in DLC 2) Disable the JMS consumer and send messages so that there will be message in MBQ1 queue. 3) Purge the MBQ1 ( so that messages in DLC and MBQ1 will be cleared) 4) Send messages to MQ1 again ... 5) Enable JMS Consumer (this will put messages to dlc again) 6) Browse the Queue you will see there are message in DLC and the queue and verify queue count=0 dlc count = x On Tue, Jan 27, 2015 at 9:01 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, We need to be careful with message count display in UI in MB 3.0.0. For most of users this is the first impression about the product. If message counts are wrong and unpredictable, even for us developers, it is hard to isolate issues. Thus in the test suite via admin services we should be able to query the message count after doing some message publish/ consume. We need to add some tests (or do this at the end of each existing test standalone and cluster) checking message count and verify. Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] WSO2 G-Reg 5.0.0 M1 Released
Hi all, Please download WSO2 G-Reg 5.0.0 M1 from this location [1]. Following are the bug fixes, improvements and the new features included in this milestone release. *Improvements* REGISTRY-2204 -Registry based depsync performance improvements REGISTRY-2196 -Add Service Store on top of ES features in G-Reg 5.0.0 REGISTRY-2175 -Version for WSDL/Services/Schema/Policy and wadls REGISTRY-2298 -Stopping RXT attributes from being added as resource properties REGISTRY-2301 -Stopping the load artifacts call from accessing the database each time REGISTRY-2190 -G-reg should include 'creation date' within metadata list of any artifact REGISTRY-2407 -Phase one of G-Reg impact analysis *Bugs* REGISTRY-2305 -Compile error due to carbon context depricated API (getCurrentContext ) removal REGISTRY-2366 -Registry Mounting does not working in greg5-dev REGISTRY-1609 -Client trust store location is hard code in checkin client. REGISTRY-2260 -NPE when adding a resource which is already exists in checkin-client REGISTRY-2116 -Hierarchical Subscription method doesn't work for REST notification REGISTRY-2084 -For users with 'Admin Only' permissions, when a new rxt is added, it won't appear in the UI till 'admin' logs in REGISTRY-2337 -Management Console notifications are not generated when subscribed event is triggered from a symlink resource REGISTRY-2253 -Download link in Service listing page not functioning in IE 8 REGISTRY-2332 -Hide button in management console UI notifications is not working REGISTRY-2219 -LogViewerStub returns null Logevent element REGISTRY-2353 -Getting below exception on stack trace when update the wsdl,schema,service and wadls REGISTRY-2310 -Duplication of schemas when there is circular refrence of schemas. REGISTRY-2296 -if we change the LC Status with update email notifications set then 2 emails are generated REGISTRY-2266 -LC status column is getting removed when move to next page(paginating) in wsdl list page *Tasks* REGISTRY-2195 -Fix integration test failures of G-Reg on 4.3.0 branch REGISTRY-2149 -G-Reg pack build stabilization on carbon 4.3.0 Please report issues at [2] and specify the affect version as 5.0.0 M1. [1] https://svn.wso2.org/repos/wso2/people/chandana/G-REG-5.0.0/M1/wso2greg-5.0.0-SNAPSHOT.zip [2] https://wso2.org/jira/browse/REGISTRY Regards, G-Reg Team -- *Chandana Napagoda* Senior Software Engineer WSO2 Inc. - http://wso2.org *Email : chand...@wso2.com chand...@wso2.com**Mobile : +94718169299* *Blog :http://cnapagoda.blogspot.com http://cnapagoda.blogspot.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi, In this class[1] we populate users for tenant. you can go through addTenantUsers method and see how you can add users. [1] https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt/UserPopulator.java Thanks, Iqbal On Tue, Jan 27, 2015 at 5:55 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi Irham, Thank you for the reply. What I actually need to do is to create one tenant and make him execute a certain process and the other one should log in and some other process. Can you please elaborate how can I get each user to perform their respective activities..?? Thanx..!! On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal iq...@wso2.com wrote: Hi Pasadi, You can use automation.xml[1] to create multiple tenants. You can define your tenants inside userManagement tag and inside listenerExtensions tag add the extension class[2]. This automation.xml[1] already has those configuration. [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension Thanks, Iqbal On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi, I am in the process of implementing a test case where initially 2 tenant users should be able to log in. How should I do this..?? Thanx..!!! -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to set tenant idle time in writing integration test for AS 5.2.1
I'm not sure what the 'asServer' object represents, but I assume it's a bean object in the automation test code? May be the system property is set successfully in the server-side! You could write a simple webapp that return a list of system properties from the server to verify that. On Tue, Jan 27, 2015 at 6:24 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi, I am writing a test case for AS 5.2.1 when ghost deployment is enabled to test the following, 1. webapp deployment from CApps 2. for a tenant, when it is idle, the first request for a webapp/axis2service being successful AKAIK the default tenant idle time is 15 minutes and cannot be configured other than from a system property as of now. Based on the offline chat I had with Krishantha, I tried CarbonTestServerManager (sample usage [1]) and was successful in starting an AS server setting the tenant.idle.time and with a port offset. However when I checked asServer (which holds the back end url, session cookies etc.) environment variable, it doesn't contain the values of the server started with CarbonTestServerManager. Is there a way to get those variables for the server started with CarbonTestServerManager? A work around would be, without starting the server with CarbonTestServerManager, simply deploy the CApp in a tenant, do a graceful restart so that the tenant is idle when the server is up. Is there a better way to achieve the task? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/products/esb/4.7.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/test/servers/NewInstanceTestCase.java -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
Hi Prasadi, In WSO2 Test Automation Framework, we store all configurations details related to tests in automation.xml file [1]. You can add/remove your tents under userManagement element of that file. Then Test Framework will automatically create tenants which are mentioned under above tag. So in your case please add two tenants in to that files tenant domain=wso2.com key=wso2.comadmin user key=admin userNameadmin/userNamepasswordadmin/password /user / admin users user key=user1 userNametestuser11/userName passwordtestuser11/password /user user key=user2 userNametestuser21/userName passwordtestuser21/password/ user /users tenant domain=test.com key=test.com adminuser key=admin userNameadmin/userName passwordadmin/password /user /admin users user key=user11userNametestuser111/userName passwordtestuser11/password /useruser key=user21userName testuser211/userNamepasswordtestuser21/password /user /users Then you can use those tenants seperately inside your tests. You can create separate AutomationContext objects in your test (in your case two) and use those AutomationContext objects for writing your test case. You can achieve tenant separation through these objects. *AutomationContext tenant1Context= new AutomationContext(productGroupName, instanceName, wso2.com http://wso2.com, admin)AutomationContext tenant2Context= new AutomationContext(productGroupName, instanceName, test.com http://test.com, user11)* (Please refer AutmationContext.java class[4] for different constructors you can use to create your AutomationContext object) In ESB tests above AutomationContext object is created inside a base class [3] and all test classes inherited from that class. You can add your AutomationContext objects in your test class and it will do no harm Note: Tenant creation process is done by AutomationFramework here. (In the upstart of the carbon server) If you want to create tenants inside your test case it self please refer how Automation Framework do the same thing [2] [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2] https://github.com/wso2-dev/carbon-platform-integration-utils/tree/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt [3] https://github.com/wso2-dev/product-esb/blob/master/modules/integration/test-common/integration-test-utils/src/main/java/org/wso2/esb/integration/common/utils/ESBIntegrationTest.java [4] https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/java/org/wso2/carbon/automation/engine/context/AutomationContext.java Regards, Malintha Adikari On Tue, Jan 27, 2015 at 12:46 PM, Irham Iqbal iq...@wso2.com wrote: Hi, In this class[1] we populate users for tenant. you can go through addTenantUsers method and see how you can add users. [1] https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt/UserPopulator.java Thanks, Iqbal On Tue, Jan 27, 2015 at 5:55 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi Irham, Thank you for the reply. What I actually need to do is to create one tenant and make him execute a certain process and the other one should log in and some other process. Can you please elaborate how can I get each user to perform their respective activities..?? Thanx..!! On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal iq...@wso2.com wrote: Hi Pasadi, You can use automation.xml[1] to create multiple tenants. You can define your tenants inside userManagement tag and inside listenerExtensions tag add the extension class[2]. This automation.xml[1] already has those configuration. [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension Thanks, Iqbal On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi, I am in the process of implementing a test case where initially 2 tenant users should be able to log in. How should I do this..?? Thanx..!!! -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452 -- Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452
[Dev] How to set tenant idle time in writing integration test for AS 5.2.1
Hi, I am writing a test case for AS 5.2.1 when ghost deployment is enabled to test the following, 1. webapp deployment from CApps 2. for a tenant, when it is idle, the first request for a webapp/axis2service being successful AKAIK the default tenant idle time is 15 minutes and cannot be configured other than from a system property as of now. Based on the offline chat I had with Krishantha, I tried CarbonTestServerManager (sample usage [1]) and was successful in starting an AS server setting the tenant.idle.time and with a port offset. However when I checked asServer (which holds the back end url, session cookies etc.) environment variable, it doesn't contain the values of the server started with CarbonTestServerManager. Is there a way to get those variables for the server started with CarbonTestServerManager? A work around would be, without starting the server with CarbonTestServerManager, simply deploy the CApp in a tenant, do a graceful restart so that the tenant is idle when the server is up. Is there a better way to achieve the task? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/products/esb/4.7.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/test/servers/NewInstanceTestCase.java -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Unable to create jquery related test cases using jaggery test framework
Thank you for the response Ruchira. On Tue, Jan 27, 2015 at 6:08 PM, Ruchira Wageesha ruch...@wso2.com wrote: Hi Himasha, Even though Jaggery test framework uses Jasmine internally, it is only for testing backend Jaggery/JavaScript codes and not clientside codes. i.e. jquery is used at clientside stuff and for that you should be able to directly use Jasmine[1]. /Ruchira [1] https://github.com/jasmine/jasmine/wiki/A-simple-project On Wed, Jan 14, 2015 at 12:25 PM, Himasha Guruge himas...@wso2.com wrote: Hi All, I'm in the stage of testing an ES asset extension (chevron diagram editor) , under both publisher and store. In .specs files initially I need to use jquery related functions( create DOM elements) but then I'm given an error of $ undefined . With the help of Ayesha I downloaded the plugin jasmine-jquery and tried adding references of jquery and jasmine-jqeury in ES/modules/jaggery-test/ module.xml. It is still providing undefined error.I tried changing the order of references but still the same result.What is the jasmine version used in ES? According to [1] , it requires at least jasmine 2.0. Is there any other way of testing an ES extension that has jquery related methods? Any insight/sample for this would be helpful. [1] http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html Thanks Regards, Himasha Guruge *Software Engineer* WS*O2* *Inc.* Mobile: +94 777459299 himas...@wso2.com -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444 %2B94%2077%205493444* -- Himasha Guruge *Software Engineer* WS*O2* *Inc.* Mobile: +94 777459299 himas...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ES] Unable to create jquery related test cases using jaggery test framework
Hi Himasha, Even though Jaggery test framework uses Jasmine internally, it is only for testing backend Jaggery/JavaScript codes and not clientside codes. i.e. jquery is used at clientside stuff and for that you should be able to directly use Jasmine[1]. /Ruchira [1] https://github.com/jasmine/jasmine/wiki/A-simple-project On Wed, Jan 14, 2015 at 12:25 PM, Himasha Guruge himas...@wso2.com wrote: Hi All, I'm in the stage of testing an ES asset extension (chevron diagram editor) , under both publisher and store. In .specs files initially I need to use jquery related functions( create DOM elements) but then I'm given an error of $ undefined . With the help of Ayesha I downloaded the plugin jasmine-jquery and tried adding references of jquery and jasmine-jqeury in ES/modules/jaggery-test/ module.xml. It is still providing undefined error.I tried changing the order of references but still the same result.What is the jasmine version used in ES? According to [1] , it requires at least jasmine 2.0. Is there any other way of testing an ES extension that has jquery related methods? Any insight/sample for this would be helpful. [1] http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html http://www.htmlgoodies.com/beyond/javascript/js-ref/testing-dom-events-using-jquery-and-jasmine-2.0.html Thanks Regards, Himasha Guruge *Software Engineer* WS*O2* *Inc.* Mobile: +94 777459299 himas...@wso2.com -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com http://wso2.com* *email: ruch...@wso2.com ruch...@wso2.com, blog: ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com, mobile: +94 77 5493444* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] carbon-commons: PR #4 adding databridge thrift receiver
Hi Rajeev, This pull request is not merged to carbon-commons repo yet [1]. And, does it need to be? As I see, the org.wso2.carbon.databridge.receiver.thrift component is already available in carbon-commons. Please reply ASAP since we are planning to release carbon-commons, and we need to finalize all the pull requests. [1] https://github.com/wso2/carbon-commons/pull/4 Thanks, KasunG -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MB test cases improvements - check message counts
awsome idea. lets do that. On Tue, Jan 27, 2015 at 4:36 PM, Hasitha Hiranya hasit...@wso2.com wrote: For example following scenario should be testable. At least check message counts after sending to DLC/deleting/purging operations 1) Send couple of messages to MBQ1 queue. Make these messages end up in DLC 2) Disable the JMS consumer and send messages so that there will be message in MBQ1 queue. 3) Purge the MBQ1 ( so that messages in DLC and MBQ1 will be cleared) 4) Send messages to MQ1 again ... 5) Enable JMS Consumer (this will put messages to dlc again) 6) Browse the Queue you will see there are message in DLC and the queue and verify queue count=0 dlc count = x On Tue, Jan 27, 2015 at 9:01 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, We need to be careful with message count display in UI in MB 3.0.0. For most of users this is the first impression about the product. If message counts are wrong and unpredictable, even for us developers, it is hard to isolate issues. Thus in the test suite via admin services we should be able to query the message count after doing some message publish/ consume. We need to add some tests (or do this at the end of each existing test standalone and cluster) checking message count and verify. Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: ram...@wso2.com P: +94 777542851 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Convert XML to JSON and vice versa using Jaggery
Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
Hi, The parameter passed for the method convertE4XtoJSON is String right. But I get the following error when I use the code. *org.mozilla.javascript.EcmaError: TypeError: Cannot find function localName in object employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees. (xml#49)* Is there any specific format the string needs to be in? On Tue, Jan 27, 2015 at 9:56 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
Can you please post your code here? (the part you use this conversion may be) On Tue, Jan 27, 2015 at 10:35 PM, Sabra Ossen sa...@wso2.com wrote: Hi, The parameter passed for the method convertE4XtoJSON is String right. But I get the following error when I use the code. *org.mozilla.javascript.EcmaError: TypeError: Cannot find function localName in object employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees. (xml#49)* Is there any specific format the string needs to be in? On Tue, Jan 27, 2015 at 9:56 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MB test cases improvements - check message counts
Hi MB Team, +1, I wish if we can do all about in Single setup and a Clustered Setup with ESB or one of the other products integration. Because practically no one is going to deploy MB alone and most of the time people go for a clusters setup with failover scenario. In the same case please check this with various message sizes and high message counts at least beginning from 10 messages to 1 million messages with both Topic and Queue Scenarios. Thanks Shammi On Tue, Jan 27, 2015 at 10:39 AM, Ramith Jayasinghe ram...@wso2.com wrote: awsome idea. lets do that. On Tue, Jan 27, 2015 at 4:36 PM, Hasitha Hiranya hasit...@wso2.com wrote: For example following scenario should be testable. At least check message counts after sending to DLC/deleting/purging operations 1) Send couple of messages to MBQ1 queue. Make these messages end up in DLC 2) Disable the JMS consumer and send messages so that there will be message in MBQ1 queue. 3) Purge the MBQ1 ( so that messages in DLC and MBQ1 will be cleared) 4) Send messages to MQ1 again ... 5) Enable JMS Consumer (this will put messages to dlc again) 6) Browse the Queue you will see there are message in DLC and the queue and verify queue count=0 dlc count = x On Tue, Jan 27, 2015 at 9:01 PM, Hasitha Hiranya hasit...@wso2.com wrote: Hi, We need to be careful with message count display in UI in MB 3.0.0. For most of users this is the first impression about the product. If message counts are wrong and unpredictable, even for us developers, it is hard to isolate issues. Thus in the test suite via admin services we should be able to query the message count after doing some message publish/ consume. We need to add some tests (or do this at the end of each existing test standalone and cluster) checking message count and verify. Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com -- Ramith Jayasinghe Technical Lead WSO2 Inc., http://wso2.com lean.enterprise.middleware E: ram...@wso2.com P: +94 777542851 -- Best Regards, * Shammi Jayasinghe* Associate Tech Lead WSO2, Inc.; http://wso2.com, mobile: +1-812-327-3505 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Mail....
Please remove me from your mailing lists. Robert R. Carson ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Please merge pull request - Cassandra 1.2.13.wso2v6
Hi Sameera, On Tue, Jan 27, 2015 at 7:42 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya, There is a problem with the license header. With that new model, we only put the year e.g. 2015 Fixed this too. Thanks, Bhathiya On Tue, Jan 27, 2015 at 3:13 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, 1) License year is fixed. 2) Cassandra authentication and authorization module allows us to plug external handlers. Those handlers are defined in config files. To import them at runtime, Cassandra needs to have Dynamic import package property. Anyway I added required import packages with correct correct versions. +1 for putting Dynamic imports for this reason. Thanks, Bhathiya On Tue, Jan 27, 2015 at 11:12 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Bhathiya 1) License year is wrong in the PR. 2) Can you explain the reason for putting Dynamic import package? Thanks, Sameera. On Tue, Jan 27, 2015 at 11:10 AM, Manoj Kumara ma...@wso2.com wrote: Hi Kasun, I have reviewe the pull request. Can you merge. Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Jan 26, 2015 at 11:16 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi Sameera, I created a new Cassandra orbit bundle with updated dependencies. Please review and merge the pull request[1]. [1] https://github.com/wso2/orbit/pull/59 Thanks, -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Convert XML to JSON and vice versa using Jaggery
I didn't include it in any of my code yet. I tried it to the above mentioned simple xml string. Here is the code. % var utils = require('utils').xml; var xmlString = employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees; var employeesJson = utils.convertE4XtoJSON(xmlString); print(employeesJson); % On Tue, Jan 27, 2015 at 11:07 PM, Farasath Ahamed farasa...@wso2.com wrote: Can you please post your code here? (the part you use this conversion may be) On Tue, Jan 27, 2015 at 10:35 PM, Sabra Ossen sa...@wso2.com wrote: Hi, The parameter passed for the method convertE4XtoJSON is String right. But I get the following error when I use the code. *org.mozilla.javascript.EcmaError: TypeError: Cannot find function localName in object employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees. (xml#49)* Is there any specific format the string needs to be in? On Tue, Jan 27, 2015 at 9:56 PM, Sabra Ossen sa...@wso2.com wrote: Hi, I will try the package as suggested. Thanks. On Tue, Jan 27, 2015 at 9:28 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, This package will help you on this: https://github.com/wso2/product-es/tree/greg-changes-asset-extensions/modules/jaggery-modules/utils Sample usage : var utils=require('utils').xml; utils.convertE4XtoJSON(XML String) Thanks! On Tue, Jan 27, 2015 at 9:23 PM, Sabra Ossen sa...@wso2.com wrote: Hi, Is there any method to convert an xml string (ex : employeespersonnameTove/nameage32/age/personpersonnameJani/nameage26/age/person/employees) to a json object using jaggery, I need to access the JSON object in jaggery. Currently I am using JAXB to convert the xml to a Java Object and the write the json in jaggery. Is there any work-around to achieve the mentioned functionality. Any help is appreciated. Thanks. -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Buddhima Wijeweera Software Engineer; WSO2 Inc.; http://wso2.com , Mobile: +94 71 427 9966 Email: buddh...@wso2.com Blog: https://buddhimawijeweera.wordpress.com GitHub Profile: https://github.com/Buddhima -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Farasath Ahamed* Software Engineering Intern WSO2 Inc.; http://wso2.com Mobile: +94 777 603 866 E-Mail: farasath http://goog_1999535192a...@wso2.com -- Sabra Ossen *Software Engineering Intern* Mobile : +94 (0) 785 227 769 sa...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to send out an email notification from WSO2 product?
Hi Hasintha, Thanks for pointing out on the Notification Management feature, and for the offline discussion. However, I would like to clarify the following, to be sure this feature aligns with the requirements that we are having at the moment. 1. Is it possible to Change the subject of the email, at the point of invoking the service, rather than picking it up from the msg-mgt.properties file? 2. Is it possible to use a different email template when needed, without using the template specified in the msg-mgt.properties file? 3. Is it possible to append/insert random content (such as a redirect link, which is unique for every-time an email is sent) to the email body? 4. Is it possible to set the receiver email address at the point of invoking the service? The requirement (1) and (2) are because we need to send different types of emails (different subjects and the content) based on the user actions. Thanks, Supun On Fri, Jan 23, 2015 at 12:24 PM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi Hasintha, Noted. Thanks On Fri, Jan 23, 2015 at 12:21 PM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Lasitha, Now the feature is available in carbon-identity org repo. This feature is packed with IS 5.1.0. You can build IS from wso2-dev product-is repo and get the product with this feature. On Fri, Jan 23, 2015 at 12:18 PM, Lasitha Wattaladeniya lasit...@wso2.com wrote: Hi hasintha, I'm also in need of a notification/email feature. if the component is ready please provide the location/details to use it Thanks. On Thu, Jan 22, 2015 at 3:24 PM, Johann Nallathamby joh...@wso2.com wrote: Hi Supun, +1 for looking into the Notification Management feature and evaluating if it supports your requirements. If it does not as it is, you may be able to discuss your requirement and improve on it. On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee hasin...@wso2.com wrote: Hi Supun, We have Notification Management feature which we have newly implemented. It is light weight, simple and does not coupled to products. You may use it as per your requirements. Still we have not added this component to our repo and sooner we will be adding this (within few days). On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga sup...@wso2.com wrote: Hi, As per the offline discussion with Lasantha, In case of using CEP's email-adaptor, to send an email, we have to configure sevent-treams, event-formatters, create an event, and fire it. These seems to be some additional configurations as ML doesn't work with events. I checked the code for email-adapters in both ESB and IS as well, and both are tightly coupled with their respective products, thus cannot be used in ML. I tried writing a generic email adapter component for ML (which is reusable in any other product), and it is much more simpler and cleaner as well. Is there any concerns regarding this, or can we go ahead with this fresh email-adapter for ML? Thanks, Supun On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: Hi Supun, CEP contains an email output adaptor component which you can use for this purpose.. @Lasantha, Is there anything you have written specifically for ML team ? On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga sup...@wso2.com wrote: Hi, In the Product ML, we have a requirement of sending an email notification upon the completion of ML model creation process. Whats the preferred way of implementing this? Is there any component which has a similar functionality that is already in-use any of the products, that we can reuse? Regards, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lasitha Wattaladeniya Software Engineer WSO2, Inc. | http://wso2.com lean.
Re: [Dev] How to set tenant idle time in writing integration test for AS 5.2.1
Hi Kalpa, Updating the automation.xml with the idle time information should solve your problem. values are in minutes. listenerExtensions platformExecutionManager extentionClasses class nameorg.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension/name parameter name=-Dwebapp.idle.time value=1/ parameter name=-Dtenant.idle.time value=2/ /class Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Jan 27, 2015 at 6:32 PM, KasunG Gajasinghe kas...@wso2.com wrote: I'm not sure what the 'asServer' object represents, but I assume it's a bean object in the automation test code? May be the system property is set successfully in the server-side! You could write a simple webapp that return a list of system properties from the server to verify that. On Tue, Jan 27, 2015 at 6:24 PM, Kalpa Welivitigoda kal...@wso2.com wrote: Hi, I am writing a test case for AS 5.2.1 when ghost deployment is enabled to test the following, 1. webapp deployment from CApps 2. for a tenant, when it is idle, the first request for a webapp/axis2service being successful AKAIK the default tenant idle time is 15 minutes and cannot be configured other than from a system property as of now. Based on the offline chat I had with Krishantha, I tried CarbonTestServerManager (sample usage [1]) and was successful in starting an AS server setting the tenant.idle.time and with a port offset. However when I checked asServer (which holds the back end url, session cookies etc.) environment variable, it doesn't contain the values of the server started with CarbonTestServerManager. Is there a way to get those variables for the server started with CarbonTestServerManager? A work around would be, without starting the server with CarbonTestServerManager, simply deploy the CApp in a tenant, do a graceful restart so that the tenant is idle when the server is up. Is there a better way to achieve the task? [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/products/esb/4.7.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/test/servers/NewInstanceTestCase.java -- Best Regards, Kalpa Welivitigoda Software Engineer, WSO2 Inc. http://wso2.com Email: kal...@wso2.com Mobile: +94776509215 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV][ESB] SynapseException when running the sample 57 of the ESB 4.8.1.
Hi, When I try to run the 57th sample of the WSO2 ESB 4.8.1 as mentioned in the [1] with all the mentioned configuration changes. I'm getting following exception. WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228) at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) I checked the COUPLE OF mail threads relate to this issue [2, 3, 4], but still I couldn't find out a way to get solve this. I go through the blog post [5] where it says to this can be overcome by getting ESB 4.7.0 where the same clustering implementation is used that of the Axis2 server. But how can I do that? [1] - https://docs.wso2.com/display/ESB481/Sample+57%3A+Dynamic+Load+Balancing+between+Three+Nodes [2] - http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Running-ESB-sample-57-td89484.html [3] - http://mail.wso2.org/mailarchive/dev/2014-April/029411.html [4] - http://mail.wso2.org/mailarchive/dev/2013-December/026247.html [5] - http://code.chamiladealwis.com/blog/2014/07/07/wso2-esb-sample-screw-ups/ -- Thusitha Dayaratne Software Engineer | WSO2 Inc Mobile : +94712756809 Blog: alokayasoya.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [ESB] - Integration Test Enhancements: Multi-tenant Login Test
HI Pasadi, You can do the multiple user login in same script as bellow. user login: LoginLogoutUtil loginUtil = new LoginLogoutUtil(9443, localhost); // use correct port *sessionCookie* = loginUtil.login(TENANT_NAME_1, TENANT_PASSWORD, backendURL); Make sure to update the cookie information as above. Use updated cookie for your next activities. Ex: WebAppAdminClient webAppAdminClient = new WebAppAdminClient(backendURL, *sessionCookie*); Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Tue, Jan 27, 2015 at 6:52 PM, Malintha Adikari malin...@wso2.com wrote: Hi Prasadi, In WSO2 Test Automation Framework, we store all configurations details related to tests in automation.xml file [1]. You can add/remove your tents under userManagement element of that file. Then Test Framework will automatically create tenants which are mentioned under above tag. So in your case please add two tenants in to that files tenant domain=wso2.com key=wso2.comadmin user key=admin userNameadmin/userNamepasswordadmin/password / user /admin users user key=user1 userName testuser11/userName passwordtestuser11/password /user user key=user2 userNametestuser21/userName password testuser21/password/user /users tenant domain=test.com key=test.com adminuser key=admin userNameadmin/userName passwordadmin/password /user /admin users user key=user11userNametestuser111/userName passwordtestuser11/password /useruser key=user21userName testuser211/userNamepasswordtestuser21/password /user / users Then you can use those tenants seperately inside your tests. You can create separate AutomationContext objects in your test (in your case two) and use those AutomationContext objects for writing your test case. You can achieve tenant separation through these objects. *AutomationContext tenant1Context= new AutomationContext(productGroupName, instanceName, wso2.com http://wso2.com, admin)AutomationContext tenant2Context= new AutomationContext(productGroupName, instanceName, test.com http://test.com, user11)* (Please refer AutmationContext.java class[4] for different constructors you can use to create your AutomationContext object) In ESB tests above AutomationContext object is created inside a base class [3] and all test classes inherited from that class. You can add your AutomationContext objects in your test class and it will do no harm Note: Tenant creation process is done by AutomationFramework here. (In the upstart of the carbon server) If you want to create tenants inside your test case it self please refer how Automation Framework do the same thing [2] [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2] https://github.com/wso2-dev/carbon-platform-integration-utils/tree/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt [3] https://github.com/wso2-dev/product-esb/blob/master/modules/integration/test-common/integration-test-utils/src/main/java/org/wso2/esb/integration/common/utils/ESBIntegrationTest.java [4] https://github.com/wso2-dev/carbon-platform-integration/blob/master/test-automation-framework/org.wso2.carbon.automation.engine/src/main/java/org/wso2/carbon/automation/engine/context/AutomationContext.java Regards, Malintha Adikari On Tue, Jan 27, 2015 at 12:46 PM, Irham Iqbal iq...@wso2.com wrote: Hi, In this class[1] we populate users for tenant. you can go through addTenantUsers method and see how you can add users. [1] https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt/UserPopulator.java Thanks, Iqbal On Tue, Jan 27, 2015 at 5:55 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi Irham, Thank you for the reply. What I actually need to do is to create one tenant and make him execute a certain process and the other one should log in and some other process. Can you please elaborate how can I get each user to perform their respective activities..?? Thanx..!! On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal iq...@wso2.com wrote: Hi Pasadi, You can use automation.xml[1] to create multiple tenants. You can define your tenants inside userManagement tag and inside listenerExtensions tag add the extension class[2]. This automation.xml[1] already has those configuration. [1] https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension Thanks, Iqbal On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe pasa...@wso2.com wrote: Hi, I am in the process of implementing a test case where initially 2
Re: [Dev] ERROR - TenantAwareLoadBalanceEndpoint No application members available
Hi Bob, Please check the wso2 site on how to unsubscribe from out mailing lists. Thank you, Shiva Balachandran On Tuesday, January 27, 2015, Bob Carson bobcars...@gmail.com wrote: Please remove me from your mailing list. Robert R. Carson On Jan 26, 2015, at 20:49, Shiva Balachandran sh...@wso2.com javascript:_e(%7B%7D,'cvml','sh...@wso2.com'); wrote: Hi Anuruddha, I believe you are encountering this error, as you have not configured the ELB properly. Some of the configurations are missing in the blog you are following. It is best to use the documentation provided with the products. Check [1] to find out on how to configure the ELB. Document [2] provides an examples of clustering WSO2 products with ELB. There are several configurations that are missed out in that blog that needs to be done in the ELB side. Please check the links. [1] - https://docs.wso2.com/display/CLUSTER420/Configuring+the+Load+Balancer [2] - https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products On Tue, Jan 27, 2015 at 9:53 AM, Anuruddha Liyanarachchi anurudd...@wso2.com javascript:_e(%7B%7D,'cvml','anurudd...@wso2.com'); wrote: Hi Team, I am following the tutorial [1]. I was able to successfully start all the ELB, worker and management instances. When I am trying to login to mgt node I am getting following error in the ELB console. *ERROR - TenantAwareLoadBalanceEndpoint No application members available* After searching in the google I found the mail threads [2],[3] with same error but none of them contains the solution. [1] http://charithaka.blogspot.com/2012/09/setting-up-minimum-deployment-of-wso2.html [2] http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-LB-Stabilization-for-Kernel-4-2-0-release-td84217.html [3] http://mail.wso2.org/mailarchive/dev/2013-August/020745.html -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a javascript:_e(%7B%7D,'cvml','thili...@wso2.com');nurudd...@wso2.com javascript:_e(%7B%7D,'cvml','nurudd...@wso2.com'); ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shiva Balachandran Software Engineer WSO2 Inc. Mobile - +94 774445788 Blog - https://shivabalachandran.wordpress.com/ ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- Shiva Balachandran Software Engineer WSO2 Inc. Mobile - +94 774445788 Blog - https://shivabalachandran.wordpress.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev