[GitHub] stratos pull request: Fixed dependent-scaling (sample-groups) samp...

2015-03-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/255 --- 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: New doc format to document CLI in wiki

2015-03-03 Thread Mariangela Hills
Good question, Vishanth! As a norm we have generally used upper case with an underscore (e.g., ). I have fixed [1] accordingly. [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Adding+a+Network+Partition+via+CLI Regards, Mariangela *--* Mariangela Hills Senior Technical Writer

[jira] [Commented] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Menaka Madushanka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346535#comment-14346535 ] Menaka Madushanka commented on STRATOS-1187: Thank you very much Imesh. :-)

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
I have fixed dependency-scaling sample applications (sample-cartridges and sample-groups). Please review and merge the PR [1]. [1] - https://github.com/apache/stratos/pull/255 Thanks. On Wed, Mar 4, 2015 at 12:12 PM, Dinithi De Silva wrote: > Hi Lahiru, > > +1 for the idea and I'll rename them

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Hi Lahiru, +1 for the idea and I'll rename them with suitable names. Thanks On Wed, Mar 4, 2015 at 12:11 PM, Dinithi De Silva wrote: > Hi Raj, > > It is deploying now. I didn't pull the code before deploying. Sorry about > that. > > Thanks > > On Wed, Mar 4, 2015 at 11:38 AM, Rajkumar Rajaratn

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Hi Raj, It is deploying now. I didn't pull the code before deploying. Sorry about that. Thanks On Wed, Mar 4, 2015 at 11:38 AM, Rajkumar Rajaratnam wrote: > > > On Wed, Mar 4, 2015 at 11:28 AM, Dinithi De Silva > wrote: > >> Hi Raj, >> >> Thanks a lot for sharing this. >> But I am unable to d

Re: New doc format to document CLI in wiki

2015-03-03 Thread Vishanth Balasubramaniam
Hi Mari, Looks good. Just want to know whether do we have any standard for naming a variable. Eg: or Thank you, Vishanth On Wed, Mar 4, 2015 at 11:28 AM, Shavindri Dissanayake wrote: > Hi Mari, > > +1. Will do the needful for the other wiki pages as well. > > Thanks & Regards > Shavindri Dis

[GitHub] stratos pull request: Fixed dependent-scaling (sample-groups) samp...

2015-03-03 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/255 Fixed dependent-scaling (sample-groups) sample application. Fixed dependent-scaling (sample-groups) sample application. You can merge this pull request into a Git repository by running: $ git

[jira] [Updated] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1187: - Description: Currently Stratos has a CLI [2] written in Java. This proposal is to implem

[jira] [Updated] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1187: - Description: Currently Stratos has a CLI [2] written in Java. This proposal is to implem

[jira] [Commented] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346455#comment-14346455 ] Imesh Gunaratne commented on STRATOS-1187: -- Hi Menaka, It's nice to see your i

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Udara Liyanage
Hi, Current CLI implementation reads the JSON file content and invoke the relevant Stratos API with file content as the message payload On Wed, Mar 4, 2015 at 11:23 AM, Imesh Gunaratne wrote: > Hi Srinivas, > > A good question! As Vishanth has mentioned you could refer the existing > Java based

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Rajkumar Rajaratnam
On Wed, Mar 4, 2015 at 11:28 AM, Dinithi De Silva wrote: > Hi Raj, > > Thanks a lot for sharing this. > But I am unable to deploy single-group-cartridge sample. I got the > following error when deploying. > > ERROR {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Invalid > Application Polic

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Lahiru Sandaruwan
Great work Dinithi! On Wed, Mar 4, 2015 at 10:28 AM, Dinithi De Silva wrote: > Hi all, > > The fixed samples are listed below and I am working on the rest of the > sample applications. > >- single-cartridge >- single-group-v1 >- single-group-v2 >- single-group-v3 > > Shall we giv

Re: [Question] Veryfing CLI Command output

2015-03-03 Thread Udara Liyanage
Hi Diniti, Better add the name of the deleted deployment policy to the output "Successfully deleted deployment policy [deployment-policy-1]" On Wed, Mar 4, 2015 at 11:20 AM, Dinithi De Silva wrote: > Hi, > > Please find the JIRA [1] for the issue. > > [1] - https://issues.apache.org/jira/brows

Re: [Discuss] [Diagram] Stratos 4.1.0 - Load Balancer Architecture

2015-03-03 Thread Imesh Gunaratne
Diagram updated to include static topology configuration: ​ On Wed, Mar 4, 2015 at 12:38 AM, Imesh Gunaratne wrote: > Hi Devs, > > I have now refined the load balancer as shown in the below diagram: > > > > > This refinement added the new class Topology Provider. It allows us to > populate the

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Hi Raj, Thanks a lot for sharing this. But I am unable to deploy single-group-cartridge sample. I got the following error when deploying. ERROR {org.apache.stratos.autoscaler.util.AutoscalerUtil} - Invalid Application Policy. Cause -> Network partition [network-partition-id] network-partition-2

Re: New doc format to document CLI in wiki

2015-03-03 Thread Shavindri Dissanayake
Hi Mari, +1. Will do the needful for the other wiki pages as well. Thanks & Regards Shavindri Dissanayake Technical Writer LinkedIn Profile Mob: 0779966739 WSO2 Inc. lean.enterprise.middleware On Wed, Mar 4, 201

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Imesh Gunaratne
As per the offline discussion with Imesh and Lahiru, we have decided to have three partition selection algorithms. 1. Round-Robin : Always next partition will be selected, this is will not ensure that instances are equally distributed to partitions. 2. Weighted-Round-Robin : It will distr

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Lahiru Sandaruwan
On Wed, Mar 4, 2015 at 11:21 AM, Rajkumar Rajaratnam wrote: > As per the offline discussion with Imesh and Lahiru, we have decided to > have three partition selection algorithms. > +1. We can rename current one to 'Weighted RR' Thanks. > >- Round-Robin : The next partition will be selected

Re: New doc format to document CLI in wiki

2015-03-03 Thread Imesh Gunaratne
Great work Mari! [1] looks excellent!! IMO it includes everything that a user should know about a CLI command. Thanks On Wed, Mar 4, 2015 at 11:16 AM, Mariangela Hills wrote: > Hi Shavindri, > > It is great that you are updating the wiki with the new CLI commands and > outputs. I think that we

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Sorry for the previous mail. Accidentally hit the send button :( As per the offline discussion with Imesh and Lahiru, we have decided to have three partition selection algorithms. 1. Round-Robin : Always next partition will be selected, this is will not ensure that instances are equally dis

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Imesh Gunaratne
Great! It's nice to see the sample application status on a matrix! On Wed, Mar 4, 2015 at 11:08 AM, Rajkumar Rajaratnam wrote: > Hi, > > Here is the current status of the samples. > > > https://docs.google.com/spreadsheets/d/1STQtVUvEXS27yFPE13xkHJjVuya6F8wyFebo1lH3bBo/edit?usp=sharing > > Thank

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
As per the offline discussion with Imesh and Lahiru, we have decided to have three partition selection algorithms. - Round-Robin : The next partition will be selected On Wed, Mar 4, 2015 at 11:14 AM, Gayan Gunarathne wrote: > Yeah IMO also we need to keep track of the selected index no of t

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Imesh Gunaratne
Hi Srinivas, A good question! As Vishanth has mentioned you could refer the existing Java based CLI first. In that we do not use name value pairs for parsing complex artifacts, rather they are directly passed to the message body. Thanks On Wed, Mar 4, 2015 at 1:31 AM, srinivas devaki wrote: >

Re: [Question] Veryfing CLI Command output

2015-03-03 Thread Dinithi De Silva
Hi, Please find the JIRA [1] for the issue. [1] - https://issues.apache.org/jira/browse/STRATOS-1225 Thanks. On Wed, Mar 4, 2015 at 11:18 AM, Dinithi De Silva wrote: > Hi Shavindri, > > This is a mistake and thank you for pointing this out Shavindri. I will > look into this. > > Thanks > > On

Re: [Question] Veryfing CLI Command output

2015-03-03 Thread Dinithi De Silva
Hi Shavindri, This is a mistake and thank you for pointing this out Shavindri. I will look into this. Thanks On Wed, Mar 4, 2015 at 10:59 AM, Shavindri Dissanayake wrote: > Hi Team, > > I am in the process of documenting the updated CLI commands and the > output. A URL appears in the CLI Tool

New doc format to document CLI in wiki

2015-03-03 Thread Mariangela Hills
Hi Shavindri, It is great that you are updating the wiki with the new CLI commands and outputs. I think that we can make certain changes to the CLI pages, so that it will be more informative and user friendly to the users. I have updated [1] with various minor improvements (see [2] for the changes

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Gayan Gunarathne
Yeah IMO also we need to keep track of the selected index no of the partition.I think we may need to persist the selected index to get the RR algorithm works correctly. IMO in the scale up we will increment the selected index up to max index no while in scale down it will decrease the selected ind

[jira] [Created] (STRATOS-1225) API URL displays with the response when CLI commands executed

2015-03-03 Thread Dinithi De SIlva (JIRA)
Dinithi De SIlva created STRATOS-1225: - Summary: API URL displays with the response when CLI commands executed Key: STRATOS-1225 URL: https://issues.apache.org/jira/browse/STRATOS-1225 Project: St

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Rajkumar Rajaratnam
Hi, Here is the current status of the samples. https://docs.google.com/spreadsheets/d/1STQtVUvEXS27yFPE13xkHJjVuya6F8wyFebo1lH3bBo/edit?usp=sharing Thanks. On Wed, Mar 4, 2015 at 10:28 AM, Dinithi De Silva wrote: > Hi all, > > The fixed samples are listed below and I am working on the rest of

[Question] Veryfing CLI Command output

2015-03-03 Thread Shavindri Dissanayake
Hi Team, I am in the process of documenting the updated CLI commands and the output. A URL appears in the CLI Tool when certain commands are being executed [1]. Please confirm whether this is correct or whether it is a mistake. [1] stratos> remove-deployment-policy deployment-policy-1 https://l

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Hi all, The fixed samples are listed below and I am working on the rest of the sample applications. - single-cartridge - single-group-v1 - single-group-v2 - single-group-v3 - complex-app-with-lb - group-cartridges - more-complex-app - dependent-scaling (sample-cartridges)

Re: Can't run strartos server

2015-03-03 Thread Isuru Perera
You can simply use dos2unix command. http://linuxcommand.org/man_pages/dos2unix1.html On Wed, Mar 4, 2015 at 9:32 AM, Jerad Rutnam wrote: > Hi Vishanth, Udara, > > Vishanth point seems to be the problem (Dos line ending). It was not built > properly I guess. May be file permission might cause th

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Hi Reka, On Wed, Mar 4, 2015 at 1:03 AM, Reka Thirunavukkarasu wrote: > I think that there is small issue in applying the same RR logic for scale > up and scale down. if it sclaes up, then > > p1 -1, p2-1, p3-1, p1-2, p2-2 > > Then, if we are to continuously scale down, then which partition will

Re: Can't run strartos server

2015-03-03 Thread Jerad Rutnam
Hi Vishanth, Udara, Vishanth point seems to be the problem (Dos line ending). It was not built properly I guess. May be file permission might cause this issue. Anyway I was able to convert the .sh file to unix using the command: sed -i s/{ctrl+v}{ctrl+m}// {filename} Thanks, Jerad On Tue, Mar 3,

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Vishanth Balasubramaniam
Hi Srinivas, Best of luck on your proposal. You can find the source for Apache Stratos on Github[1]. The CLI code is in components/org.apache.stratos.cli [2]. [1] - https://github.com/apache/stratos [2] - https://github.com/apache/stratos/tree/master/components/org.apache.stratos.cli Regards, Vi

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Lahiru Sandaruwan
Hi guys, Interesting discussion. I think we can live with 2 algorithms. Because user might be confused if we introduced a variations with small changes to RR and user might not need to fine tune the algorithms that much. On Wed, Mar 4, 2015 at 1:03 AM, Reka Thirunavukkarasu wrote: > I think th

[jira] [Comment Edited] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Menaka Madushanka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345790#comment-14345790 ] Menaka Madushanka edited comment on STRATOS-1187 at 3/3/15 9:51 PM: --

[jira] [Commented] (STRATOS-1187) Python based Command Line Tool (CLI) for Stratos

2015-03-03 Thread Menaka Madushanka (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345790#comment-14345790 ] Menaka Madushanka commented on STRATOS-1187: Hi Imesh, I'm Menaka Madushanka

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Reka Thirunavukkarasu
I think that there is small issue in applying the same RR logic for scale up and scale down. if it sclaes up, then p1 -1, p2-1, p3-1, p1-2, p2-2 Then, if we are to continuously scale down, then which partition will we choose next? Will it be p3? In that way, it won't be equally distributed..In or

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Reka Thirunavukkarasu
That's a good point Raj. Yah..We need to think about scale down as well..Will think a bit and update, if i get any points.. Thanks, Reka On Tue, Mar 3, 2015 at 11:59 AM, Rajkumar Rajaratnam wrote: > Hi Reka, > > There is small issue in the way you suggested above. If you consider scale > down s

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
What I meant in the previous reply is the following scenario. For eg: p1, p2 , p3 If the iteration goes as below: selectedIndex = -1 since all the partitions has 0 instances, choose the first partition as the selectedIndex = 1 p1 - 1selectedIndex = 1 p2 - 1 selectedIndex = 2 p3 - 1s

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Mariangela Hills
+1 This information will be useful to update the docs based on the samples in wiki as well! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. On Wed, Mar 4, 2015 at 12:44 AM, Imesh Gunaratne wrote: > Great work Dinithi! Would you min

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Imesh Gunaratne
Great work Dinithi! Would you mind sharing the overall status? Thanks On Tue, Mar 3, 2015 at 5:08 PM, Dinithi De Silva wrote: > Hi, > > I have fixed nested-group sample application in the same PR. > > Thanks. > > On Tue, Mar 3, 2015 at 4:28 PM, Dinithi De Silva > wrote: > >> Fixed more-complex

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Imesh Gunaratne
Hi, Yes there was another proposal for this project. Anyway multiple people can submit proposals, after reviewing them we can select the best. On Tue, Mar 3, 2015 at 6:26 PM, srinivas devaki wrote: > hello everyone, > i'm checking out it's(stratos cli) REST api. and can i get more info about >

Re: [Discuss] - Cartridge Server Start - Extensions vs Plugins

2015-03-03 Thread Imesh Gunaratne
+1 Yes a good point! We will need to start the servers based on the artifact repository availability. On Tue, Mar 3, 2015 at 2:50 PM, Chamila De Alwis wrote: > Hi, > > I've implemented a Python extension executor which would execute the bash > extensions files. The extension files are renamed t

[Discuss] [Diagram] Stratos 4.1.0 - Load Balancer Architecture

2015-03-03 Thread Imesh Gunaratne
Hi Devs, I have now refined the load balancer as shown in the below diagram: This refinement added the new class Topology Provider. It allows us to populate the topology in the load balancer via an abstraction. There are three different input streams that update the topology: Topology events,

[jira] [Created] (STRATOS-1224) Typo in the /deploymentPolicies/{deploymentPolicyId} DELETE method

2015-03-03 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1224: - Summary: Typo in the /deploymentPolicies/{deploymentPolicyId} DELETE method Key: STRATOS-1224 URL: https://issues.apache.org/jira/browse/STRATOS-1224 Projec

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Hi Reka, There is small issue in the way you suggested above. If you consider scale down scenario, you can't actually say p2 will have min number instances. It can be p1, if scale down happened from p1. So if we restart the stratos, RR will select p1 as next partition right? This is not a pure RR

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Reka Thirunavukkarasu
Hi Raj, I don't think that we will need another algorithm. If we implement RR in the way that i explained, then it will even make sure to distribute the members equally. For eg: p1, p2 , p3 If the iteration goes as below: selectedIndex = -1 since all the partitions has 0 instances, choose the

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
So I guess we have three algorithms :) 1. one-after-another (It will go to next partition only if the current partition is full) 2. round-robin (if we implement as Reka explained above. It will always select the next partition) 3. name-should-be-decided (this will work as Lahiru explained above. I

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Reka Thirunavukkarasu
I think that if the selectedIndex is initial value as -1, then RR should traverse through all the partitions and find out who has the minimum instances and choose that partition as the selectedIndex in the first iteration(may be we can exc). Then from the second iteration onwards, it can increase t

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
I have now fixed both getNextScaleDownPartitionContext and getNextScaleUpPartitionContext implementation of Round-Robin. Thanks. On Tue, Mar 3, 2015 at 11:23 PM, Lahiru Sandaruwan wrote: > > > On Tue, Mar 3, 2015 at 11:15 PM, Rajkumar Rajaratnam > wrote: > >> Problem is lowestInstanceCount is

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Vishanth Balasubramaniam
Hi, I believe someone else is also working on the same JIRA[1]. Please correct me if I am wrong. [1] - https://issues.apache.org/jira/browse/STRATOS-1187 Thank you, Vishanth On Tue, Mar 3, 2015 at 11:38 PM, Nirmal Fernando wrote: > [Moved to Stratos list] > > On Tue, Mar 3, 2015 at 6:26 PM, s

Re: Gsoc 2015, query on python based cli for stratos

2015-03-03 Thread Nirmal Fernando
[Moved to Stratos list] On Tue, Mar 3, 2015 at 6:26 PM, srinivas devaki wrote: > hello everyone, > i'm checking out it's(stratos cli) REST api. and can i get more info about > the project. > 1. is it a client side application or a micro service? > 2. if it is client side, i have seen that there'

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Lahiru Sandaruwan
On Tue, Mar 3, 2015 at 11:15 PM, Rajkumar Rajaratnam wrote: > Problem is lowestInstanceCount is initially taking 0. Instead it should > take the non terminated member count of 1st partition. > > To Fix, > > int selectedIndex = 0; > int lowestInstanceCount = > partitionContexts[0].

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Problem is lowestInstanceCount is initially taking 0. Instead it should take the non terminated member count of 1st partition. To Fix, int selectedIndex = 0; int lowestInstanceCount = partitionContexts[0].getNonTerminatedMemberCount(); wdyt? Thanks. On Tue, Mar 3, 2015 at 10:57

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Hi Lahiru, Actually, current logic is not working as your example. This logic only uses the first partition. This will never use any other partitions. See my comments within the following code. public PartitionContext getNextScaleUpPartitionContext(PartitionContext[] partitionContexts) {

Re: Bug in round-robin partition selection algorithm

2015-03-03 Thread Lahiru Sandaruwan
Hi Raj, Earlier in 4.0.0 release, we have been using the partition index. If that to be worked correctly we should persist the index for each cluster. IMO there is a better way to execute the round-robin method as follows, The intention of round robin algorithm is to distribute the members in th

Bug in round-robin partition selection algorithm

2015-03-03 Thread Rajkumar Rajaratnam
Hi Devs, It seems to me that there is a bug in round-robin implementation of partition algorithm. https://github.com/apache/stratos/blob/0b7734f4c9f1444d064fec93bf9ac59a5883faf2/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/RoundRobin.java#L43-L64

Jenkins build is back to normal : Stratos-Master-Commit-Build #260

2015-03-03 Thread Apache Jenkins Server
See

Jenkins build is back to normal : Stratos-Master-Commit-Build » Apache Stratos - Load Balancer #260

2015-03-03 Thread Apache Jenkins Server
See

Build failed in Jenkins: Stratos-Master-Commit-Build #259

2015-03-03 Thread Apache Jenkins Server
See Changes: [dinithis] Fixed more-complex-app sample application. [rraju1990] more validation on application policy against application [rraju1990] updating esb-php-nested-with-esb-php-nested-with-mysql-php-app sample [d

Build failed in Jenkins: Stratos-Master-Commit-Build » Apache Stratos - Load Balancer #259

2015-03-03 Thread Apache Jenkins Server
See -- [INFO] [INFO] --

[GitHub] stratos pull request: Fixed more-complex-app sample application.

2015-03-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/254 --- 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: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Hi, I have fixed nested-group sample application in the same PR. Thanks. On Tue, Mar 3, 2015 at 4:28 PM, Dinithi De Silva wrote: > Fixed more-complex-app. Please review and merge the PR [1]. > > [1] - https://github.com/apache/stratos/pull/254 > > On Tue, Mar 3, 2015 at 3:32 PM, Dinithi De Sil

Re: [Discuss] Tenant subscription events are removed

2015-03-03 Thread Rajkumar Rajaratnam
Thanks Imesh for cleaning these. Seems you missed to push some commits. There are compilation errors in LB. Thanks. On Tue, Mar 3, 2015 at 1:55 PM, Imesh Gunaratne wrote: > Hi Devs, > > I just removed the tenant subscription events from messaging component as > they are no longer used. This fu

Re: Can't run strartos server

2015-03-03 Thread Vishanth Balasubramaniam
Hi Jerad, Seems like it has a dos line ending as mentioned in this [1]. [1] - http://stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter Thank you, Vishanth On Tue, Mar 3, 2015 at 4:01 PM, Udara Liyanage wrote: > Hi jerad, > > Seems some unknown character is placed in sh fil

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
Fixed more-complex-app. Please review and merge the PR [1]. [1] - https://github.com/apache/stratos/pull/254 On Tue, Mar 3, 2015 at 3:32 PM, Dinithi De Silva wrote: > complex-app sample application is fixed now. Please review and merge the > PR [1]. > > https://github.com/apache/stratos/pull/25

[GitHub] stratos pull request: Fixed more-complex-app sample application.

2015-03-03 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/254 Fixed more-complex-app sample application. Fixed more-complex-app sample application. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dinithis/

Build failed in Jenkins: Stratos-Master-Commit-Build #258

2015-03-03 Thread Apache Jenkins Server
See Changes: [dinithis] Fixed complex-app-with-lb sample application. [lahirus] Fix network partition provider for ec2 and openstack -- [...truncated 6226 lines...] Archive block size

Build failed in Jenkins: Stratos-Master-Commit-Build » Apache Stratos - Load Balancer #258

2015-03-03 Thread Apache Jenkins Server
See -- [INFO] [INFO] --

Re: Can't run strartos server

2015-03-03 Thread Udara Liyanage
Hi jerad, Seems some unknown character is placed in sh file. Could you share the probmatic stratos.sh file On Tue, Mar 3, 2015 at 3:46 PM, Jerad Rutnam wrote: > Hi Vishanth, > > You mean the error log after replacing the .sh file? Because there were no > console errors in the initial state. > E

Re: Cartridge groups names and cluster names are overlapping in topology tree in UI

2015-03-03 Thread Dakshika Jayathilaka
:) I'm wondering about the length of it. I'll check the possibility. *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Mar 3, 2015 at 3:25 PM, Rajkumar Rajaratnam wrote: > Thanks Dakshika. I am wondering why this is not a real use case. If we > ca

Re: Can't run strartos server

2015-03-03 Thread Jerad Rutnam
Hi Vishanth, You mean the error log after replacing the .sh file? Because there were no console errors in the initial state. Except this: *bash: bin/stratos.sh: /bin/sh^M: bad interpreter: No such file or directory* Thanks, Jerad On Tue, Mar 3, 2015 at 3:34 PM, Vishanth Balasubramaniam wrote:

Re: Can't run strartos server

2015-03-03 Thread Vishanth Balasubramaniam
Hi Jerad, Could you provide the error log so we can see what went wrong? Regards, Vishanth On Tue, Mar 3, 2015 at 3:25 PM, Jerad Rutnam wrote: > Hi, > > I was able to run the server by replacing stratos.sh with an old > stratos.sh (but with errors). So I suspect it's something to do with the >

[GitHub] stratos pull request: Fixed complex-app-with-lb sample application...

2015-03-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/253 --- 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: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
complex-app sample application is fixed now. Please review and merge the PR [1]. https://github.com/apache/stratos/pull/253 On Tue, Mar 3, 2015 at 1:59 PM, Rajkumar Rajaratnam wrote: > Thanks for the PR. I merged it. > > On Tue, Mar 3, 2015 at 1:53 PM, Dinithi De Silva > wrote: > >> I have fi

[GitHub] stratos pull request: Fixed complex-app-with-lb sample application...

2015-03-03 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/253 Fixed complex-app-with-lb sample application. Fixed complex-app-with-lb sample application. You can merge this pull request into a Git repository by running: $ git pull https://github.com/din

Re: Cartridge groups names and cluster names are overlapping in topology tree in UI

2015-03-03 Thread Rajkumar Rajaratnam
Thanks Dakshika. I am wondering why this is not a real use case. If we can't read the cluster names in topology tree, then why we are displaying it ? ;) But we really need to view the cluster names and cartridge group names in the topology tree in order to verify our deployment. So better to find

Re: Can't run strartos server

2015-03-03 Thread Jerad Rutnam
Hi, I was able to run the server by replacing stratos.sh with an old stratos.sh (but with errors). So I suspect it's something to do with the build. Thanks, Jerad On Tue, Mar 3, 2015 at 3:19 PM, Jerad Rutnam wrote: > Hi, > > I'm having an issue of starting Startos. Please advice me where I wen

Can't run strartos server

2015-03-03 Thread Jerad Rutnam
Hi, I'm having an issue of starting Startos. Please advice me where I went wrong. Any other configurations I have to do? 1.) I built a pack from git [1] last updated source (March 2nd, 2015). 2.) Extracted stratos/products/stratos/modules/distribution/target/apache-stratos-4.1.0-SNAPSHOT.zip 3.

[Discuss] - Cartridge Server Start - Extensions vs Plugins

2015-03-03 Thread Chamila De Alwis
Hi, I've implemented a Python extension executor which would execute the bash extensions files. The extension files are renamed to match their relevent event and a plugin called ExtensionExecutor will execute the extension based on the event it was triggered on. Since service start logic is now m

Build failed in Jenkins: Stratos-Master-Commit-Build #257

2015-03-03 Thread Apache Jenkins Server
See Changes: [dinithis] Fixed complex-app sample application. [imesh] Removing tenant subscription events from messaging component -- [...truncated 6233 lines...] Archive block size i

Build failed in Jenkins: Stratos-Master-Commit-Build » Apache Stratos - Load Balancer #257

2015-03-03 Thread Apache Jenkins Server
See -- [INFO] [INFO] --

Re: Cartridge groups names and cluster names are overlapping in topology tree in UI

2015-03-03 Thread Dakshika Jayathilaka
Hi Raj, Currently not.. but I'm wondering is this a real use case. Also i'll try to find some force diagram method with labels. Regards, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Mar 3, 2015 at 12:41 PM, Rajkumar Rajaratnam wrote: > Hi D

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Rajkumar Rajaratnam
Thanks for the PR. I merged it. On Tue, Mar 3, 2015 at 1:53 PM, Dinithi De Silva wrote: > I have fixed complex-app sample application. Please review and merge the > PR [1]. > > [1] - https://github.com/apache/stratos/pull/252 > > Thanks. > > On Tue, Mar 3, 2015 at 12:02 PM, Dinithi De Silva >

[GitHub] stratos pull request: Fixed complex-app sample application.

2015-03-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/252 --- 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

[Discuss] Tenant subscription events are removed

2015-03-03 Thread Imesh Gunaratne
Hi Devs, I just removed the tenant subscription events from messaging component as they are no longer used. This functionality is now handled by application signups: ​ Thanks -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos

Re: [Discuss] Fixing Sample Applications with Deployment Policy Modification

2015-03-03 Thread Dinithi De Silva
I have fixed complex-app sample application. Please review and merge the PR [1]. [1] - https://github.com/apache/stratos/pull/252 Thanks. On Tue, Mar 3, 2015 at 12:02 PM, Dinithi De Silva wrote: > I have fixed single-group-v2 sample application. Please review and merge > the PR [1]. > > [1] -

[GitHub] stratos pull request: Fixed complex-app sample application.

2015-03-03 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/252 Fixed complex-app sample application. Fixed complex-app sample application. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dinithis/stratos ma