Hi Sajith,

So, the conf directory for each runtime should be
> <carbon-home>/conf/<runtime>/ and there shouldn't be a 'conf' directory
> inside the runtime directory, right?

Yes that is correct

Another question: Where should the resources (e.g. security certificates,
> databases, DB scripts) should go? Do they goes into the
> <carbon-home>resources/<runtime>/ or <carbon-home>/wso2/<runtime>/r
> esources/ directory?

databases and dbscripts will be in <runtime-home>/databases and
<runtime-home>/dbscripts directories. All the keystore(jks) will be in
<server-home>/resources/security directory. The assumption was keystores
will not get changed based on the runtime.


Thanks
Thusitha


On Mon, Sep 18, 2017 at 11:48 AM, SajithAR Ariyarathna <[email protected]>
wrote:

> Hi Thusitha,
>
> Sorry that I missed that part in the architecture discussion.
> So, the conf directory for each runtime should be
> <carbon-home>/conf/<runtime>/ and there shouldn't be a 'conf' directory
> inside the runtime directory, right?
>
> Another question: Where should the resources (e.g. security certificates,
> databases, DB scripts) should go? Do they goes into the
> <carbon-home>resources/<runtime>/ or <carbon-home>/wso2/<runtime>/resources/
> directory?
>
> Thanks.
>
> On Mon, Sep 18, 2017 at 11:06 AM, Thusitha Thilina Dayaratne <
> [email protected]> wrote:
>
>> Hi Sajith,
>>
>> This was done due to the assumption that users will not edit anything
>> inside the wso2 directory. Please refer the [1] for the detailed
>> explanation.
>>
>> We need to do slight modification for the above directory structure.
>>> Since we are not allowing the end user to change any file inside wso2
>>> folder(ServerHome/wso2), we cannot keep the conf directory of each runtime
>>> inside wso2 directory. So we are planning to move out conf directory of
>>> each runtime from wso2 directory. Modified directory structure will look
>>> like below (changes from the above structure is highlighted in red colour),
>>
>>
>> [1] - [Architecture] Multiple runtime support for C5 based products
>>
>> Thanks
>> Thusitha
>>
>> On Mon, Sep 18, 2017 at 10:41 AM, SajithAR Ariyarathna <[email protected]
>> > wrote:
>>
>>> Hi Platform Team,
>>>
>>> According to carbon-utils [1], runtime 'conf' directory is at
>>> <carbon-home>/conf/<runtime>/. According to the carbon-deployment [2],
>>> runtime deployment directory is at <carbon-home>/wso2/<runtime>/d
>>> eployment/. I noticed an inconsistency here.
>>> Any particular reason behind this? IMO, runtime 'conf' directory should
>>> be at <carbon-home>/wso2/<runtime>/conf/
>>>
>>> [1] https://github.com/wso2/carbon-utils/blob/v2.0.2/compone
>>> nts/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/util
>>> s/Utils.java#L92-L99
>>> [2] https://github.com/wso2/carbon-deployment/blob/v5.1.4/co
>>> mponents/org.wso2.carbon.deployment.engine/src/main/java/org
>>> /wso2/carbon/deployment/engine/config/DeploymentConfiguration.java#L38
>>>
>>> Thanks.
>>> --
>>> Sajith Janaprasad Ariyarathna
>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>> <https://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Thusitha Dayaratne
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog      alokayasoya.blogspot.com
>> About    http://about.me/thusithathilina
>> <http://wso2.com/signature>
>>
>>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
> <https://wso2.com/signature>
>



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

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to