ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7808) Add Gradle Interactive tasks
Date Tue, 26 Jul 2016 07:52:20 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393385#comment-15393385

Pierre Smits commented on OFBIZ-7808:

re *the dpIp, dpUser and dbPassword are only mandatory if you are switching to a non-embedded
database (derby default) which means MySQL, Postgres, Oracle*

Derby is *not* advised as a solution for production environments. 

Furthermore, the settings in entity-engine are more 'master' db specific, than tenant specific.
An adopter can deviate form those settings (in entityengine.xml) for each tenant. And in a
large enough multi-tenant setup will. Differentiate between RDBMSes (e.g. different cluster)
for master and tenant, to ensure maximisation of disentanglement (GRC related risk mitigation),
but also regarding differentiation between groups of tenants (different RDBMS clusters) to
maximise performance. 

re *I don't see why the data readers should be considered mandatory. They are optional in
"ofbiz --load-data", they are ommitted in loadDefault, they are optional on loadTenant and
they are optional in many such contexts*

When the data-readers parameters is not mandatory in the createTenant *convenience* task,
it might be so that no parameter is provided. Leading to the gradlew 'ofbiz --load-data' task
invoking the loading of all datasets (as per definition in entityengine.xml) for all components.
Including those that are specific to other tenants (see OFBIZ-6065 and OFBIZ-6066).

For you, [~taher], this might be a an academic question, but trust me on this. As I am a *real*
user of the OFBiz solution in a multi-tenant setup. And I know a bit about risk mitigation
and performance maximisation in relation to multi-clustered OFBIZ, multi-tenant OFBiz and
multi-cluster/multi-node RDBMS setups.

> Add Gradle Interactive tasks
> ----------------------------
>                 Key: OFBIZ-7808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7808
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
> As explained in OFBIZ-7772 and OFBIZ-7773 we want to test the possiblity to add Gradle
Interactive tasks using https://github.com/tkruse/gradle-groovysh-plugin
> The idea is to have a good general solution to allow users to not feel a funtional regression
with the 3 interactive tasks we had before, namely
> create-component
> create-admin-user-login
> create-tenant and all tasks it depends on

This message was sent by Atlassian JIRA

View raw message