Re: [Q] - Verifying sample name - esb-php-nested-with-esb-php-nested-with-mysql-php-app

2015-04-20 Thread Shavindri Dissanayake
Thank you team for clarifying! +1 for renaming the sample and it's application ID. Thanks & Regards Shavindri Dissanayake Technical Writer LinkedIn Profile Mob: 0779966739 WSO2 Inc. lean.enterprise.middleware On

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Swapnil Patil
Hi Imesh, Thank you for your input. Yes, I agree that we should create a target pool for each cluster. But as far as I know, we can't assign IP address to a target pool. We can assign IP address to a forwarding rule and a target pool will be associated with a forwarding rule. Also forwarding rule

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Reka Thirunavukkarasu
Please join the discussion in https://plus.google.com/hangouts/_/hoaevent/AP36tYdHWJ48nQcVFeywwY6ZM-l2oEGR2Ri2-OIG46d9k-0DhoUWWA?authuser=0&hl=en On Mon, Apr 20, 2015 at 10:31 PM, Reka Thirunavukkarasu wrote: > Please find the event link as > https://plus.google.com/u/1/events/cpp77bj9v7aapl2sjb

Re: [Q] - Verifying sample name - esb-php-nested-with-esb-php-nested-with-mysql-php-app

2015-04-20 Thread Mariangela Hills
+1 for renaming the app as its way too long and will strike any new user as a typo! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Apr 21, 2015 at 5:57 AM, Dakshi

Re: [Q] Why is the samples hierarchy so long in 4.1.0-kubernetes-v6/

2015-04-20 Thread Mariangela Hills
Thanks, Imesh! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Tue, Apr 21, 2015 at 9:03 AM, Imesh Gunaratne wrote: > Hi Mari, > > It was my mistake that I have menti

Re: [Q] Why is the samples hierarchy so long in 4.1.0-kubernetes-v6/

2015-04-20 Thread Imesh Gunaratne
Hi Mari, It was my mistake that I have mentioned 4.1.0-beta in the title of [1]. This document was created before releasing 4.1.0-beta, it should have said 4.1.0-kubernetes-v6 instead. I have now updated it. Yes for 4.1.0-beta we could ask the user to build the binary distribution from source. T

Re: [Q?] Updating the Kubernetes-CoreOS Host via REST API?

2015-04-20 Thread Imesh Gunaratne
A good suggestion Gayan! AFAIK JAX-RS only provides GET, POST, PUT, DELETE, HEAD & OPTIONS by default. For PATCH we might need to implement a custom annotation [1] [1] http://cxf.apache.org/docs/jax-rs-basics.html On Thu, Apr 16, 2015 at 3:23 PM, Gayan Gunarathne wrote: > Are we using HTTP PATC

Re: [Question] Is is correct for two different status codes appear when adding a tenant?

2015-04-20 Thread Imesh Gunaratne
Yes, IMO we need to merge successful message and error message formats into one generic response message format: { "status":"successful", "message":"Application A1 created successfully" } { "status":"error", "message":"An application with the id A1 already exists" } On Fri, Apr 17,

Re: Creating Topology Locks if the Lock is not Found

2015-04-20 Thread Imesh Gunaratne
On Sun, Apr 19, 2015 at 5:33 PM, Isuru Haththotuwa wrote: > > What we can do is to pass an additional flag to getters in [1] to indicate > force lock re-creation if not found. For an example, [2]. For unlock > operations, this flag should be set to false. If the lock is not found, we > currently

Re: [Q] - Verifying sample name - esb-php-nested-with-esb-php-nested-with-mysql-php-app

2015-04-20 Thread Dakshika Jayathilaka
Hi Vishanth, We didn't use it for UI testing, but this lengthy name shows some limitations on topology view. I have fixed some of the issues that encountered. +1 for renaming app including imesh's suggestion. Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Softwa

[GitHub] stratos pull request: Modified the code according to the code revi...

2015-04-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/284 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] stratos pull request: Fixing the improvements on refining cartridg...

2015-04-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/281 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

Re: [Q] - Verifying sample name - esb-php-nested-with-esb-php-nested-with-mysql-php-app

2015-04-20 Thread Imesh Gunaratne
I agree with Shavindri here. This is not a proper application id. We might need to consider renaming this and add a README file explaining the application behaviour. Thanks On Mon, Apr 20, 2015 at 3:48 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > I believe it was done inte

Re: Topology inconsistent

2015-04-20 Thread Imesh Gunaratne
Hi Michiel, It's a pleasure! My guess is that either cartridge agent has been restarted or there is a bug in its logic. Ideally cartridge agent should only wait for Complete Topology event once in its lifecycle. If it is waiting more than once then there is an issue. Thanks On Mon, Apr 20, 2015

Re: Service clustering for Stratos

