From users-return-6243-archive-asf-public=cust-asf.ponee.io@isis.apache.org Wed Apr 17 03:25:09 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 1B2FA180630 for ; Wed, 17 Apr 2019 05:25:09 +0200 (CEST) Received: (qmail 80870 invoked by uid 500); 17 Apr 2019 03:25:08 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 80828 invoked by uid 99); 17 Apr 2019 03:25:06 -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, 17 Apr 2019 03:25:06 +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 64619C09D7 for ; Wed, 17 Apr 2019 03:25:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.045 X-Spam-Level: *** X-Spam-Status: No, score=3.045 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=2, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.006, SPF_PASS=-0.001, URIBL_BLOCKED=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 Kk0sHBAA6kpI for ; Wed, 17 Apr 2019 03:25:03 +0000 (UTC) Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D06FB5FB14 for ; Tue, 16 Apr 2019 18:09:09 +0000 (UTC) Received: by mail-it1-f180.google.com with SMTP id x132so253145itf.2 for ; Tue, 16 Apr 2019 11:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=z3l+rRf0tiZLlzNA+1WePGtAcWV43nLl2CqPhigF2ao=; b=lRbVjTyqqLpuNnCRqBY6Ul6WCR+ry9bhfFoO09T266fJJkzDH/erORVj98HWPxNsEa XcbAv9FNtQrl2Su+JC9bVxupjbUYAVYolfFLS0x7HTz2KNA3DeebmoydqrzUh6NioinL 6cRP0HC60W9UBmEf9lyX3xKbcnBIPDOrbeKFBMiFbQsvGvjrQ18xHAcNwwNm84hNEJzA qJitlwpYRByWed2SUqtzZW/72f/DMaMSMHUg9ufYGVZpllEUhylB5dIIzvDhXZdRanVZ gJl8dtvIR6/MQcZ0SVDHM5i+qKB4Dj7fPSlMKFKs/yLVG+pKlRerS406kqIrgn9Xn690 O+cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=z3l+rRf0tiZLlzNA+1WePGtAcWV43nLl2CqPhigF2ao=; b=KvVWzAnfgp+RDS9jFJjN6kifS66ojPLSStW+9sXTMEclWQLrLlOzVPdKcoV+rKpgKC dcxbpo/pdbn0KVkOFwEIGfBIqaRFEsLiFV1bjt2cSaBYg61M5aNfKTGE2FsFubplrb8q /vyR95R/R+5j3hCIP1NUcuOLkGnhrojI6lEwhFbTTbCCJRcm5kAUo4G9yqlD6EUnO9Lv VQXC62Xx5auFqj2OQmJOhO9JdFpQsUe/7glub+rp1MKdTianzniFQaL93MHV2bwMl5Sc 30HGBBB4MVi8wVb+wlQkBgYvht6drWvLmSJIIilB8sKH4Voi1Yxi9UEToGFJCwFt2N10 axjQ== X-Gm-Message-State: APjAAAWE7k2/iOYCs4IzeXBCJr8LCdff8n6dMyjnvLkvVORPe9E7d47Q 2B7J6VEKlW4Mp/IjCNuD440RKnixJ4uXbFIktkwrZrWQ X-Google-Smtp-Source: APXvYqxFATBsSaRDjdHHAyXty3zQlIuB5jps7Sq8aJeGacZTVaI2+OIgWyzZ/P/u4iA1zJpUSWua+8Rm32N+SIfq2NE= X-Received: by 2002:a24:7cf:: with SMTP id f198mr3487083itf.148.1555438142885; Tue, 16 Apr 2019 11:09:02 -0700 (PDT) MIME-Version: 1.0 References: <9B5323A02AF8FC44ABA9883B957B35D6343D9EC0@DCEEXMBX20.ger.win.int.kn> <9B5323A02AF8FC44ABA9883B957B35D6343EFB3B@DCEEXMBX20.ger.win.int.kn> In-Reply-To: <9B5323A02AF8FC44ABA9883B957B35D6343EFB3B@DCEEXMBX20.ger.win.int.kn> From: Brian K Date: Tue, 16 Apr 2019 10:08:51 -0800 Message-ID: Subject: Re: Rest services To: users@isis.apache.org Content-Type: multipart/alternative; boundary="000000000000fa10eb0586a9a9da" --000000000000fa10eb0586a9a9da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm glad we're discussing this. By "front-end source code", are we referring to code generated by a utility such as swagger-codegen [1]? If so, then I would look at that utility to customize its output to your organization's standards. About the content negotiation service: I haven't implemented one yet, so can someone please verify if I have this right? It looks to me that the docs [2] are saying that the content negotiator service overloads the use of the profile portion of the Accept header to give a response that is different from what is defined in the Restful Objects API specification that is created when the application is built. Writing client code to consume this would be manual, but it would be as simple as the profile you implement in your content negotiation service. The output from this service is an instance of a JAXB serializable class, like a view model [3] = . [1] https://github.com/swagger-api/swagger-codegen [2] https://isis.apache.org/guides/ugvro/ugvro.html#_ugvro_simplified-represent= ations_apache-isis-profile [3] https://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_building-blocks_type= s-of-domain-objects_view-models On Mon, Apr 15, 2019 at 7:25 AM Rade, Joerg / Kuehne + Nagel / HAM GI-DP < Joerg.Rade@kuehne-nagel.com> wrote: > Hi Jorge, > > Apache Isis is open source and where it generates code from your domain > model code, it will be available. > See what maven generates. > > And have a look into Content Negotiation Service [3], [4]. > > -j > [3] > https://isis.apache.org/guides/ugvro/ugvro.html#___ugvro_ro-spec_extensio= ns_content-negotiation > [4] https://www.youtube.com/watch?v=3DHMSqapQDY_4 > -----Urspr=C3=BCngliche Nachricht----- > Von: jorge fernandez [mailto:jfernandezsistemas@gmail.com] > Gesendet: Montag, 15. April 2019 16:53 > An: users@isis.apache.org > Betreff: Re: Rest services > > Hello, in the references you sent it mentions Resful Object Viewer and th= e > dependencies. > > > > Instead, what we need to know is: > > 1) Is there a way to obtain the *source code* of the generated APIs > and Front End. > > 2) Is there a way to change the *API and Front End source code > generator* so we can adapt the way Apache ISIS generates the APIs and Fro= nt > End source code. We have some sets of standards and best practices that a= re > dictated by our governance and architecture teams we need to comply to, s= o > we need a way to change the structure of the APIs source code. > > El mar., 2 abr. 2019 a las 0:50, Rade, Joerg / Kuehne + Nagel / HAM GI-DP > (< > Joerg.Rade@kuehne-nagel.com>) escribi=C3=B3: > > > Hi Jorge, > > > > please see [1] . For the used libs see [2], namely jboss.resteasy > > > > HTH -j > > > > > > [1] https://isis.apache.org/guides/ugvro/ugvro.html > > [2] https://github.com/apache/isis/blob/master/core/pom.xml > > > > -----Urspr=C3=BCngliche Nachricht----- > > Von: jorge fernandez [mailto:jfernandezsistemas@gmail.com] > > Gesendet: Montag, 1. April 2019 23:21 > > An: users@isis.apache.org > > Betreff: Rest services > > > > Hello, I have one week expirence using Apache Isis and I'm doing a proo= f > of > > concept, trying to replace my actual API layer with Isis, and I need to > now > > the way or the project path where Apache Isis generate the Rest Service= s. > > In a specific way, i need to see code, libraries and frameworks used to > > build Services, thanks for your help > > > > K=C3=BChne + Nagel (AG & Co.) KG > > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE > > 812773878. > > Gesch=C3=A4ftsleitung K=C3=BChne + Nagel (AG & Co.) KG: Holger Ketz (Vo= rs. ), > Martin > > Brinkmann, Lars-Olof Gr=C3=BCn, Matthias Knicky, Nicholas Minde, Johann= es > > Trimborn, Lars Wedel, Matthias Weiner. > > Pers=C3=B6nlich haftende Gesellschafterin: K=C3=BChne & Nagel A.G., Rec= htsform: > > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > > Gesch=C3=A4ftsf=C3=BChrendes Verwaltungsratsmitglied: Karl Gernandt. > > Gesch=C3=A4ftsleitung Region Europa: Dr. Hansj=C3=B6rg Rodi (Vors.), Ma= rt Ambur, > Tom > > Ban, Dominic Edmonds, Thierry Held, Uwe H=C3=B6tt, Richard Huhn, Jan-He= ndrik > > K=C3=B6stergarten, Heiko Schuhmacher. > > > > Wir arbeiten ausschlie=C3=9Flich auf Grundlage der Allgemeinen Deutsche= n > > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen i= n > > Ziffer 23 hinsichtlich des Haftungsh=C3=B6chstbetrages f=C3=BCr G=C3=BC= tersch=C3=A4den (=C2=A7 431 > > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten > > unter Einschluss einer Seebef=C3=B6rderung und bei unbekanntem Schadeno= rt auf > 2 > > SZR/kg und im =C3=9Cbrigen die Regelhaftung von 8,33 SZR/kg zus=C3=A4tz= lich auf > 1,25 > > Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je > Schadenereignis, > > mindestens aber 2 SZR/kg, beschr=C3=A4nken. Die ADSp sind auf unserer W= ebseite > > als Download erh=C3=A4ltlich. Auf Anfrage senden wir Ihnen diese auch g= erne > zu. > > > > K=C3=BChne + Nagel (AG & Co.) KG > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE > 812773878. > Gesch=C3=A4ftsleitung K=C3=BChne + Nagel (AG & Co.) KG: Holger Ketz (Vors= . ), Martin > Brinkmann, Lars-Olof Gr=C3=BCn, Matthias Knicky, Nicholas Minde, Johannes > Trimborn, Lars Wedel, Matthias Weiner. > Pers=C3=B6nlich haftende Gesellschafterin: K=C3=BChne & Nagel A.G., Recht= sform: > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > Gesch=C3=A4ftsf=C3=BChrendes Verwaltungsratsmitglied: Karl Gernandt. > Gesch=C3=A4ftsleitung Region Europa: Dr. Hansj=C3=B6rg Rodi (Vors.), Mart= Ambur, Tom > Ban, Dominic Edmonds, Thierry Held, Uwe H=C3=B6tt, Richard Huhn, Jan-Hend= rik > K=C3=B6stergarten, Heiko Schuhmacher. > > Wir arbeiten ausschlie=C3=9Flich auf Grundlage der Allgemeinen Deutschen > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in > Ziffer 23 hinsichtlich des Haftungsh=C3=B6chstbetrages f=C3=BCr G=C3=BCte= rsch=C3=A4den (=C2=A7 431 > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten > unter Einschluss einer Seebef=C3=B6rderung und bei unbekanntem Schadenort= auf 2 > SZR/kg und im =C3=9Cbrigen die Regelhaftung von 8,33 SZR/kg zus=C3=A4tzli= ch auf 1,25 > Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis= , > mindestens aber 2 SZR/kg, beschr=C3=A4nken. Die ADSp sind auf unserer Web= seite > als Download erh=C3=A4ltlich. Auf Anfrage senden wir Ihnen diese auch ger= ne zu. > --000000000000fa10eb0586a9a9da--