From notifications-return-29504-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Sat Dec 7 17:10:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 91EF318065B for ; Sat, 7 Dec 2019 18:10:02 +0100 (CET) Received: (qmail 26814 invoked by uid 500); 7 Dec 2019 17:10:02 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 26805 invoked by uid 99); 7 Dec 2019 17:10:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Dec 2019 17:10:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 32819E2F7F for ; Sat, 7 Dec 2019 17:10:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 5BD6E78038F for ; Sat, 7 Dec 2019 17:10:00 +0000 (UTC) Date: Sat, 7 Dec 2019 17:10:00 +0000 (UTC) From: "Mathieu Lirzin (Jira)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OFBIZ-10805) OFBiz shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)