2015-04-20 Thread Imesh Gunaratne
+1 for pointing to this Udara! I think it would be better to have this functionality in a more generic manner so that any cartridge that needs its own cluster discovery mechanism can be plugged in. According to our offline discussion with Chamila, IsuruH & Gayan, we could introduce a new block cal

Re: Topology inconsistent

2015-04-20 Thread Michiel Blokzijl (mblokzij)
HI Imesh, Thanks for replying, > This issue might occur if the cartridge agent start processing member events > before consuming Complete Topology event. The issue happened way after that, I had Stratos running for a day or so, and in the logs I saw some “waiting for complete topology event .

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Imesh Gunaratne
Hi Swapnil, Thanks for your response on this. IMO we could achieve this functionality without having to use a haproxy instance. The concept we have here is to group all the members of a cluster and use a hostname to load balance incoming requests among them. With GCE what we can do is to create a

Re: Topology inconsistent

2015-04-20 Thread Imesh Gunaratne
Hi Michiel, This issue might occur if the cartridge agent start processing member events before consuming Complete Topology event. This is how the topology get initialized in any component that listen to topology topic in message broker; First of all when the component starts up it waits for the

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Reka Thirunavukkarasu
Please find the event link as https://plus.google.com/u/1/events/cpp77bj9v7aapl2sjb6n581eek0?authkey=CP3c5ciRw_zBOw Thanks, Reka On Mon, Apr 20, 2015 at 10:04 PM, Reka Thirunavukkarasu wrote: > Hi > > Will start the initial discussion tomorrow at 10am(IST). As Vishanth > mentioned, we can keep

Apache Stratos invited you to Architecture Discussion On Composite Application

2015-04-20 Thread Google+ (Apache Stratos)
Apache Stratos invited you to Architecture Discussion On Composite Application Tue, April 21, 10:00 AM GMT+5:30 SriLanka Chris Haddad, Imesh Gunaratne, Ishmal Bartley and 40 more are invited View Invitation: https://plus.google.com/_/notifications/ngemlink?&emid=CPDYh6athcUCFabBHgodpBEAWQ&pat

Apache Stratos invited you to Architecture Discussion On Composite Application

2015-04-20 Thread Google+ (Apache Stratos)
Apache Stratos invited you to Architecture Discussion On Composite Application Tue, April 21, 10:00 AM GMT+5:30 SriLanka 2 people invited View Invitation: https://plus.google.com/_/notifications/ngemlink?&emid=CLD4m4ethcUCFcVYNAodPF8AdQ&path=%2Fevents%2Fcpp77bj9v7aapl2sjb6n581eek0%3Fauthkey%3

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Reka Thirunavukkarasu
Hi Will start the initial discussion tomorrow at 10am(IST). As Vishanth mentioned, we can keep the youtube channel for later use. Please update this thread, if this time doesn't fit... Thanks, Reka On Mon, Apr 20, 2015 at 9:41 PM, Lakmal Warusawithana wrote: > +1, this is complex area and wil

Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-04-20 Thread Swapnil Patil
Hi, I have proposed a solution for the project on $subject where I am using an HA Proxy between incoming request and Google Compute Engine (GCE) load balancing components. I have been advised to provide more description regarding why I am using HA Proxy in my proposed solution. Please find below

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Lakmal Warusawithana
+1, this is complex area and will help other devs to understand the implementation.

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Vishanth Balasubramaniam
+1 It would be a great value if we add them to our youtube channel. On Mon, Apr 20, 2015 at 8:49 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > +1 for tomorrow morning. It will be really helpful ! > > On Mon, Apr 20, 2015 at 6:08 PM, Chamila De Alwis > wrote: > >> This would be real

[jira] [Resolved] (STRATOS-755) Support for vCloud Automation Center and the deprecation of vCloud Director for enterprise

