You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (Jira)" <ji...@apache.org> on 2019/12/07 17:10:00 UTC

[jira] [Closed] (OFBIZ-10805) OFBiz shell

     [ https://issues.apache.org/jira/browse/OFBIZ-10805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathieu Lirzin closed OFBIZ-10805.
----------------------------------
    Fix Version/s:     (was: Upcoming Branch)
       Resolution: Abandoned

I am not interested to work on that feature given that OFBiz does not provide a proper API for managing its resources yet. OFBiz needs to become a library to allow such feature to integrate nicely.

> OFBiz shell
> -----------
>
>                 Key: OFBIZ-10805
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10805
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Major
>         Attachments: OFBIZ-10805_OFBiz-shell.patch
>
>
> One issue with the current way of writing Groovy tests is that the feedback between writing an instruction and checking its result is slow because one has to rerun the corresponding test case.
> Providing a Groovy shell access with a delegator and dispatcher allows developers to interactively execute commands and check their results instantly.
> The shell access has been done via Remote Procedure Call (RPC) which was already implemented by the {{AdminClient}} and {{AdminServer}} classes.
> In order to test, you must start the server first:
> {code}
> $ ./gradlew ofbiz
> {code}
> then you can run the following command in another terminal:
> {code}
> $ java -jar build/libs/ofbiz.jar --shell
> {code}
> or this equivalent one which uses the corresponding short option:
> {code}
> $ java -jar build/libs/ofbiz.jar -i
> {code}
> *Limitation*: It is currently not possible to connect multiple shells at
>  the same time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)