Re: Uniquely Identifying a LB Cartridge

2014-01-16 Thread damitha kumarage
Hi Nirmal, IMHO it is not a bad idea to promote an optional property to a mandatory property if it is deemed such promotion is necessary. However such changes desired to be infrequent and can be allowed between major versions. Damitha On Fri, Jan 17, 2014 at 8:49 AM, Nirmal Fernando wrote: > Is

[jira] [Created] (STRATOS-366) Provide feedback ones a cartridge has been deployed

2014-01-16 Thread Chanaka Jayasena (JIRA)
Chanaka Jayasena created STRATOS-366: Summary: Provide feedback ones a cartridge has been deployed Key: STRATOS-366 URL: https://issues.apache.org/jira/browse/STRATOS-366 Project: Stratos

[jira] [Updated] (STRATOS-365) Create helper function to handlebars to get the permissions

2014-01-16 Thread Chanaka Jayasena (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chanaka Jayasena updated STRATOS-365: - Attachment: 0008-Adding-permission-handlebarjs-function.patch Please apply this patch to

[jira] [Resolved] (STRATOS-362) Subscribing with private git repo fails for multitenant Cartridge

2014-01-16 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam resolved STRATOS-362. Resolution: Fixed Fixed in commit 891355731f9b0262aeadfb983fbd33e08cdf8c6a > Subs

[jira] [Assigned] (STRATOS-362) Subscribing with private git repo fails for multitenant Cartridge

2014-01-16 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam reassigned STRATOS-362: -- Assignee: Sajith Kariyawasam > Subscribing with private git repo fails for mul

[jira] [Created] (STRATOS-365) Create helper function to handlebars to get the permissions

2014-01-16 Thread Chanaka Jayasena (JIRA)
Chanaka Jayasena created STRATOS-365: Summary: Create helper function to handlebars to get the permissions Key: STRATOS-365 URL: https://issues.apache.org/jira/browse/STRATOS-365 Project: Stratos

Re: we need to review the rest api (endpoints)

2014-01-16 Thread Lahiru Sandaruwan
On Fri, Jan 17, 2014 at 10:56 AM, Nirmal Fernando wrote: > +1 ... how can we do it? via a Hangout? > +1 for a Hangout. Will be a very interactive one. > > > On Fri, Jan 17, 2014 at 10:52 AM, Pradeep Fernando wrote: > >> Hi, >> feels like we need to do the $subject ASAP. >> some inconsistencies i

Re: we need to review the rest api (endpoints)

2014-01-16 Thread Isuru Haththotuwa
Hi, I'll own this. To start with I'll send a mail to the dev with a description of the currently supported Rest API operations asap. Thanks Pradeep for pointing out the inconsistencies. On Fri, Jan 17, 2014 at 10:56 AM, Nirmal Fernando wrote: > +1 ... how can we do it? via a Hangout? > > > On F

[jira] [Commented] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874452#comment-13874452 ] Manula Chathurika Thantriwatte commented on STRATOS-364: Unsubscr

Re: we need to review the rest api (endpoints)

2014-01-16 Thread Nirmal Fernando
+1 ... how can we do it? via a Hangout? On Fri, Jan 17, 2014 at 10:52 AM, Pradeep Fernando wrote: > Hi, > feels like we need to do the $subject ASAP. > some inconsistencies in the API. > > thanks, > --Pradeep > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Strat

we need to review the rest api (endpoints)

2014-01-16 Thread Pradeep Fernando
Hi, feels like we need to do the $subject ASAP. some inconsistencies in the API. thanks, --Pradeep

[jira] [Commented] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874448#comment-13874448 ] Lahiru Sandaruwan commented on STRATOS-364: --- So this to be fixed in SM? > CLI

[jira] [Comment Edited] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874448#comment-13874448 ] Lahiru Sandaruwan edited comment on STRATOS-364 at 1/17/14 5:19 AM: ---

[jira] [Issue Comment Deleted] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manula Chathurika Thantriwatte updated STRATOS-364: --- Comment: was deleted (was: Hi, This is happen due to SM did

[jira] [Commented] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874438#comment-13874438 ] Manula Chathurika Thantriwatte commented on STRATOS-364: Hi, Thi

[jira] [Commented] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874437#comment-13874437 ] Manula Chathurika Thantriwatte commented on STRATOS-364: Note :

[jira] [Created] (STRATOS-364) CLI does not show error message even though it failed to unsubscribe

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
Lahiru Sandaruwan created STRATOS-364: - Summary: CLI does not show error message even though it failed to unsubscribe Key: STRATOS-364 URL: https://issues.apache.org/jira/browse/STRATOS-364 Projec

[jira] [Commented] (STRATOS-363) Separate network partition context and Network partition lb holder

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874413#comment-13874413 ] Lahiru Sandaruwan commented on STRATOS-363: --- Fixd in commit ca3fdf71b6b1cd53727

Re: Stratos Developer Guide - who are the intended adopters of stratos?

2014-01-16 Thread Lakmal Warusawithana
On Thu, Jan 16, 2014 at 11:17 PM, chris snow wrote: > Thanks Lakmal, I think I understand... > > It may make sense to write your own scaling code for small, simple > applications. However, the scaling code will quickly become complex for > large and complex applications. For complex applicatio

[jira] [Created] (STRATOS-363) Separate network partition context and Network partition lb holder

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
Lahiru Sandaruwan created STRATOS-363: - Summary: Separate network partition context and Network partition lb holder Key: STRATOS-363 URL: https://issues.apache.org/jira/browse/STRATOS-363 Project:

Support to spawn/stop LXC instances via jClouds :-)

2014-01-16 Thread Nirmal Fernando
Hi All, I've implemented the basic jClouds API for Docker (Lxc) [1] in last day or so. Now I could create, start, stop LXC containers using jClouds. I've also implemented a very basic DockerIaas adapter for Apache Stratos Cloud Controller. And [2] is a tiny demonstration on the test carried out.

Re: Uniquely Identifying a LB Cartridge

2014-01-16 Thread Nirmal Fernando
Isuru, Problem I see here is, if we follow the same structure, we have to keep adding new elements to the configuration, which would make it complex to configure. So, IMO we should keep using properties (since these are optional elements) leveraging the extensibility of the Cartridge definition fi

[jira] [Commented] (STRATOS-341) Update stratos installer readme

2014-01-16 Thread Lahiru Sandaruwan (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874358#comment-13874358 ] Lahiru Sandaruwan commented on STRATOS-341: --- Fixed uptp step 9 from 43145f58ca4

Re: Fwd: ApacheCon Denver CFP

2014-01-16 Thread Brigitte Duerr
+1 Brigitte Duerr Senior Director, Cloud Marketing, WSO2 Phone: Mail: brigi...@wso2.com On Jan 17, 2014 8:14 AM, "Sanjiva Weerawarana" wrote: > FYA. Should we try to organize a Stratos hackthon or meetup or something > there? Would be a good chance to hook up with other cloudy projects too. > >

Fwd: ApacheCon Denver CFP

2014-01-16 Thread Sanjiva Weerawarana
FYA. Should we try to organize a Stratos hackthon or meetup or something there? Would be a good chance to hook up with other cloudy projects too. -- Forwarded message -- From: Marvin Humphrey Date: Fri, Jan 17, 2014 at 7:09 AM Subject: ApacheCon Denver CFP To: "gene...@incubator.a

Stratos Developer Guide - status

2014-01-16 Thread chris snow
Just wanted to give a quick update on status... My progress has slowed down on the vagrant development environment setup because I have run into some issues with the openstack setup. I'm going to spend a bit more time getting more familiar with openstack so that I can resolve the issues I'm facin

Uniquely Identifying a LB Cartridge

2014-01-16 Thread Isuru Haththotuwa
Hi Devs, Currently it seems that identifying a LB cartridge is done using a property in cartridge definition ("name": "load.balancer", "value": "true"). The Autoscaler looks at this to decide whether to assign a normal Cluster Monitor or a LB Cluster Monitor. If this property is not available, th

Re: Stratos Developer Guide - who are the intended adopters of stratos?

2014-01-16 Thread chris snow
Thanks Lakmal, I think I understand... It may make sense to write your own scaling code for small, simple applications. However, the scaling code will quickly become complex for large and complex applications. For complex applications It will be better to build on top of the stratos framework t

[DISCUSS] Handling Repository Updates to Synchronize Artifacts

2014-01-16 Thread Isuru Haththotuwa
Hi Devs, This is to discuss $subject. One approach is to use a git hook configured in the repository as an eventing mechanism [1]. Here, when the repository receives an git push, an event will be fired and we can use this to get notifications that there is an update. Currently, user interaction w

[jira] [Created] (STRATOS-362) Subscribing with private git repo fails for multitenant Cartridge

2014-01-16 Thread balachandran ajanthan (JIRA)
balachandran ajanthan created STRATOS-362: - Summary: Subscribing with private git repo fails for multitenant Cartridge Key: STRATOS-362 URL: https://issues.apache.org/jira/browse/STRATOS-362 P

Re: packaging stratos

2014-01-16 Thread Afkham Azeez
On Wed, Jan 15, 2014 at 10:48 PM, chris snow wrote: > 1) Stratos is fairly complex to setup which I believe may be a barrier to > adoption. > > Personally, I feel more comfortable using native packages than using > puppet. However, I wasn't sure of the current best practice whether to use > nati

Re: Did anyone update Stratos Installer based on latest changes

2014-01-16 Thread Lahiru Sandaruwan
Hi, It is updated... I also created few Jiras after using it. You can see them and add Jiras under component "Stratos installer" in Jira system. Thanks. On Thu, Jan 16, 2014 at 3:04 PM, Isuru Perera wrote: > Hi, > > $subject? > > Looks like the master branch [1] is not updated with latest cha

Re: [Discuss] Introducing patching mode

2014-01-16 Thread Udara Liyanage
+1 When there are high number of instances in the cloud, it will take a long time to update all instances if we patch instances one by one. When there are many (m) members for a cluster we can patch n wrote: > +1 For the approach. We may need to add improvements such as detect if OS > restart is r

Re: I want to keep some jars in the stratos source.

2014-01-16 Thread Pradeep Fernando
Hi Azeez, I had to patch multiple jars, they were apached licensed and from wso2 code base. 1. sso jagger module. It was missing some SAML2 related operation. I can't get them from jaggery level without introducing java utils. 2. SSO related jars in identity. The idp-config.xml that we use to reg

Re: Why do we have public fields for bean classes?

2014-01-16 Thread Pradeep Fernando
I don't see a major issue here. They are bean classes. I believe we are going to have public setters for all the fields, if they (fields) were made private right ?... am i missing something. --Pradeep On Thu, Jan 16, 2014 at 3:17 PM, Isuru Haththotuwa wrote: > Hi, > > It was I who did it. There

Re: [1/2] git commit: Using jclouds 1.6.3

2014-01-16 Thread Isuru Perera
Hi Nirmal, I changed the jclouds version back to 1.6.2-incubating in commit e64a8fafdf59724b509af83eabbde17a24f9d2d6 Thanks! Best Regards, On Thu, Jan 16, 2014 at 3:12 PM, Nirmal Fernando wrote: > Yes please. Thanks. > > > On Thu, Jan 16, 2014 at 3:09 PM, Isuru Perera wrote: > >> Hi, >> >> >>

Re: Why do we have public fields for bean classes?

2014-01-16 Thread Isuru Haththotuwa
Hi, It was I who did it. There were some complex bean classes which I could not get serialized with private fields + public methods. That was the reason I did this, and I agree that this may not be the preferred way. On Thu, Jan 16, 2014 at 3:06 PM, Nirmal Fernando wrote: > This was raised earl

Re: [1/2] git commit: Using jclouds 1.6.3

2014-01-16 Thread Nirmal Fernando
Yes please. Thanks. On Thu, Jan 16, 2014 at 3:09 PM, Isuru Perera wrote: > Hi, > > > On Thu, Jan 16, 2014 at 3:04 PM, Nirmal Fernando > wrote: > >> Why are we upgrading jclouds at this moment of time? Have you checked the >> impact of this at runtime? > > > This was actually in my local commit

Re: [1/2] git commit: Using jclouds 1.6.3

2014-01-16 Thread Isuru Perera
Hi, On Thu, Jan 16, 2014 at 3:04 PM, Nirmal Fernando wrote: > Why are we upgrading jclouds at this moment of time? Have you checked the > impact of this at runtime? This was actually in my local commits and I updated this last week. I didn't test this completely. This was pushed today. I'll re

Re: Why do we have public fields for bean classes?

2014-01-16 Thread Nirmal Fernando
This was raised earlier too, and AFAIK the answer was due to a limitation of a library used to hand REST stuff. Pradeep and IsuruH should know better. On Thu, Jan 16, 2014 at 2:42 PM, Isuru Perera wrote: > IMO, this is not good! > > > On Thu, Jan 16, 2014 at 2:38 PM, Isuru Perera wrote: > >> H

Did anyone update Stratos Installer based on latest changes

2014-01-16 Thread Isuru Perera
Hi, $subject? Looks like the master branch [1] is not updated with latest changes. I'm trying to use this. Please let me know if anyone did any changes to the Stratos Installer. Thanks! Best Regards, [1] https://github.com/apache/incubator-stratos/tree/master/tools/stratos-installer -- Isu

Re: [1/2] git commit: Using jclouds 1.6.3

2014-01-16 Thread Nirmal Fernando
Hi Isuru, Why are we upgrading jclouds at this moment of time? Have you checked the impact of this at runtime? On Thu, Jan 16, 2014 at 2:47 PM, wrote: > Updated Branches: > refs/heads/master 47f406d6b -> e72304172 > > > Using jclouds 1.6.3 > > > Project: http://git-wip-us.apache.org/repos/as

[jira] [Updated] (STRATOS-359) Create Tenant Management UI

2014-01-16 Thread Chanaka Jayasena (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chanaka Jayasena updated STRATOS-359: - Attachment: 0001-Combining-few-patches-to-one-commit.patch Please use this patch instead

[jira] [Updated] (STRATOS-359) Create Tenant Management UI

2014-01-16 Thread Chanaka Jayasena (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chanaka Jayasena updated STRATOS-359: - Attachment: 0007-Fixing-some-css-issues.patch Please apply this patch to fix some css is

Re: Why do we have public fields for bean classes?

2014-01-16 Thread Isuru Perera
IMO, this is not good! On Thu, Jan 16, 2014 at 2:38 PM, Isuru Perera wrote: > Hi, > > $subject > > For example: > https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/cartridge/definition/Cartridg

Why do we have public fields for bean classes?

2014-01-16 Thread Isuru Perera
Hi, $subject For example: https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/cartridge/definition/CartridgeDefinitionBean.java Thanks! Best Regards, -- Isuru Perera Senior Software Engineer | W

Re: Stratos Developer Guide - who are the intended adopters of stratos?

2014-01-16 Thread Lakmal Warusawithana
Hi Chris, Please see my comments inline, On Thu, Jan 16, 2014 at 1:21 AM, chris snow wrote: > In the Stratos Developer Guide [1], I've captured that Stratos is a > 'framework' for building a PaaS. I would like to flesh out that statement > a little more, so I have some questions: > > Who coul

Re: Why do we need version number in front of every page in wiki?

2014-01-16 Thread Mariangela Hills
As requested I have created a JIRA [1] in this regard. [1] https://issues.apache.org/jira/browse/INFRA-7198 Regards, Mariangela *--Mariangela Hills* Senior Technical Writer Mobile:(+94)773500185 WSO2 Inc. http://wso2.com/ On Thu, Jan 16, 2014 at 11:45 AM, Afkham Azeez wrote: > Yeah, looks

Re: Stratos Developer Guide - who are the intended adopters of stratos?

2014-01-16 Thread chris snow
Hi guys - does anyone have any answers to these questions? On Wed, Jan 15, 2014 at 7:51 PM, chris snow wrote: > In the Stratos Developer Guide [1], I've captured that Stratos is a > 'framework' for building a PaaS. I would like to flesh out that statement > a little more, so I have some questi