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 <isu...@apache.org> wrote: > > > On Wed, Dec 3, 2014 at 10:19 AM, Nirmal Fernando <nirmal070...@gmail.com> > 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 valid for a new > application can it? > >> >> On Wed, Dec 3, 2014 at 10:16 AM, Reka Thirunavukkarasu <r...@wso2.com> >> wrote: >> >>> Hi >>> >>> On Wed, Dec 3, 2014 at 9:51 AM, Isuru Haththotuwa <isu...@apache.org> >>> wrote: >>> >>>> >>>> >>>> On Wed, Dec 3, 2014 at 8:42 AM, Nirmal Fernando <nirmal070...@gmail.com >>>> > 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 the new >>>> applications. WDYT? >>>> >>> >>> yah..That's correct. But in the cluster monitor using the deployment >>> policies's partitions or network partitions, we are creating our own >>> classes. So, we may need to update the cluster monitor's data structure by >>> getting the lock whenever we update the deployment policy. >>> >>> Thanks, >>> Reka >>> >>>> >>>>> -- >>>>> Best Regards, >>>>> Nirmal >>>>> >>>>> Nirmal Fernando. >>>>> PPMC Member & Committer of Apache Stratos, >>>>> Senior Software Engineer, WSO2 Inc. >>>>> >>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>> >>>>> -- >>>>> <http://nirmalfdo.blogspot.com/> >>>>> <http://nirmalfdo.blogspot.com/> >>>>> Thanks and Regards, >>>>> >>>>> Isuru H. >>>>> <http://nirmalfdo.blogspot.com/> >>>>> +94 716 358 048 <http://nirmalfdo.blogspot.com/>* <http://wso2.com/>* >>>>> >>>>> >>>>> * <http://wso2.com/>* >>>>> >>>>> >>>>> >>> >>> >>> -- >>> Reka Thirunavukkarasu >>> Senior Software Engineer, >>> WSO2, Inc.:http://wso2.com, >>> Mobile: +94776442007 >>> >>> >>> >> >> >> -- >> Best Regards, >> Nirmal >> >> Nirmal Fernando. >> PPMC Member & Committer of Apache Stratos, >> Senior Software Engineer, WSO2 Inc. >> >> Blog: http://nirmalfdo.blogspot.com/ >> >> -- >> <http://nirmalfdo.blogspot.com/> >> <http://nirmalfdo.blogspot.com/> >> Thanks and Regards, >> >> Isuru H. >> <http://nirmalfdo.blogspot.com/> >> +94 716 358 048 <http://nirmalfdo.blogspot.com/>* <http://wso2.com/>* >> >> >> * <http://wso2.com/>* >> >> >> -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/