2015-04-20 Thread John Muller (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Muller resolved STRATOS-755. - Resolution: Won't Fix Fix Version/s: 4.0.0 Resolving as won't fix as there is now a simple

[jira] [Closed] (STRATOS-755) Support for vCloud Automation Center and the deprecation of vCloud Director for enterprise

2015-04-20 Thread John Muller (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Muller closed STRATOS-755. --- Resolving as won't fix as there is now a simple workaround. VMWare has released "VMWare Integrated OpenS

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Anuruddha Liyanarachchi
+1 for tomorrow morning. It will be really helpful ! On Mon, Apr 20, 2015 at 6:08 PM, Chamila De Alwis wrote: > This would be really helpful Reka! +1 for tomorrow morning. > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > > On Mon,

Topology inconsistent

2015-04-20 Thread Michiel Blokzijl (mblokzij)
Hi, I’m looking at an issue with Stratos 4.0.0 code, and I’m having an issue with the cartridge agent. It complains about the topology being inconsistent, triggered by this code [1]. This causes the extension handler not to fire for cartridges going down. [2015-04-19 07:19:22,486] INFO - [Memb

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Chamila De Alwis
This would be really helpful Reka! +1 for tomorrow morning. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Mon, Apr 20, 2015 at 6:05 PM, Reka Thirunavukkarasu wrote: > +1 to start with tomorrow morning.. > > > Thanks, > Reka > > On Mon, Apr

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Reka Thirunavukkarasu
+1 to start with tomorrow morning.. Thanks, Reka On Mon, Apr 20, 2015 at 6:02 PM, Imesh Gunaratne wrote: > +1 Thanks for bringing this up Reka! Shall we arrange the initial session > of this tomorrow morning if everyone is available? > > On Mon, Apr 20, 2015 at 5:49 PM, Reka Thirunavukkarasu

Re: Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Imesh Gunaratne
+1 Thanks for bringing this up Reka! Shall we arrange the initial session of this tomorrow morning if everyone is available? On Mon, Apr 20, 2015 at 5:49 PM, Reka Thirunavukkarasu wrote: > Hi > > Can we start architectural discussion and code reviews in hangout for > Composite Application Suppor

Re: [Discuss] REST API Improvements

2015-04-20 Thread Anuruddha Liyanarachchi
Hi, As per the present implementation the ID will be read from the JSON file, not from the parameter. Therefore two ID's can mismatch. In order to prevent ID mismatch we need to validate two IDs in the REST API. On Mon, Apr 20, 2015 at 3:24 PM, Dinithi De Silva wrote: > Yes Vishanth. We need

Architectural Discussion and Code Reviews for Composite Application support for 4.1.0

2015-04-20 Thread Reka Thirunavukkarasu
Hi Can we start architectural discussion and code reviews in hangout for Composite Application Support? So that everyone can get know about the concepts and we can get the feedback to improve the code quality and the functionality further. Concepts in Composite Application ===

[jira] [Updated] (STRATOS-1338) Wiki - Document the setup.conf configurations

2015-04-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1338: -- Affects Version/s: (was: 4.1.0) 4.1.0 Beta > Wiki - Documen

[jira] [Resolved] (STRATOS-1338) Wiki - Document the setup.conf configurations

2015-04-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1338. --- Resolution: Fixed Fix Version/s: 4.1.0 RC1 Documented the properties in [1].

Service clustering for Stratos

2015-04-20 Thread Udara Liyanage
Hi, In a enterprise environment services are clustered for high availability and scalability. So I think we might need to add clustering capability for Stratos applications too. Like to describe your ideas on below topics related to clustering, 1) Define clustering information in cartridge/appli

[jira] [Assigned] (STRATOS-1338) Wiki - Document the setup.conf configurations

2015-04-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills reassigned STRATOS-1338: - Assignee: Mariangela Hills > Wiki - Document the setup.conf configurations > --

[jira] [Created] (STRATOS-1338) Wiki - Document the setup.conf configurations

2015-04-20 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1338: - Summary: Wiki - Document the setup.conf configurations Key: STRATOS-1338 URL: https://issues.apache.org/jira/browse/STRATOS-1338 Project: Stratos I

[jira] [Commented] (STRATOS-1326) Update and document adding an Application via UI

2015-04-20 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502631#comment-14502631 ] Shavindri Dissanayake commented on STRATOS-1326: On Hold due to issues f

Re: [Q] - Verifying sample name - esb-php-nested-with-esb-php-nested-with-mysql-php-app

2015-04-20 Thread Vishanth Balasubramaniam
Hi, I believe it was done intentionally to give meaning to what the application contains. I think the correct name should be *esb**-**php**-**nested-with-* *esb**-**php**-**nested-with-**esb**-**php**-**nested-with-**mysql**-**php* *-app.* I think this application was also used to test the tree v

Re: [Discuss] REST API Improvements

2015-04-20 Thread Dinithi De Silva
Yes Vishanth. We need to change that too. There was a separate mail thread discussing about the response message structure. ([Question] Is is correct for two different status codes appear when adding a tenant?). We need to change successMessage to statusMessage in the response,but still there isn't

Re: [Discuss] REST API Improvements

2015-04-20 Thread Vishanth Balasubramaniam
On Sun, Apr 19, 2015 at 12:40 AM, Chamila De Alwis wrote: > Hi devs, > > After going through the REST API and the tickets that are raised for it, I > think we should do another round of refactoring on it. Most API methods > will stay unchanged, and there will be no additional methods added or > e

[jira] [Created] (STRATOS-1337) Unable to add a cartridge to an applciation

2015-04-20 Thread Shavindri Dissanayake (JIRA)
Shavindri Dissanayake created STRATOS-1337: -- Summary: Unable to add a cartridge to an applciation Key: STRATOS-1337 URL: https://issues.apache.org/jira/browse/STRATOS-1337 Project: Stratos