Re: [Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-30 Thread Thusitha Thilina Dayaratne
We will be using both ServerHome/deployment and
ServerHome/wso2/{runtime}/deployment directories. Please refer to
architecture mailing list[1]

[1] - [Architecture] Multiple runtime support for C5 based products

Thanks
Thusitha

On Wed, Mar 8, 2017 at 5:49 PM, Niranjan Karunanandham 
wrote:

> Hi All,
>
> As per the offline discussion with Azeez, it was suggested that the
> deployment folder should be per runtime.
>
> Regards,
> Nira
>
> On Mon, Mar 6, 2017 at 10:47 AM, Imesh Gunaratne  wrote:
>
>> Thanks for the quick response Niranjan!
>>
>> On Mon, Mar 6, 2017 at 9:40 AM, Niranjan Karunanandham > > wrote:
>>
>>
>>> Would we have deployment artifacts which can are required by all the
>>> runtime? In which case should the artifact be in each runtime as in [1] or
>>> will we be having it [2] which deploys for all  runtime?
>>>
>>
>> ​+1 Yes, it would be better to place common deployable artifacts at the
>> root level to avoid duplication. Otherwise, users would need to update the
>> same set of files at multiple locations when working with this distribution.
>>
>>>
>>> In , we have bin (which should contain the script to start
>>> all runtime), dbscript, resources which contain the keystores (JKS) and
>>> logs (IMO the logs should be per runtime).
>>>
>>
>> ​It make sense! Anything common to multiple runtimes can reside at the
>> root level.​
>>
>> As we discussed offline, I think it might be better to ship separate
>> distributions for runtimes together with the all-in-one distribution.
>> Otherwise users would need to create separate distributions for runtimes
>> when those need to be deployed separately. This would be necessary when
>> creating container images, container cluster manager artifacts (Docker
>> Swarm, K8S, DC/OS, etc), configuration management modules (Chef, Puppet,
>> etc), etc as those would map one to one to each process.
>>
>> Thanks
>> Imesh
>>
>>>
>>>
>>>

 Thanks


> Regards,
> Nira
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


 --
 *Imesh Gunaratne*
 Software Architect
 WSO2 Inc: http://wso2.com
 T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
 W: https://medium.com/@imesh TW: @imesh
 lean. enterprise. middleware


>>> Regards,
>>> Nira
>>>
>>> --
>>>
>>>
>>> *Niranjan Karunanandham*
>>> Associate Technical Lead - WSO2 Inc.
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Software Architect
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
>> W: https://medium.com/@imesh TW: @imesh
>> lean. enterprise. middleware
>>
>>
>
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-08 Thread Niranjan Karunanandham
Hi All,

As per the offline discussion with Azeez, it was suggested that the
deployment folder should be per runtime.

Regards,
Nira

On Mon, Mar 6, 2017 at 10:47 AM, Imesh Gunaratne  wrote:

> Thanks for the quick response Niranjan!
>
> On Mon, Mar 6, 2017 at 9:40 AM, Niranjan Karunanandham 
> wrote:
>
>
>> Would we have deployment artifacts which can are required by all the
>> runtime? In which case should the artifact be in each runtime as in [1] or
>> will we be having it [2] which deploys for all  runtime?
>>
>
> ​+1 Yes, it would be better to place common deployable artifacts at the
> root level to avoid duplication. Otherwise, users would need to update the
> same set of files at multiple locations when working with this distribution.
>
>>
>> In , we have bin (which should contain the script to start
>> all runtime), dbscript, resources which contain the keystores (JKS) and
>> logs (IMO the logs should be per runtime).
>>
>
> ​It make sense! Anything common to multiple runtimes can reside at the
> root level.​
>
> As we discussed offline, I think it might be better to ship separate
> distributions for runtimes together with the all-in-one distribution.
> Otherwise users would need to create separate distributions for runtimes
> when those need to be deployed separately. This would be necessary when
> creating container images, container cluster manager artifacts (Docker
> Swarm, K8S, DC/OS, etc), configuration management modules (Chef, Puppet,
> etc), etc as those would map one to one to each process.
>
> Thanks
> Imesh
>
>>
>>
>>
>>>
>>> Thanks
>>>
>>>
 Regards,
 Nira

 --


 *Niranjan Karunanandham*
 Associate Technical Lead - WSO2 Inc.
 WSO2 Inc.: http://www.wso2.com


>>>
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Software Architect
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
>>> W: https://medium.com/@imesh TW: @imesh
>>> lean. enterprise. middleware
>>>
>>>
>> Regards,
>> Nira
>>
>> --
>>
>>
>> *Niranjan Karunanandham*
>> Associate Technical Lead - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>


-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-06 Thread Imesh Gunaratne
Thanks for the quick response Niranjan!

On Mon, Mar 6, 2017 at 9:40 AM, Niranjan Karunanandham 
wrote:


> Would we have deployment artifacts which can are required by all the
> runtime? In which case should the artifact be in each runtime as in [1] or
> will we be having it [2] which deploys for all  runtime?
>

​+1 Yes, it would be better to place common deployable artifacts at the
root level to avoid duplication. Otherwise, users would need to update the
same set of files at multiple locations when working with this distribution.

>
> In , we have bin (which should contain the script to start
> all runtime), dbscript, resources which contain the keystores (JKS) and
> logs (IMO the logs should be per runtime).
>

​It make sense! Anything common to multiple runtimes can reside at the root
level.​

As we discussed offline, I think it might be better to ship separate
distributions for runtimes together with the all-in-one distribution.
Otherwise users would need to create separate distributions for runtimes
when those need to be deployed separately. This would be necessary when
creating container images, container cluster manager artifacts (Docker
Swarm, K8S, DC/OS, etc), configuration management modules (Chef, Puppet,
etc), etc as those would map one to one to each process.

Thanks
Imesh

>
>
>
>>
>> Thanks
>>
>>
>>> Regards,
>>> Nira
>>>
>>> --
>>>
>>>
>>> *Niranjan Karunanandham*
>>> Associate Technical Lead - WSO2 Inc.
>>> WSO2 Inc.: http://www.wso2.com
>>>
>>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Software Architect
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
>> W: https://medium.com/@imesh TW: @imesh
>> lean. enterprise. middleware
>>
>>
> Regards,
> Nira
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-06 Thread Niranjan Karunanandham
Hi Imesh,

On Mon, Mar 6, 2017 at 9:21 AM, Imesh Gunaratne  wrote:

>
>
> On Mon, Mar 6, 2017 at 2:20 AM, Niranjan Karunanandham 
> wrote:
>
>> Hi all,
>>
>> In Carbon 5, will the deployment folder be specific to a runtime [1] or
>> to the server [2]  or both?
>>
>> [1] - /wso2//deployment
>> [2] - /deployment
>>
>
> IMO [1] would be more appropriate as deployable artifacts would belong to
> a runtime.​ Do we have any files other than the startup scripts at the
> level /?
>
Would we have deployment artifacts which can are required by all the
runtime? In which case should the artifact be in each runtime as in [1] or
will we be having it [2] which deploys for all  runtime?

In , we have bin (which should contain the script to start all
runtime), dbscript, resources which contain the keystores (JKS) and logs
(IMO the logs should be per runtime).



>
> Thanks
>
>
>> Regards,
>> Nira
>>
>> --
>>
>>
>> *Niranjan Karunanandham*
>> Associate Technical Lead - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057 <+94%2077%20374%202057>
> W: https://medium.com/@imesh TW: @imesh
> lean. enterprise. middleware
>
>
Regards,
Nira

-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-06 Thread Imesh Gunaratne
On Mon, Mar 6, 2017 at 2:20 AM, Niranjan Karunanandham 
wrote:

> Hi all,
>
> In Carbon 5, will the deployment folder be specific to a runtime [1] or to
> the server [2]  or both?
>
> [1] - /wso2//deployment
> [2] - /deployment
>

IMO [1] would be more appropriate as deployable artifacts would belong to a
runtime.​ Do we have any files other than the startup scripts at the level
/?

Thanks


> Regards,
> Nira
>
> --
>
>
> *Niranjan Karunanandham*
> Associate Technical Lead - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>
>


-- 
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [C5] Deployment folder specific to runtime or to server?

2017-03-06 Thread Niranjan Karunanandham
Hi all,

In Carbon 5, will the deployment folder be specific to a runtime [1] or to
the server [2]  or both?

[1] - /wso2//deployment
[2] - /deployment

Regards,
Nira

-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev