Re: [Dev] [ESB] How to remove a synapse property in a Class mediator
Thanks Maduranga. Set pros = synCtx.getPropertyKeySet(); > if (pros != null) { >pros.remove(propertyName); > } Above code did the trick! On Thu, Apr 13, 2017 at 9:16 PM, Maduranga Siriwardena <madura...@wso2.com> wrote: > Hi Lasindu, > > See how this is handled in the property mediator [1]. > > [1] https://github.com/wso2/wso2-synapse/blob/master/ > modules/core/src/main/java/org/apache/synapse/mediators/ > builtin/PropertyMediator.java#L196-L242 > > Thanks, > > On Fri, Apr 14, 2017 at 12:04 AM, Lasindu Charith <lasi...@wso2.com> > wrote: > >> Hi devs, >> >> Can we do $subject? There is no method to do above in Synapse MessageCtxt. >> Also noticed we cannot set a NULL value to a property as well. >> Except setting an empty string/predefined string, is there a way to do >> $subject from a class mediator? >> >> Thanks, >> -- >> *Lasindu Charith* >> Senior Software Engineer, WSO2 Inc. >> Committer & PMC Member, Apache Stratos >> Mobile: +94714427192 <+94%2071%20442%207192> | Web: blog.lasindu.com >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Maduranga Siriwardena > Senior Software Engineer > WSO2 Inc; http://wso2.com/ > > Email: madura...@wso2.com > Mobile: +94718990591 <+94%2071%20899%200591> > Blog: *https://madurangasiriwardena.wordpress.com/ > <https://madurangasiriwardena.wordpress.com/>* > <http://wso2.com/signature> > -- *Lasindu Charith* Senior Software Engineer, WSO2 Inc. Committer & PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [ESB] How to remove a synapse property in a Class mediator
Hi devs, Can we do $subject? There is no method to do above in Synapse MessageCtxt. Also noticed we cannot set a NULL value to a property as well. Except setting an empty string/predefined string, is there a way to do $subject from a class mediator? Thanks, -- *Lasindu Charith* Senior Software Engineer, WSO2 Inc. Committer & PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to download DAS 3.0.0 documentation as PDF or Html.
+ Rukshani On Thu, Oct 29, 2015 at 8:39 AM, Jorge <isildur...@gmail.com> wrote: > Hi all. > When I try to download the documentation for DAS 3.0.0 I found this link: > https://docs.wso2.com/spaces/flyingpdf/flyingpdf.action?key=BAM250 > if I change BAM250 with DAS300 ask me for user/pass. > > Thanks, > Jorge. > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer & PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [PPaaS] PPaaS 4.1.0 installer
Hi Imesh, On Mon, Oct 5, 2015 at 11:03 PM, Imesh Gunaratne <im...@wso2.com> wrote: > On Tue, Oct 6, 2015 at 12:09 AM, Gayan Gunarathne <gay...@wso2.com> wrote: >> >> >> PPaaS installer will setup the private paas. Main responsibility of that >> installer will be setup the db, ActiveMQ and Private PaaS and start the >> Private PaaS server. >> > > We may also need to configure CEP and DAS. > Yes, there should be an option to have CEP/DAS separately. From the installer do we only ask to point the external CEP/DAS ip addresses or will the installer take care of the configuration of CEP/DAS as well? (similar to configuring puppet master) > Thanks > > On Tue, Oct 6, 2015 at 12:09 AM, Gayan Gunarathne <gay...@wso2.com> wrote: > >> >> Hi All, >> >> We are planing to have two installers with the PPaaS 4.1.0. Our idea >> behind that is to make the PPaaS setup and the cartridge deployment to be >> loosely coupled. >> >> +1 > PPaaS installer will setup the private paas. Main responsibility of that >> installer will be setup the db, ActiveMQ and Private PaaS and start the >> Private PaaS server. >> > I think this is for PPaaS running in a single instance. Since we may not recommend to use installer in production, we need not to support distributed deployment of PPaaS in the installer. But as Imesh has mentioned, we would need to support CEP/DAS running externally. > >> PPaaS cartridges installer will be to deploy the Private PaaS >> cartridges.Main responsibility of this will be deploy the cartridges.Mainly >> It will carry out the following tasks, >> >> - Obtain the user input on deployment product and environment >> - If it is vm, >> set up the puppet master ,set up the packs , template module and >> plugins to right location >> - If it is kubenetes cluster, >>pull the docker images for nodes/or build the docker image locally >> and transfer to the Kubernetes cluster nodes based on the user input >> - Execute configurator to configure the samples >> - Update the deployment artifacts based on the user inputs and >> initialized the deployment process through Rest API. >> >> We will maintain and release those two installers separately. >> >> Please share your thoughts and suggestions on this. >> >> Thanks, >> Gayan >> >> >> >> >> >> >> -- >> >> Gayan Gunarathne >> Technical Lead, WSO2 Inc. (http://wso2.com) >> Committer & PMC Member, Apache Stratos >> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >> >> >> > > > > -- > *Imesh Gunaratne* > Senior 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 > > Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer & PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [PPaaS] private-paas-cartridges repository structure
think it is meaningful to have those common stuff at a one place, >>>>>>>> then someone new to this repository also have a feeling those stuff >>>>>>>> will be >>>>>>>> common for all the cartridges.Common PCA plugins and utils also we can >>>>>>>> have >>>>>>>> inside the common folder >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Gayan >>>>>>>> >>>>>>>> On Thu, Oct 1, 2015 at 12:52 PM, Akila Ravihansa Perera < >>>>>>>> raviha...@wso2.com> wrote: >>>>>>>> >>>>>>>>> Hi Gayan, >>>>>>>>> >>>>>>>>> Wouldn't it be easier to navigate if we move those common folders >>>>>>>>> to root folder? >>>>>>>>> >>>>>>>>> We can create a common folder under /plugins/ folder to keep >>>>>>>>> common PCA plugins and util files. >>>>>>>>> >>>>>>>>> Just a thought...wdyt? >>>>>>>>> >>>>>>>>> Thanks. >>>>>>>>> >>>>>>>>> On Thu, Oct 1, 2015 at 10:29 AM, Gayan Gunarathne <gay...@wso2.com >>>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Adding to the Dev list >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Oct 1, 2015 at 7:05 AM, Imesh Gunaratne <im...@wso2.com> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Shall we move this discussion to Dev? >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> On Wed, Sep 30, 2015 at 11:02 PM, Gayan Gunarathne < >>>>>>>>>>> gay...@wso2.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> As puppet,init-scripts,base image are common for all the >>>>>>>>>>>> cartridges,shall we group them under common? >>>>>>>>>>>> Also what about the configurator?I can see two options >>>>>>>>>>>> One option will be move the configurator to the private-paas >>>>>>>>>>>> repository and release it with the private paas.Other option will >>>>>>>>>>>> be we can >>>>>>>>>>>> do the separate release for the configurator.Seems it is better to >>>>>>>>>>>> have a >>>>>>>>>>>> separate release for the configurator. WDYT? >>>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Gayan >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Sep 30, 2015 at 10:44 PM, Gayan Gunarathne < >>>>>>>>>>>> gay...@wso2.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Sep 30, 2015 at 9:48 PM, Akila Ravihansa Perera < >>>>>>>>>>>>> raviha...@wso2.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> +1 for having a simple folder structure. I think we can move >>>>>>>>>>>>>> the contents in /common/ folder to root folder. One can easily >>>>>>>>>>>>>> identify the >>>>>>>>>>>>>> important files available and easy to navigate as well. >>>>>>>>>>>>>> >>>>>>>>>>>>>> What should be the Maven groupId for this repo? How about >>>>>>>>>>>>>> "org.wso2.ppaas.cartridges" or "org.wso2.cartridges" ? >>>>>>>>>>>>>> >>>>>>>>>>>>> We can use org.wso2.ppaas.cartridges as groupId >>>>>>>>>>>>
[Dev] Overview of upcoming WSO2 Private PaaS 4.1.0 release
Hi devs, This is to give a glimpse of upcoming WSO2 Private PaaS 4.1.0 release features and cartridges. Initial discussions can be found in [1][2]. Private PaaS 4.1.0 will contain cartridges of ESB 4.8.1, AS 5.2.1, IS 5.0.0 and APIM 1.9.0 for both VM and Docker. You can deploy multi-tenant, clustered PPaaS applications on multiple IaaSs including Kubernetes, EC2, Openstack, GCE. Private PaaS 4.1.0 will take care of auto-scaling, fail-over, clustering, multi-tenancy and artifact distribution while end user will only have deploy and manage their artifacts from the provided services. Read more about WSO2 Private Paas 4.1.0 in [3 http://blog.lasindu.com/2015/08/introduction-to-wso2-private-paas-410.html]. Setting up product in [4 http://blog.lasindu.com/2015/08/setting-up-wso2-private-paas-410.html] and deploy sample application in [5 http://blog.lasindu.com/2015/08/multitenant-application-deployment-in.html ]. Do let us know your thoughts, so that it would help us to improve and incorporate them to the coming release. [1] [Dev] Creating WSO2 Cartridges for Private PaaS 4.1.0 [2] [Dev] WSO2 docker support [3] http://blog.lasindu.com/2015/08/introduction-to-wso2-private-paas-410.html [4] http://blog.lasindu.com/2015/08/setting-up-wso2-private-paas-410.html [5] http://blog.lasindu.com/2015/08/multitenant-application-deployment-in.html Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Syntax Error in ESB 4.8.1 build.sh File
Hi Imesh/Pubudu, Please find my comments inline. On Tue, Aug 25, 2015 at 12:31 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Hi, build.sh file fails when there are no plugins in the {product/plugins} folder. We need to change the scripts as well. pushd ${wso2_product_plugin_path} cp * ${script_path}/plugins popd The above 'cp * command will not fail if there are no files inside ' wso2_product_plugin_path'. But however it will fail if there's no ' wso2_product_plugin_path'or'script_path}/plugins'which I guess is not possible. I could see the same syntax errors in the other docker images as well. Will do the needful. Thank you! On Mon, Aug 24, 2015 at 11:47 PM, Imesh Gunaratne im...@wso2.com wrote: One other problem I noticed with this build.sh file is that it does not copy the plugin files to plugins folder when executed with clean. On Mon, Aug 24, 2015 at 11:41 PM, Imesh Gunaratne im...@wso2.com wrote: Hi, I found the following issue in ESB 4.8.1 build.sh file and fixed: echo --- - echo Building ${wso2_product_type^^} - ${wso2_product_version} template module + echo Building ${wso2_product_type} - ${wso2_product_version} template module echo --- https://github.com/wso2/product-private-paas/commit/f2f763e7612eeae1a1e211b1fd97a970b5c369f1 This in-fact will change the 'wso2_product_type' to uppercase. However it will not work with bash versions below v4.0. So it's ok to remove them for now. -- *Imesh Gunaratne* Senior 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 -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Private PaaS] How do we verify a WSO2 Docker Image
Thanks Imesh, Pubudu for pointing out. Yes, we need to update the READMEs with $subject. In-fact we have this as a pending task(WIP) in the task list, where we need to finalize and update the readme files of - Docker images - Template modules - Samples - Plugins And the plan was to include more information in documentation, since complete information is scattered between several README files and it might be hard for a user to jump between and gather the required information. Thanks, On Tue, Aug 25, 2015 at 12:46 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Yes this can happen. We need to include relevant README.md files in template module as well as in the docker image. This should specify relevant files need to be added in the template module. Then again before building the docker image user need to verify template module has required files. Thank you! On Tue, Aug 25, 2015 at 12:34 AM, Imesh Gunaratne im...@wso2.com wrote: Thanks for the quick response Pubudu! Actually that's not what I meant. Even after successfully building the Docker image things might not work properly if we have not packaged all required files such as JDBC connector, Membership Scheme Extension, etc. On Tue, Aug 25, 2015 at 12:27 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Hi, When a docker image is built successfully you can see something similar to the following message in the console depend on the Wso2 product. Successfully built 4bfbc62891c5 WSO2 ESB - 4.8.1 docker image built successfully. It shows the image id of the docker image. Another verification is to use 'docker images' command to list down built docker images. This should list down the already built image with the image id. We can add these details to the README.md file. Will update the relevant README.md files. Thank you! On Tue, Aug 25, 2015 at 12:04 AM, Imesh Gunaratne im...@wso2.com wrote: Hi Devs, We have updated the Docker image creation process recently. Now the dependent files (JDBC connectors, patches, etc) are packaged via the template module, plugins reside in a separate folder, JDK is packaged via the base image and so on. In the Docker image README.md files I cannot see much information [1] on $subject. How can a user verify whether they have built a WSO2 Docker image successfully before running it on Private PaaS? [1] https://github.com/wso2/product-private-paas/tree/master/cartridges/docker/wso2esb-4.8.1 Thanks -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Syntax Error in ESB 4.8.1 build.sh File
On Tue, Aug 25, 2015 at 6:36 AM, Lasindu Charith lasi...@wso2.com wrote: Hi Imesh/Pubudu, Please find my comments inline. On Tue, Aug 25, 2015 at 12:31 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Hi, build.sh file fails when there are no plugins in the {product/plugins} folder. We need to change the scripts as well. pushd ${wso2_product_plugin_path} cp * ${script_path}/plugins popd The above 'cp * command will not fail if there are no files inside ' wso2_product_plugin_path'. But however it will fail if there's no ' wso2_product_plugin_path'or'script_path}/plugins'which I guess is not possible. My-bad. It will say *cp: cannot stat ‘*’: No such file or directory* which I think is ok since it acts as a warning. Building the docker image requires these plugins (that's the reason to include them in buil.sh) and shouldn't it log an error if the required files are not available? I don't think we should hide the errors by changing it to 'cp * ${script_path}/plugins 2/dev/null' I could see the same syntax errors in the other docker images as well. Will do the needful. Thank you! On Mon, Aug 24, 2015 at 11:47 PM, Imesh Gunaratne im...@wso2.com wrote: One other problem I noticed with this build.sh file is that it does not copy the plugin files to plugins folder when executed with clean. On Mon, Aug 24, 2015 at 11:41 PM, Imesh Gunaratne im...@wso2.com wrote: Hi, I found the following issue in ESB 4.8.1 build.sh file and fixed: echo --- - echo Building ${wso2_product_type^^} - ${wso2_product_version} template module + echo Building ${wso2_product_type} - ${wso2_product_version} template module echo --- https://github.com/wso2/product-private-paas/commit/f2f763e7612eeae1a1e211b1fd97a970b5c369f1 This in-fact will change the 'wso2_product_type' to uppercase. However it will not work with bash versions below v4.0. So it's ok to remove them for now. This will be a syntax error in mac since the default bash version is v3.x.x. -- *Imesh Gunaratne* Senior 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 -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Private PaaS] How do we verify a WSO2 Docker Image
Following up .. On Tue, Aug 25, 2015 at 6:44 AM, Lasindu Charith lasi...@wso2.com wrote: Thanks Imesh, Pubudu for pointing out. Yes, we need to update the READMEs with $subject. In-fact we have this as a pending task(WIP) in the task list, where we need to finalize and update the readme files of - Docker images - Template modules - Samples - Plugins And the plan was to include more information in documentation, since complete information is scattered between several README files and it might be hard for a user to jump between and gather the required information. Thanks, On Tue, Aug 25, 2015 at 12:46 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Yes this can happen. We need to include relevant README.md files in template module as well as in the docker image. This should specify relevant files need to be added in the template module. Then again before building the docker image user need to verify template module has required files. Thank you! On Tue, Aug 25, 2015 at 12:34 AM, Imesh Gunaratne im...@wso2.com wrote: Thanks for the quick response Pubudu! Actually that's not what I meant. Even after successfully building the Docker image things might not work properly if we have not packaged all required files such as JDBC connector, Membership Scheme Extension, etc. On Tue, Aug 25, 2015 at 12:27 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Hi, When a docker image is built successfully you can see something similar to the following message in the console depend on the Wso2 product. Successfully built 4bfbc62891c5 WSO2 ESB - 4.8.1 docker image built successfully. It shows the image id of the docker image. Another verification is to use 'docker images' command to list down built docker images. This should list down the already built image with the image id. We can add these details to the README.md file. Will update the relevant README.md files. Thank you! On Tue, Aug 25, 2015 at 12:04 AM, Imesh Gunaratne im...@wso2.com wrote: Hi Devs, We have updated the Docker image creation process recently. Now the dependent files (JDBC connectors, patches, etc) are packaged via the template module, plugins reside in a separate folder, JDK is packaged via the base image and so on. In the Docker image README.md files I cannot see much information [1] on $subject. How can a user verify whether they have built a WSO2 Docker image successfully before running it on Private PaaS? User can pull it from docker hub as in [2 http://blog.lasindu.com/2015/08/multitenant-application-deployment-in.html], if they are so curious on getting a 'successfully built' docker image for now ;) Anyway we need to update the readmes with all the necessary information and it will be mandatory in VM scenario. [1] https://github.com/wso2/product-private-paas/tree/master/cartridges/docker/wso2esb-4.8.1 Thanks -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com [2] http://blog.lasindu.com/2015/08/multitenant-application-deployment-in.html Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Syntax Error in ESB 4.8.1 build.sh File
Sure will do. On Tue, Aug 25, 2015 at 9:31 AM, Imesh Gunaratne im...@wso2.com wrote: Thanks for the response Lasindu!! IMO it would be better if we can add few validations in the build.sh file to check whether necessary files are there before building the docker image. On Tue, Aug 25, 2015 at 7:50 AM, Lasindu Charith lasi...@wso2.com wrote: On Tue, Aug 25, 2015 at 6:36 AM, Lasindu Charith lasi...@wso2.com wrote: Hi Imesh/Pubudu, Please find my comments inline. On Tue, Aug 25, 2015 at 12:31 AM, Pubudu Gunatilaka pubu...@wso2.com wrote: Hi, build.sh file fails when there are no plugins in the {product/plugins} folder. We need to change the scripts as well. pushd ${wso2_product_plugin_path} cp * ${script_path}/plugins popd The above 'cp * command will not fail if there are no files inside ' wso2_product_plugin_path'. But however it will fail if there's no ' wso2_product_plugin_path'or'script_path}/plugins'which I guess is not possible. My-bad. It will say *cp: cannot stat ‘*’: No such file or directory* which I think is ok since it acts as a warning. Building the docker image requires these plugins (that's the reason to include them in buil.sh) and shouldn't it log an error if the required files are not available? I don't think we should hide the errors by changing it to 'cp * ${script_path}/plugins 2/dev/null' I could see the same syntax errors in the other docker images as well. Will do the needful. Thank you! On Mon, Aug 24, 2015 at 11:47 PM, Imesh Gunaratne im...@wso2.com wrote: One other problem I noticed with this build.sh file is that it does not copy the plugin files to plugins folder when executed with clean. On Mon, Aug 24, 2015 at 11:41 PM, Imesh Gunaratne im...@wso2.com wrote: Hi, I found the following issue in ESB 4.8.1 build.sh file and fixed: echo --- - echo Building ${wso2_product_type^^} - ${wso2_product_version} template module + echo Building ${wso2_product_type} - ${wso2_product_version} template module echo --- https://github.com/wso2/product-private-paas/commit/f2f763e7612eeae1a1e211b1fd97a970b5c369f1 This in-fact will change the 'wso2_product_type' to uppercase. However it will not work with bash versions below v4.0. So it's ok to remove them for now. This will be a syntax error in mac since the default bash version is v3.x.x. -- *Imesh Gunaratne* Senior 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 -- *Imesh Gunaratne* Senior 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 -- *Pubudu Gunatilaka* Software Engineer WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 77 4078049 Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com -- *Imesh Gunaratne* Senior 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 -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] CEP 400 (Beta) NotStormManagerException
Thanks Sajith/Tishan/Suho, This issue is now fixed. I have verified it in the latest build. Thanks, On Tue, Jul 28, 2015 at 10:55 AM, Sajith Ravindra saji...@wso2.com wrote: Hi Imesh, We select coordinator among managers. Thanks *,Sajith Ravindra* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273550 blog: http://sajithr.blogspot.com/ http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab On Mon, Jul 27, 2015 at 4:37 PM, Imesh Gunaratne im...@wso2.com wrote: Hi Suho, Do we select a coordinator within the manager nodes or is it just the client that decides which manager to talk to? Thanks On Mon, Jul 27, 2015 at 2:45 PM, Sriskandarajah Suhothayan s...@wso2.com wrote: CEP Managers are must for Strom based coordination, so use the CEP Managers to be the carbon cluster as well-known members, else it does not make sense for CEP deployment. We have also done the testing like that. Regards Suho On Mon, Jul 27, 2015 at 2:16 PM, Lakmal Warusawithana lak...@wso2.com wrote: On Mon, Jul 27, 2015 at 2:15 PM, Lakmal Warusawithana lak...@wso2.com wrote: +1 Azeez [I mean adding Azeez into the loop] On Mon, Jul 27, 2015 at 2:07 PM, Lasindu Charith lasi...@wso2.com wrote: Hi all, We are having a clustered deployment of CEP 400 Beta in Stratos 4.1.0(in Kubernetes), similar to following. Instead of using hazelcast clustering, I'm using 'Stratos Membership scheme' [1] which considers all the members in the carbon cluster as well-known members. I have done CEP Distributed deployment according to [3][4]. [image: Inline image 1] When CEP workers start up, I can see the following log [2] in worker nodes. 10.244.28.23/24 are manager IPs. When the CEP managers are restarted, the error goes away(Workers can connect to CEP Manager). According to above membership scheme, any of the CEP workers/managers can be the hazelcast coordinator. *Does CEP requires a member who is both CEP manager as well as a hazelcast coordinator to be elected as the Storm manager? * Should CEP workers be always non-wka? How can we overcome this issue? [1] [Architecture] Stratos Membership Scheme for Automatically Discovering Carbon Instances in a Carbon Cluster [2] TID: [-1] [] [2015-07-27 04:51:11,885] ERROR {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener} - [-1234:ExecutionPlan:CEP Publisher] Error registering CEP publisher with current manager. Retrying after 5000ms TID: [-1] [] [2015-07-27 04:51:16,887] ERROR {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener} - [-1234:ExecutionPlan:CEP Publisher] Error in registering CEP publisher for 10.244.28.24:15000 with manager 10.244.28.23:8904. Trying next manager NotStormManagerException(message:10.244.28.23:8904 not a storm manager) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$registerCEPPublisher_result.read(StormManagerService.java:2116) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.recv_registerCEPPublisher(StormManagerService.java:120) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.registerCEPPublisher(StormManagerService.java:104) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.registerCEPPublisherWithStormMangerService(SiddhiStormOutputEventListener.java:181) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.run(SiddhiStormOutputEventListener.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) TID: [-1] [] [2015-07-27 04:51:16,890] ERROR {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener} - [-1234:ExecutionPlan:CEP Publisher] Error in registering CEP publisher for 10.244.28.24:15000 with manager 10.244.3.29:8904. Trying next manager NotStormManagerException(message:10.244.3.29:8904 not a storm manager) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$registerCEPPublisher_result.read(StormManagerService.java:2116) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.recv_registerCEPPublisher(StormManagerService.java:120) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.registerCEPPublisher(StormManagerService.java:104) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.registerCEPPublisherWithStormMangerService(SiddhiStormOutputEventListener.java:181
[Dev] CEP 400 (Beta) NotStormManagerException
.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.registerCEPPublisher(StormManagerService.java:104) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.registerCEPPublisherWithStormMangerService(SiddhiStormOutputEventListener.java:181) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.run(SiddhiStormOutputEventListener.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) TID: [-1] [] [2015-07-27 04:51:21,895] ERROR {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener} - [-1234:ExecutionPlan:CEP Publisher] Error in registering CEP publisher for 10.244.28.24:15000 with manager 10.244.3.29:8904. Trying next manager NotStormManagerException(message:10.244.3.29:8904 not a storm manager) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$registerCEPPublisher_result.read(StormManagerService.java:2116) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.recv_registerCEPPublisher(StormManagerService.java:120) at org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.registerCEPPublisher(StormManagerService.java:104) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.registerCEPPublisherWithStormMangerService(SiddhiStormOutputEventListener.java:181) at org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.run(SiddhiStormOutputEventListener.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [3] https://docs.wso2.com/display/CEP400/Clustered+Deployment [4] https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [PPaaS] Please review and merge
Merged On Thu, Jul 16, 2015 at 3:37 PM, Anuruddha Liyanarachchi anurudd...@wso2.com wrote: Hi, Please review and merge PR[1] containing changes to add clustering support to DAS docker image. [1]https://github.com/wso2/product-private-paas/pull/104 -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a thili...@wso2.comnurudd...@wso2.com -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [AF] Error when Nodejs Application deploying in Cartridge
Hi Hasitha, Seems like the spawned instance is having some issues when connecting to the puppet-master. That is the reason why it's not been able to retrieve the node-js puppet module from puppet-master. Were you able to spawn any other instance using the same puppet-master? Thanks, On Sun, Feb 8, 2015 at 9:40 PM, Hasitha Weerasinghe hasit...@wso2.com wrote: Hi All, I followed Apache stratos 4.0.0 [1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack to create a Nodejs cartridge in openstack. I have added Nodejs puppet modules to my puppet master following this blog [2] http://blog.lasindu.com/2014/08/apache-stratos-how-nodejs-cartridge.html. When the successfully build artifact is deployed in s2gitblit, the Nodejs cartridge instance get spawned. But artifact is not getting deployed in cartridge. I have cleared the puppet certificates before creating the snapshot. *puppet_log* file :- Removing all existing certificates .. Node Id 009209021511.default.nodejsdevelopment Domain puppet * Restarting puppet agent ...done. hostname stop/waiting ^[[0;32mInfo: Creating a new SSL key for 009209021511.default.nodejsdevelopment.puppet^[[0m ^[[0;32mInfo: csr_attributes file loading from /etc/puppet/csr_attributes.yaml^[[0m ^[[0;32mInfo: Creating a new SSL certificate request for 009209021511.default.nodejsdevelopment.puppet^[[0m ^[[0;32mInfo: Certificate Request fingerprint (SHA256): 95:37:CD:32:B1:F9:CF:2B:4F:AD:3C:94:A6:3D:28:9E:29:0E:66:B5:FA:2A:D6:55:08:F6:2D:C4:3E:D9:45:F6^[[0m ^[[0;32mInfo: Caching certificate for 009209021511.default.nodejsdevelopment.puppet^[[0m Exiting; failed to retrieve certificate and waitforcert is disabled Initialization completed successfully. [1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Creating+a+Cartridge+on+OpenStack [2] http://blog.lasindu.com/2014/08/apache-stratos-how-nodejs-cartridge.html -- *Hasitha Weerasinghe* *Software Engineer Intern - WSO2 http://wso2.com/ * Mobile : +94 776 33 6626 Email : hasit...@wso2.com -- *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
Re: [Dev] WSO2 Committers += Amalka Subasinghe
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] CSV - XML transformation using XSLT mediator
Hi all, Does anybody know a way(sample) to transform CSV format to XML in ESB, using some mediator except Smooks? (such as XSLT) Thanks, Lasindu -- *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
Re: [Dev] CSV - XML transformation using XSLT mediator
Hi Senduran, It should be comma separated csv to XML format. *FROM: CSV* abc, 123, 0.1, xyz, pqr, 456, 0.01, qwe, zxy, 789, 0.45, lmn *TO: XML* root element val1abc/val1 val2123/val2 val30.1/val3 val4xyz/val4 element element val1pqr/val1 val2456/val2 val30.01/val3 val4qwe/val4 element element val1zxy/val1 val2789/val2 val30.45/val3 val4lmn/val4 element root On Mon, Dec 1, 2014 at 6:20 PM, Senduran Balasubramaniyam sendu...@wso2.com wrote: Hi Lasindu, Could you please let us know a sample input format and desired output format Thanks Senduran On Mon, Dec 1, 2014 at 2:11 PM, Lasindu Charith lasi...@wso2.com wrote: Hi all, Does anybody know a way(sample) to transform CSV format to XML in ESB, using some mediator except Smooks? (such as XSLT) Thanks, Lasindu -- *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 -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ http://wso2.com/ Mobile: +94 77 952 6548 -- *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] BPS: BAM server profile encrypted password
Hi, When creating a BAM Server profile in BPS, according to the document [1 https://docs.wso2.com/display/BPS320/Business+Process+Monitoring+with+BAM2], the BAM server password has to be encoded/encrypted and used inside the password property(see under ServerProfile xmlns=http://wso2.org/bam/2.0; name=BAMServerProfile). But in the documentation it has not specified how to obtain the encrypted password of BAM server. Is it using the ciphertool.sh located in the BAM_SERVER/bin or is there any other way of generating the encrypted BAM password to be used in this configuration? [1] https://docs.wso2.com/display/BPS320/Business+Process+Monitoring+with+BAM2 -- *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
Re: [Dev] WSO2 Committers += Sachini Jayasekara
Congratz Sachini ...!!! On Fri, Oct 17, 2014 at 11:33 AM, Roshan Wijesena ros...@wso2.com wrote: Congratulations!! On Fri, Oct 17, 2014 at 11:27 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Congrats Sachini On Fri, Oct 17, 2014 at 11:10 AM, Niranda Perera nira...@wso2.com wrote: Congrats Sachini! On Fri, Oct 17, 2014 at 11:03 AM, Anuruddha Premalal anurud...@wso2.com wrote: Congratulation Sachini!! On Fri, Oct 17, 2014 at 10:59 AM, Harsha Kumara hars...@wso2.com wrote: Congratulations Sachini! On Fri, Oct 17, 2014 at 10:57 AM, Thilini Shanika thili...@wso2.com wrote: Congratulations Sachini :) On Fri, Oct 17, 2014 at 10:54 AM, Sithumini Senevirathne sithumi...@wso2.com wrote: Congratulations Sachini!!! On Fri, Oct 17, 2014 at 10:52 AM, Kasun De Silva kas...@wso2.com wrote: Congratulations Sachini !! *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Fri, Oct 17, 2014 at 10:51 AM, Vijitha Ekanayake vijit...@wso2.com wrote: Congratulations Sachini !!! On Fri, Oct 17, 2014 at 10:43 AM, Kalpa Welivitigoda kal...@wso2.com wrote: Congratulations Sachini ! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Sachini Jayasekara as a WSO2 Committer. Sachini has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of her contribution, she has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ 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 -- Vijitha Ekanayake Software Engineer*, *WSO2, Inc.; http://wso2.com/ Mobile : +94 777 24 73 39 | +94 718 74 44 08 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 -- -- 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 -- Thilini Shanika Software Engineer WSO2, Inc.; http://wso2.com 20, Palmgrove Avenue, Colombo 3 E-mail: tgtshan...@gmail.com ___ 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 -- *Anuruddha Premalal* Software Eng. | WSO2 Inc. Mobile : +94710461070 Web site : www.regilandvalley.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- 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 -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ 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
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ 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 -- *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
Re: [Dev] WSO2 Committers += Sameera Kannangara
Congratulations Sameera ..!!! On Fri, Oct 10, 2014 at 9:51 AM, Sewwandi Perera sewwa...@wso2.com wrote: Congratulations Sameera...!!! :) On Fri, Oct 10, 2014 at 9:45 AM, Milinda Perera milin...@wso2.com wrote: Congratulations Sameera ...! On Fri, Oct 10, 2014 at 9:44 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Congratulations Sameera!!! On Fri, Oct 10, 2014 at 9:42 AM, Heshani Gamage hesh...@wso2.com wrote: Congratulations Sameera! On Fri, Oct 10, 2014 at 9:38 AM, Subash Chaturanga sub...@wso2.com wrote: Hi all, It's our pleasure to welcome Sameera Kannangara as a WSO2 Committer. Sameera has contributed immensely to WSO2 Governance Registry and platform and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work. -- Thanks /subash *Subash Chaturanga* Senior Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: email: sub...@wso2.com blog: http://subashsdm.blogspot.com/ twitter: @subash89 phone: +9477 2225922 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Heshani Gamage Software Engineer, WSO2, Inc. email : hesh...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sewwandi Perera Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94-713765098 ___ 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
Re: [Dev] WSO2 Committers += Denuwanthi De Silva
Congratulations Denuwanthi ..!!! On Fri, Oct 10, 2014 at 9:50 AM, Sewwandi Perera sewwa...@wso2.com wrote: Congratulations Denuwanthi...!!! :) On Fri, Oct 10, 2014 at 9:45 AM, Danesh Kuruppu dan...@wso2.com wrote: Congrats Denuwanthi !!! On Fri, Oct 10, 2014 at 9:44 AM, Sameera Jayaratna samee...@wso2.com wrote: Congratz Denuwanthi!! On Fri, Oct 10, 2014 at 9:42 AM, Heshani Gamage hesh...@wso2.com wrote: Congratulations Denuwanthi! On Fri, Oct 10, 2014 at 9:36 AM, Subash Chaturanga sub...@wso2.com wrote: Hi all, It's our pleasure to welcome Denuwanthi De Silva as a WSO2 Committer. Denuwanthi has contributed immensely to WSO2 Governance Registry and platform and shown great commitment. In recognition of her contribution, she has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work. -- Thanks /subash *Subash Chaturanga* Senior Software Engineer Platform TG; WSO2 Inc. http://wso2.com Contact: email: sub...@wso2.com blog: http://subashsdm.blogspot.com/ twitter: @subash89 phone: +9477 2225922 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Heshani Gamage Software Engineer, WSO2, Inc. email : hesh...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Thanks Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. * *lean . enterprise . middleware | http://wso2.com http://wso2.com * ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Danesh Kuruppu Software Engineer WSO2 Inc, Mobile: +94 (77) 1690552 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Sewwandi Perera Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94-713765098 ___ 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] [PPaaS] How should Multi-tenant cartridges use the User Store
Hi, In the current implementation of Private PaaS cartridges, when a new Multi-tenant cartridge is deployed, it will share the same user store with Stratos. So the users in Stratos will be exposed to that particular multi-tenant service and vise versa. But when an admin login to the multi-tenant service, it can attach a secondary user store, but still shares the same primary user store. One possible way to restrict users created in the MT service to access Stratos would be to make the JDBCUserStoreManager read only in the MT service user-mgt.xml so that it cannot create users in the primary user store. But would that be the expected behavior? Will the permission tree exposed via Stratos be visible to other MT services and vise versa? Thanks, -- *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
Re: [Dev] WSO2 Committers += Samith Dassanayake
Congratz Samith ...!!! On Thu, Oct 2, 2014 at 10:40 AM, Kasun De Silva kas...@wso2.com wrote: Congratz Samith *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Thu, Oct 2, 2014 at 10:39 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, Its my pleasure to welcome Samith Dassanayake as a WSO2 Committer. Samith has contributed immensely to WSO2 App Factory and has shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Committer. Samith, welcome aboard! 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 ___ 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
Re: [Dev] WSO2 Committers += Anuruddha Premalal
Congratulations Anuruddha ..!!! On Mon, Sep 29, 2014 at 11:41 AM, Tharindu Edirisinghe tharin...@wso2.com wrote: Congratulations Anuruddha On Mon, Sep 29, 2014 at 11:28 AM, Waruna De Silva waru...@wso2.com wrote: Congratulations Anuruddha.!! On Mon, Sep 29, 2014 at 8:53 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi all, Its my pleasure to welcome Anuruddha Premalal as a WSO2 Committer. Anuruddha has contributed immensely to WSO2 App Factory and has shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Committer. Anuruddha, welcome aboard! Regards, Amila. -- 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 -- -- Waruna De Silva. Director of Engineering ; WSO2, Inc.; http://wso2.com/ cell +94 777 316866 Lean . Enterprise . Middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Tharindu Edirisinghe Software Engineer | WSO2 Inc Identity Server Team mobile : +94 775 181586 ___ 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
Re: [Dev] WSO2 Commiters += Rajith Siriwardena
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 -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Yasassri Ratnayake Software Engineer - QA WSO2 Inc ; http://wso2.com lean.enterprise.middleware *Mobile : +94715933168 %2B94715933168* *Blog : http://yasassriratnayake.blogspot.com/ http://yasassriratnayake.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajkumar Rajaratnam Software Engineer | WSO2, Inc. Mobile +94777568639 | +94783498120 ___ 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 -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog:http://malinthas.blogspot.com Page: http://about.me/malintha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.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 -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791* ___ 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 -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jenananthan Yogendran *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.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 -- 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 -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 https://twitter.com/N1R44 ___ 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
Re: [Dev] Apache Stratos configuration - Duplicate key name 'REG_PATH_IND_BY_PATH_VALUE'
Hi Thushara and Suhan, Better if you can discuss the issues related to Apaches Stratos in stratos-dev list (http://stratos.apache.org/community/mailing-lists.html) But for now, regarding the issues you have when setting up Stratos in osx, Nirmal, Reka or Prasanna might be able to help (Added). Thanks, On Tue, Sep 16, 2014 at 3:57 PM, Suhan Dharmasuriya suh...@wso2.com wrote: We have installed mysql for OSX 10.9 [1] [1] http://www.macminivault.com/mysql-mavericks/ On Tue, Sep 16, 2014 at 3:55 PM, Suhan Dharmasuriya suh...@wso2.com wrote: Hi, Myself and Thushara were following the tutorial [1] installing apache Stratos and came to the following section. - Run the stratos-setup.sh file as the root. $ sudo ./setup.sh -p default After running the command we got the following error in our mac book pros. Detail terminal output is attached in the mail for reference. /WSO2/Products/stratos/opt/stratos-installer Warning: Using a password on the command line interface can be insecure. *ERROR 1061 (42000) at line 57: Duplicate key name 'REG_PATH_IND_BY_PATH_VALUE'* We also followed the apache stratos wiki [3]. Please provide a direction to proceed from here. *Note*: *earlier setup.sh file gave an error saying,* sed: illegal option --r *Then the shell script was changed accordingly[2].* *Please note that we are using Mac OSX 10.9.4* *Then again an error appeared stating -i switch is not supported.* *Therefore the following shell script files were modified removing -i switch.* *ec2.sh* *openstack.sh* *setup.sh* *setup.conf* *Scripts are attached for reference. * [1] http://blog.ravihansa3000.com/2014/04/installing-apache-stratos-40-with.html [2] http://www.flashesofpanic.com/panic/002596.php [3] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cloud+Controller+Configuration Thanks, Suhan and Thushara -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhancoold.blogspot.com/ -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhancoold.blogspot.com/ ___ 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] Convention for having CEP Puppet Modules for PPaaS
Hi, There are two types of CEP Puppet modules, which needs to be in the PPaaS Puppet modules. One is which can be used as a CEP multi-tenant Cartridge and one which needs to be used as a external CEP for Stratos to publish events - CEP HAing (Load Average/Memory Consumption etc). 1. For the latter type of the CEP Puppet module, in practical, we do not need to have a cartridge Agent since that CEP need not to publish statistics to another CEP instance. Yet to configure the wka members properly for clustering we need to have a Cartridge Agent-extension. Is it possible to disable stat publishing of the Cartridge Agent or kill Cartridge Agent after execution of extension or is there any other way to retrieve member hostname and ip of the other member of the CEP cluster without having a cartridge agent? 2. Can we have two CEP puppet modules, one module- say 'cep' (which needs to be used as a multi-tenant cartridge with Clustering) which inherits from base cartridge and another puppet module - say 'cep-ext' which extends from 'cep' which has all the config files(execution plans, input/output adapters etc.) to be used as a external CEP with HA to be used by Stratos.? What would be the better solution to address these ? Thanks, -- *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