[jira] [Commented] (OFBIZ-7808) Add Gradle Interactive tasks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7808) Add Gradle Interactive tasks

Nicolas Malin (Jira)

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

Pierre Smits commented on OFBIZ-7808:
-------------------------------------

I believe that we all can agree that the createComponent and createTenant aspect lies in the DEVOPS domain (when we consider the OFBiz users).

The createComponents tasks is geared more towards DEV, and the createTenant task is geared more towards OPS.

In an ideal situation I would see more flexibility in the createComponent tasks regarding the selection of particular elements, based on the kind of component that the developer wants to bootstrap, like:
* backend component
* theme
* cmssite
* ecommerce component

And all this taking the tenant into consideration. I have all this in my environment.

In a particular scenario I envisioned this to be done in a DEVOPS component, but I threw that out because:
* may never run in a production environment
* requires a restart in order to build (bootstrapping the services and be visible in the browser).

With respect to the createTenant task, this ideally resides in a DEVOPS component in production, that is only accessible at master level (not at tenant level) from where party details are picked (or added) and that triggers:
* the persistence of records in the various Tenant entitities
* load the datasets selected and create the tenant admin.

While the first one is easy (it lives and performs within the running OFBiz instantiation), the second one is more difficult. The reason for this is that it needs to spawn a new OFBiz thread.





> 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
(v6.3.4#6332)