From dev-return-109936-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Thu Jan 4 00:13:20 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 07AD018077A for ; Thu, 4 Jan 2018 00:13:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EB7CB160C39; Wed, 3 Jan 2018 23:13:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A7DB160C1B for ; Thu, 4 Jan 2018 00:13:19 +0100 (CET) Received: (qmail 57087 invoked by uid 500); 3 Jan 2018 23:13:18 -0000 Mailing-List: contact dev-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 dev@ofbiz.apache.org Received: (qmail 57075 invoked by uid 99); 3 Jan 2018 23:13:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2018 23:13:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 79784C037D for ; Wed, 3 Jan 2018 23:13:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 02YsNnRmImZ9 for ; Wed, 3 Jan 2018 23:13:16 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 81BF05F2F0 for ; Wed, 3 Jan 2018 23:13:15 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id y75so1990750oie.4 for ; Wed, 03 Jan 2018 15:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=pt0GG0Emxf+uiw+S6krTFceIXHev7jFaweVsEK0kw3w=; b=UJ51e2q9EfzdanHWfmeowXLp49aLMPGO744l5EoN0ONk1AZ2+lET3+C70mOTf3IaCL HQedV1wqtQWbg/XlL4CQ4DL5yftyPfL6davXcDSoelZLPoSNXhZbqjTUSa7vi3Zgfohg oQiuoDwNlszRKSTq18pvdatLAxn+c8pwDVcR81guLVO2lJ6ltrVIB3A6jVv9ChHaKxov Fox5uJsuWVahIzGCaJpoIjbxkSeQBrptooIDa+Tr7kjXaPT3OsBuimal+7HEcyHRS4Rr HFDQEhlR1v5UhuDu/kjw1PkVWUnTJzwWT+qxEv1xvxsyAW6Qk/5SVpp1MK924YHynrsn /0ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=pt0GG0Emxf+uiw+S6krTFceIXHev7jFaweVsEK0kw3w=; b=MP277QcgfNaqUIhseab4M4hnHo1Sa4jE7Osez2yeVKek5rNUZZLpr5uE4JXVdu2i2J jPCemK+ry/ioS8yXSpXKiD6G0yldXGdWOamG+XBfs04BIwIXU3G4ZRudF+rX+6YSswZD idhuOBDs+nZSBuxxKwixZzU7z80D7FRRUynre5GVpcI9BN/+6Hsh5KER6R2t0AyltbzZ jbyZIe7MfmiKF0H5WEUS/1wTLCFRG7OxdojTesN1dyyE/v7oWrtkEOdOKvsMkK47L5NQ APPuQZYXl60nUIE+qSPDuT6QQ+9MZz+GenrjtO4ntLHR1I4B9Bl+cbGCbcEihpTE+15y Q2pQ== X-Gm-Message-State: AKGB3mKmHl2Cup3iVuw2UUJ3lI9//DgNqMgSkP4htxQlDOb8CXRMXa/2 dd3SlUX/6lteiYTSH/oYTz5ffGQfcuGXoT2LahQ= X-Google-Smtp-Source: ACJfBoviZbhKfYcs1EnpbHjvT4uCW3jm+FLYlwpI7aQnWSWEjvyuYL3Ec5EOQsUjy4VHMTHFgsUK/qwcF12jHH5UFSE= X-Received: by 10.202.75.77 with SMTP id y74mr1669940oia.244.1515021193990; Wed, 03 Jan 2018 15:13:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.49.19 with HTTP; Wed, 3 Jan 2018 15:13:13 -0800 (PST) Received: by 10.74.49.19 with HTTP; Wed, 3 Jan 2018 15:13:13 -0800 (PST) In-Reply-To: References: From: Taher Alkhateeb Date: Thu, 4 Jan 2018 02:13:13 +0300 Message-ID: Subject: Re: Tree View of Call Graph for Services and Simple Methods To: OFBIZ Development Mailing List Content-Type: multipart/alternative; boundary="001a11c171e6185a950561e75cb3" --001a11c171e6185a950561e75cb3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yeah that sounds reasonable and we will not need any new libraries or logic, just one or few xslt docs. On Jan 4, 2018 2:00 AM, "Paul Foxworthy" wrote: Hi Taher, Yes, that had occurred to me. How about a capture format of XML and an XSLT transform to HTML and/or plain text for human readability? Cheers Paul Foxworthy On 4 January 2018 at 04:55, Taher Alkhateeb wrote: > Hmm, I'm not sure it would be a great idea to introduce a new data > format to OFBiz. It would mean adding new libraries to the framework > and thus more complexity. > > I know XML is not the greatest data format in the world, but it is > what OFBiz uses, and so we should always try to stay consistent in our > approach. > > On Wed, Jan 3, 2018 at 1:24 PM, Jacques Le Roux > wrote: > > +1 for YAML > > > > Jacques > > > > > > > > Le 03/01/2018 =C3=A0 01:22, Paul Foxworthy a =C3=A9crit : > >> > >> Hi James, > >> > >> I have been pondering something like this. > >> > >> I suggest the output should be in a structured format like XML, JSON o= r > >> YAML, so it can be parsed by tools. Maybe YAML because it's intended t= o > >> give wiki-like human readability. > >> > >> I suggest the ability to capture parameter values. You might make that > >> optional, with "summary" and "verbose" options. Parameter values would > >> only > >> be logged if the "verbose" option is enabled. > >> > >> With both of these in place, one could use this to capture a series of > >> steps to generate a reproducible unit test, or to compose existing > >> services > >> into a super-service. > >> > >> The minilang element and its implementation might have some > >> relevance. > >> > >> Cheers > >> > >> Paul Foxworthy > >> > >> > >> On 24 December 2017 at 03:37, James Yong wrote: > >> > >>> Hi All, > >>> > >>> Would like implement a feature to log a tree view of services, simple > >>> methods, events that are called during a request. > >>> Something like: > >>> -> Service A > >>> -> Simple Method B > >>> -> Service C (Async) > >>> -> Simple Method D > >>> > >>> All feedback is greatly appreciated. > >>> > >>> Regards, > >>> James Yong > >>> > >> > >> > > > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: info@coherentsoftware.com.au --001a11c171e6185a950561e75cb3--