[jira] [Updated] (STRATOS-1021) Handle "properties" in json definitions (application json, group json etc..) from UI

2014-12-02 Thread Sajith Kariyawasam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sajith Kariyawasam updated STRATOS-1021: Issue Type: Improvement (was: Bug) > Handle "properties" in json definitions (app

[jira] [Created] (STRATOS-1021) Handle "properties" in json definitions (application json, group json etc..) from UI

2014-12-02 Thread Sajith Kariyawasam (JIRA)
Sajith Kariyawasam created STRATOS-1021: --- Summary: Handle "properties" in json definitions (application json, group json etc..) from UI Key: STRATOS-1021 URL: https://issues.apache.org/jira/browse/STRATOS-10

[GitHub] stratos pull request: Adding instance id for health stats publishe...

2014-12-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/130 --- 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

[jira] [Commented] (STRATOS-1019) Adding instance id to the health stats publisher in python cartridge agent

2014-12-02 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232692#comment-14232692 ] ASF GitHub Bot commented on STRATOS-1019: - Github user asfgit closed the pull re

[jira] [Commented] (STRATOS-1017) Adding executor service support for stratos

2014-12-02 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232689#comment-14232689 ] ASF GitHub Bot commented on STRATOS-1017: - Github user asfgit closed the pull re

[GitHub] stratos pull request: Merge the master with the changes of PR #128

2014-12-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/129 --- 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: Registry data retrieval code is broken in Cloud Controller !!

2014-12-02 Thread Lahiru Sandaruwan
I get an NPE at restart, Is this related? [2014-12-03 06:50:32,643] INFO {org.apache.stratos.messaging.message.receiver.instance.status.InstanceStatusEventMessageDelegator} - Instance notifier event message delegator started [2014-12-03 06:50:32,665] WARN {org.apache.stratos.cloud.controller

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
Since, you all agreed, I created a Jira: https://issues.apache.org/jira/browse/STRATOS-1020 On Wed, Dec 3, 2014 at 9:51 AM, Udara Liyanage wrote: > Hi, > > +1 for generating a unique id with a readable prefix. > > On Wed, Dec 3, 2014 at 9:32 AM, Nirmal Fernando > wrote: > >> +1 from me! Yes, I

[jira] [Created] (STRATOS-1020) Auto-generate the deployment policy id

2014-12-02 Thread Nirmal Fernando (JIRA)
Nirmal Fernando created STRATOS-1020: Summary: Auto-generate the deployment policy id Key: STRATOS-1020 URL: https://issues.apache.org/jira/browse/STRATOS-1020 Project: Stratos Issue Type

Re: Node.js cartridge availability

2014-12-02 Thread Lahiru Sandaruwan
Hi Hasitha, Check this out, https://issues.apache.org/jira/browse/STRATOS-778 On Wed, Dec 3, 2014 at 11:37 AM, Hasitha Weerasinghe wrote: > Hi, > > Is there a Node.js cartridge available ? > > Thanks, > > > -- > *Hasitha Weerasinghe* > *Software Engineer Intern - WSO2 * > Mob

Re: What is the use of /init in Rest API

2014-12-02 Thread Isuru Perera
Hi, On Tue, Dec 2, 2014 at 2:21 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi, > > Yes, it used to validate Stratos Manager URL in CLI. > Please add some comments to the methods. > > Thanks ! > > On Tue, Dec 2, 2014 at 1:07 PM, Shiroshica Kulatilake > wrote: > >> I think th

Node.js cartridge availability

2014-12-02 Thread Hasitha Weerasinghe
Hi, Is there a Node.js cartridge available ? Thanks, -- *Hasitha Weerasinghe* *Software Engineer Intern - WSO2 * Mobile : +94 776 33 6626 Email : hasit...@wso2.com

Re: Undeployment of Application or Application Deployment Policy

2014-12-02 Thread Reka Thirunavukkarasu
One more thing, at last the deployment policy will get removed. On Wed, Dec 3, 2014 at 10:48 AM, Reka Thirunavukkarasu wrote: > Hi All, > > As from earlier model, we were wiping out the monitors when we undeploy > the application. But we are currently starting the monitors when we deploy > the d

Undeployment of Application or Application Deployment Policy

2014-12-02 Thread Reka Thirunavukkarasu
Hi All, As from earlier model, we were wiping out the monitors when we undeploy the application. But we are currently starting the monitors when we deploy the deployment policy. So, when undeploying the policy only, we will have to wipe out all the clusters and the monitors. In that case, the flow

Re: Updating deployment policies

2014-12-02 Thread Nirmal Fernando
Yes, it could be... but I am confused now.. with the new model, when exactly we do the cartridge instance creation? On Wed, Dec 3, 2014 at 10:26 AM, Isuru Haththotuwa wrote: > > > On Wed, Dec 3, 2014 at 10:19 AM, Nirmal Fernando > wrote: > >> Can a deployment policy be valid for a new applicati

Re: Updating deployment policies

2014-12-02 Thread Isuru Haththotuwa
On Wed, Dec 3, 2014 at 10:19 AM, Nirmal Fernando wrote: > Can a deployment policy be valid for a new application in real world? > A good point! Forgot that with the current model there is one deployment policy per an application. My mistake. In this case, the updated deployment policy cannot be v

Re: Updating deployment policies

2014-12-02 Thread Nirmal Fernando
Can a deployment policy be valid for a new application in real world? On Wed, Dec 3, 2014 at 10:16 AM, Reka Thirunavukkarasu wrote: > Hi > > On Wed, Dec 3, 2014 at 9:51 AM, Isuru Haththotuwa > wrote: > >> >> >> On Wed, Dec 3, 2014 at 8:42 AM, Nirmal Fernando >> wrote: >> >>> Hi, >>> >>> Are we

Re: Updating deployment policies

2014-12-02 Thread Reka Thirunavukkarasu
Hi On Wed, Dec 3, 2014 at 9:51 AM, Isuru Haththotuwa wrote: > > > On Wed, Dec 3, 2014 at 8:42 AM, Nirmal Fernando > wrote: > >> Hi, >> >> Are we allowing users to update deployment policies? Isn't this >> complicate things even more? >> > Yes it does. But when we are using the deployment policy

Re: Locking support for ClusterMonitors while dynamically updating Data structure

2014-12-02 Thread Isuru Haththotuwa
+1. AFAIU, we can have the same read/write lock that we have in Topology and Application models, where multiple reads are possible at one time, but only can be updated by one thread. On Tue, Dec 2, 2014 at 11:29 PM, Lahiru Sandaruwan wrote: > +1. With a complications of grouping structure, this

Re: Updating deployment policies

2014-12-02 Thread Isuru Haththotuwa
On Wed, Dec 3, 2014 at 8:42 AM, Nirmal Fernando wrote: > Hi, > > Are we allowing users to update deployment policies? Isn't this complicate > things even more? > Yes it does. But when we are using the deployment policy, if we do not pass it by reference, the new changes will only get reflected in

Re: Deployment Policy per an Application?

2014-12-02 Thread Udara Liyanage
Hi, +1 for generating a unique id with a readable prefix. On Wed, Dec 3, 2014 at 9:32 AM, Nirmal Fernando wrote: > +1 from me! Yes, I too think we can get rid of get operations and add this. > > /deploymentPolicies?applicationId=myappid > > > > On Wed, Dec 3, 2014 at 9:18 AM, Shiroshica Kulatil

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
+1 from me! Yes, I too think we can get rid of get operations and add this. /deploymentPolicies?applicationId=myappid On Wed, Dec 3, 2014 at 9:18 AM, Shiroshica Kulatilake wrote: > Could we also provide a key - which can be used for searching ? > > > Since creating a deployment policy does no

Re: Deployment Policy per an Application?

2014-12-02 Thread Lahiru Sandaruwan
On Wed, Dec 3, 2014 at 8:58 AM, Lakmal Warusawithana wrote: > > > On Wed, Dec 3, 2014 at 8:45 AM, Lahiru Sandaruwan > wrote: > >> If we generate from system, wouldn't it be an usability decrement? >> >> User might want to query the deployment policy with an id he put. >> >> > use case? since gen

Re: Deployment Policy per an Application?

2014-12-02 Thread Shiroshica Kulatilake
Could we also provide a key - which can be used for searching ? Since creating a deployment policy does not happen alone anymore (i.e it's always linked to an application) - maybe a search using application id would also be enough as Lakmal's suggestion /deploymentPolicies?applicationId On Wed,

Re: Deployment Policy per an Application?

2014-12-02 Thread Lakmal Warusawithana
On Wed, Dec 3, 2014 at 8:45 AM, Lahiru Sandaruwan wrote: > If we generate from system, wouldn't it be an usability decrement? > > User might want to query the deployment policy with an id he put. > > use case? since generated id consist of application id+random string, we can identified which rel

Re: Updating deployment policies

2014-12-02 Thread Lakmal Warusawithana
Can't allow to update deployment policy, but can we allow to update min, max, which is defined in the application. (manual scaling) On Wed, Dec 3, 2014 at 8:42 AM, Nirmal Fernando wrote: > Hi, > > Are we allowing users to update deployment policies? Isn't this complicate > things even more? > >

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
We should return the id, if we implement this. Isn't that sufficient? On Wed, Dec 3, 2014 at 8:45 AM, Lahiru Sandaruwan wrote: > If we generate from system, wouldn't it be an usability decrement? > > User might want to query the deployment policy with an id he put. > > Thanks. > > On Wed, Dec 3,

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
@Others what do you think? If you all agree, I could implement this. On Wed, Dec 3, 2014 at 8:14 AM, Lakmal Warusawithana wrote: > > > On Wed, Dec 3, 2014 at 8:11 AM, Nirmal Fernando > wrote: > >> Yes, I also see no point of user defining it. I can do this change. >> > > +1 from me. > > >> >> O

Re: Deployment Policy per an Application?

2014-12-02 Thread Lahiru Sandaruwan
If we generate from system, wouldn't it be an usability decrement? User might want to query the deployment policy with an id he put. Thanks. On Wed, Dec 3, 2014 at 8:14 AM, Lakmal Warusawithana wrote: > > > On Wed, Dec 3, 2014 at 8:11 AM, Nirmal Fernando > wrote: > >> Yes, I also see no point

Updating deployment policies

2014-12-02 Thread Nirmal Fernando
Hi, Are we allowing users to update deployment policies? Isn't this complicate things even more? -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/

Re: [1/2] git commit: Added java2wsdl plugin execution

2014-12-02 Thread Nirmal Fernando
We need to add this to developer wiki IMO, so that everyone would use auto-generated WSDL. On Wed, Dec 3, 2014 at 8:27 AM, Nirmal Fernando wrote: > This is very useful!! Thanks again :) > > On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando > wrote: > >> Thanks Sajith. @Sajith / @Akila Can you me

Re: [1/2] git commit: Added java2wsdl plugin execution

2014-12-02 Thread Nirmal Fernando
This is very useful!! Thanks again :) On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando wrote: > Thanks Sajith. @Sajith / @Akila Can you merge only these commits to master? > > On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake > wrote: > >> Hi, >> >> This is very useful. >> >> Should we mov

Re: Deployment Policy per an Application?

2014-12-02 Thread Lakmal Warusawithana
On Wed, Dec 3, 2014 at 8:11 AM, Nirmal Fernando wrote: > Yes, I also see no point of user defining it. I can do this change. > +1 from me. > > On Wed, Dec 3, 2014 at 8:04 AM, Lakmal Warusawithana > wrote: > >> >> >> On Wed, Dec 3, 2014 at 8:02 AM, Nirmal Fernando >> wrote: >> >>> My only con

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
Yes, I also see no point of user defining it. I can do this change. On Wed, Dec 3, 2014 at 8:04 AM, Lakmal Warusawithana wrote: > > > On Wed, Dec 3, 2014 at 8:02 AM, Nirmal Fernando > wrote: > >> My only concern is then, clients should be responsible for generating an >> available id (this will

Re: [Discuss] Groups and Application JSON formats in Stratos 4.1.0

2014-12-02 Thread Nirmal Fernando
Great.. thanks. On Wed, Dec 3, 2014 at 7:56 AM, Lakmal Warusawithana wrote: > > > On Wed, Dec 3, 2014 at 7:50 AM, Nirmal Fernando > wrote: > >> deploymentPolicy doesn't require anymore, under subscribableInfo element >> right? >> >> > Yes correct. > > > >> On Tue, Dec 2, 2014 at 9:56 AM, Manula

Re: Deployment Policy per an Application?

2014-12-02 Thread Lakmal Warusawithana
On Wed, Dec 3, 2014 at 8:02 AM, Nirmal Fernando wrote: > My only concern is then, clients should be responsible for generating an > available id (this will be hard, in a multi-tenant scenario). > > May be we can recommend to define the deployment policy id in following > format; > > deployment po

Re: Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
My only concern is then, clients should be responsible for generating an available id (this will be hard, in a multi-tenant scenario). May be we can recommend to define the deployment policy id in following format; deployment policy id = application id + random string ? On Wed, Dec 3, 2014 at 7:

Re: [Discuss] Groups and Application JSON formats in Stratos 4.1.0

2014-12-02 Thread Lakmal Warusawithana
On Wed, Dec 3, 2014 at 7:50 AM, Nirmal Fernando wrote: > deploymentPolicy doesn't require anymore, under subscribableInfo element > right? > > Yes correct. > On Tue, Dec 2, 2014 at 9:56 AM, Manula Chathurika Thantriwatte < > manu...@wso2.com> wrote: > >> Hi Martin, >> >> As Udara and Lakmal me

Re: Deployment Policy per an Application?

2014-12-02 Thread Lakmal Warusawithana
On Wed, Dec 3, 2014 at 7:35 AM, Shiroshica Kulatilake wrote: > > From what I understood a deployment policy is tightly linked to the > application structure - so if we do reuse it then the applications will > also have to be similar structure wise - leaving details like the network > partition de

Re: [Discuss] Groups and Application JSON formats in Stratos 4.1.0

2014-12-02 Thread Nirmal Fernando
deploymentPolicy doesn't require anymore, under subscribableInfo element right? On Tue, Dec 2, 2014 at 9:56 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi Martin, > > As Udara and Lakmal mentioned, it's easy for the readability. Otherwise we > have to scroll up and down to fin

Re: Deployment Policy per an Application?

2014-12-02 Thread Shiroshica Kulatilake
>From what I understood a deployment policy is tightly linked to the application structure - so if we do reuse it then the applications will also have to be similar structure wise - leaving details like the network partition details, partition details and algorithm to be changed. Arn't deployment

Deployment Policy per an Application?

2014-12-02 Thread Nirmal Fernando
Hi All, $Subject right? If so, should we allow multiple deployment policies with the same id for different applications ? -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/

Re: Locking support for ClusterMonitors while dynamically updating Data structure

2014-12-02 Thread Lahiru Sandaruwan
+1. With a complications of grouping structure, this would be a good improvement. For most of the occasions, read lock would be enough for drools file usage... Thanks. On Tue, Dec 2, 2014 at 11:10 PM, Reka Thirunavukkarasu wrote: > Hi All, > > Since we are frequently updating the clusterMonit

Locking support for ClusterMonitors while dynamically updating Data structure

2014-12-02 Thread Reka Thirunavukkarasu
Hi All, Since we are frequently updating the clusterMonitors with dynamic information while drools are getting executed or while a clusterInstance is getting added, it would be better to have locking support and proper synchronization before updating these dynamic information. There are few thing

Re: Removing LB cartridge specific code from Stratos

2014-12-02 Thread Lahiru Sandaruwan
We have removed most of the code... We have to remove cartridge json LB configuration as well, "loadBalancer": { "type": "lb", "property": { "name": "no.load.balancer", "value": "true" } } On Sun, Nov 30, 2014 at 9:11 PM, Isuru Hat

Registry data retrieval code is broken in Cloud Controller !!

2014-12-02 Thread Nirmal Fernando
Hi, After the recent clustering related refactoring, CC registry data retrieval logic is broken ! I've fixed this issue with https://github.com/apache/stratos/commit/c55271694eb073716fb9f1d1b74c9d3fdd176bbd -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Seni

[jira] [Commented] (STRATOS-1019) Adding instance id to the health stats publisher in cartridge agent

2014-12-02 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231488#comment-14231488 ] ASF GitHub Bot commented on STRATOS-1019: - GitHub user swgkg opened a pull reque

[jira] [Updated] (STRATOS-1019) Adding instance id to the health stats publisher in python cartridge agent

2014-12-02 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gayan Gunarathne updated STRATOS-1019: -- Summary: Adding instance id to the health stats publisher in python cartridge agent (

[jira] [Created] (STRATOS-1019) Adding instance id to the health stats publisher in cartridge agent

2014-12-02 Thread Gayan Gunarathne (JIRA)
Gayan Gunarathne created STRATOS-1019: - Summary: Adding instance id to the health stats publisher in cartridge agent Key: STRATOS-1019 URL: https://issues.apache.org/jira/browse/STRATOS-1019 Proje

[GitHub] stratos pull request: Adding instance id for health stats publishe...

2014-12-02 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/130 Adding instance id for health stats publisher in cartridge agent Adding instance id for health stats publisher in cartridge agent Related jira : STRATOS-1019 Please review and merge

[jira] [Commented] (STRATOS-1017) Adding executor service support for stratos

2014-12-02 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231401#comment-14231401 ] ASF GitHub Bot commented on STRATOS-1017: - GitHub user swgkg opened a pull reque

[GitHub] stratos pull request: Merge the master with the changes of PR #128

2014-12-02 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/129 Merge the master with the changes of PR #128 This PR contains the following changes: Remove unnecessary threads in messaging model Adding executor service for threads Related JIR

[jira] [Commented] (STRATOS-1018) Support new group and application JSON format

2014-12-02 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231354#comment-14231354 ] Manula Chathurika Thantriwatte commented on STRATOS-1018: - Fixed

[jira] [Updated] (STRATOS-1018) Support new group and application JSON format

2014-12-02 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manula Chathurika Thantriwatte updated STRATOS-1018: Description: Stratos 4.1.0 should support nested groups an

[jira] [Created] (STRATOS-1018) Support new group and application JSON format

2014-12-02 Thread Manula Chathurika Thantriwatte (JIRA)
Manula Chathurika Thantriwatte created STRATOS-1018: --- Summary: Support new group and application JSON format Key: STRATOS-1018 URL: https://issues.apache.org/jira/browse/STRATOS-1018

Re: What is the use of /init in Rest API

2014-12-02 Thread Udara Liyanage
Hi, Thanks Shiro and Manula On Tue, Dec 2, 2014 at 2:21 PM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi, > > Yes, it used to validate Stratos Manager URL in CLI. > > Thanks ! > > On Tue, Dec 2, 2014 at 1:07 PM, Shiroshica Kulatilake > wrote: > >> I think this is used by CLI t

Re: What is the use of /init in Rest API

2014-12-02 Thread Manula Chathurika Thantriwatte
Hi, Yes, it used to validate Stratos Manager URL in CLI. Thanks ! On Tue, Dec 2, 2014 at 1:07 PM, Shiroshica Kulatilake wrote: > I think this is used by CLI to validate stratos manager url > > On Tue, Dec 2, 2014 at 12:58 PM, Udara Liyanage wrote: > >> Hi, >> >> What is the use of following i