You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Lahiru Sandaruwan <la...@wso2.com> on 2015/03/24 18:33:22 UTC

"isVolumeRequired" is required when persistence section is mentioned?

Hi all,

In the new model, we get the persistence volume details in
subscribableInfo. As per older implementations we had "isVolumeRequired"
field, where we got the information from cartridge definition.

IMO we can get rid of this field since user can specify the persistence
portion of the json when it is really required.

Any objections?

Thanks.

-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: "isVolumeRequired" is required when persistence section is mentioned?

Posted by Imesh Gunaratne <im...@apache.org>.
+1 A good point Lahiru, we will not need a separate property for this.

Thanks

On Wed, Mar 25, 2015 at 12:21 AM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> Earlier we used this property in service definition so it can switch
> on/off with this property. Yes we can get rid of this.
> On 24 Mar 2015 23:04, "Lahiru Sandaruwan" <la...@wso2.com> wrote:
>
>> Hi all,
>>
>> In the new model, we get the persistence volume details in
>> subscribableInfo. As per older implementations we had "isVolumeRequired"
>> field, where we got the information from cartridge definition.
>>
>> IMO we can get rid of this field since user can specify the persistence
>> portion of the json when it is really required.
>>
>> Any objections?
>>
>> Thanks.
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: "isVolumeRequired" is required when persistence section is mentioned?

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

Earlier we used this property in service definition so it can switch on/off
with this property. Yes we can get rid of this.
On 24 Mar 2015 23:04, "Lahiru Sandaruwan" <la...@wso2.com> wrote:

> Hi all,
>
> In the new model, we get the persistence volume details in
> subscribableInfo. As per older implementations we had "isVolumeRequired"
> field, where we got the information from cartridge definition.
>
> IMO we can get rid of this field since user can specify the persistence
> portion of the json when it is really required.
>
> Any objections?
>
> Thanks.
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>