From dev-return-5442-archive-asf-public=cust-asf.ponee.io@servicecomb.apache.org Sat Oct 27 05:06:03 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9D808180647 for ; Sat, 27 Oct 2018 05:06:02 +0200 (CEST) Received: (qmail 99370 invoked by uid 500); 27 Oct 2018 03:06:01 -0000 Mailing-List: contact dev-help@servicecomb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicecomb.apache.org Delivered-To: mailing list dev@servicecomb.apache.org Received: (qmail 99355 invoked by uid 99); 27 Oct 2018 03:06:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2018 03:06:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A497A18B0C5 for ; Sat, 27 Oct 2018 03:06:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.515 X-Spam-Level: ** X-Spam-Status: No, score=2.515 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HK_RANDOM_ENVFROM=0.626, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id adxZ2w0DjwJv for ; Sat, 27 Oct 2018 03:05:59 +0000 (UTC) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D41535F48E for ; Sat, 27 Oct 2018 03:05:58 +0000 (UTC) Received: by mail-vs1-f46.google.com with SMTP id r83so2041626vsc.4 for ; Fri, 26 Oct 2018 20:05:58 -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=okWMJbIWTl82X1xC60jNU+JePOUiRBeLiYOVjGOpRbk=; b=UD6UzuZ65QbNd2MRUZ65U+vNRdK7tB++R0whvLzY9+GEAY3UrRO663vh0eHFSJyOjF 6HcgtS/e8hwyjQI6kn0avWw7uQaci8hvYuzBPgNZQuiMWJlIwH+xrIOfSgCsGCIksty/ W/DeRnIxr6oEAGNinIROVlvXcrsV9GTfRJHEbHY3hk9YRfgLN8TKaWfqnIAPhubgAO/E yPTTmTFCSpt9CJxVNq8FFPMfVQVVj0ydcnhHxKMWwcWQj8Ro+1mv/SE3dtXrREvqDBbJ x6K7qti9HL1bCg6R7iuaHRWO9lKgf7HRr9ZIkUhkxW3eJVvGVmfCgb4169Vxe8OFCjSy gWMg== 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=okWMJbIWTl82X1xC60jNU+JePOUiRBeLiYOVjGOpRbk=; b=ThgNCWRjezL79X6Vnk8CMhtmVQDYEweTv26SoScduKupkBZNrwEOm1xmuk7GinuMfH yFg0Ih674JP+V5QuPz3mO+cPpVswreOG0sjgx2FASP8iViFBhY9tFaJxrpNoD+O+Bq5+ aMpGB2feN8oK83hpJcjn9fMDlQVrbPDNK3VIprkuajTdbIauocvhIqgMPEOnie4jJyxz jOn5OXQ6XcdM8QLtAefK3Tcow/HJspSC8PDI9evsCwUUNmyC6iBKGw6Mca9tNxOU3w0z j5cmAnRN4PgxW0pQ/J0s518rTpZTVmVXO3n39FAalhv31Ggm2n7WOWDrBrAc8cn/k5Yi 6E7A== X-Gm-Message-State: AGRZ1gLhAfFg0sNqTFvbDg1+34+ITwnQpRmOZM0SpdqFJhwHT6ckhZQu eM/5bdvlt4cJ8IOIR10vEDGQ5S1YJoChTks6jMid7KamLFI= X-Google-Smtp-Source: AJdET5fW1xlXYuiBE46C6gUllTcQ32hxL36hNCBjrVT/Jl8Cy+P/rmTnCc4HOF9Tn/hFfYf6T4ZzroOoUD8ou66FgCQ= X-Received: by 2002:a67:1284:: with SMTP id 126mr2672682vss.62.1540609551621; Fri, 26 Oct 2018 20:05:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: wjm wjm Date: Sat, 27 Oct 2018 11:05:40 +0800 Message-ID: Subject: Re: [DISCUSSION java-chassis]scan RestController to to make spring mvc controller publish as ServiceComb Rest easier To: dev@servicecomb.apache.org Content-Type: multipart/alternative; boundary="0000000000000fe5db05792d1d05" --0000000000000fe5db05792d1d05 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 but, what's default value of servicecomb.rest.service.scanRestController if to be true, then can make spring mvc controller publish as ServiceComb Rest easier, but maybe not compatible but if to be false, then this feature is not so useful? bismy =E4=BA=8E2018=E5=B9=B410=E6=9C=8827=E6=97=A5=E5=91=A8= =E5=85=AD =E4=B8=8A=E5=8D=8810:57=E5=86=99=E9=81=93=EF=BC=9A > Hi all, > > > I am going to implement a feature that scan beans with @RestController > annotation, and taken it same as: > 1. @RestSchema(schemaId =3D class.getName()) > 2. @RequestMapping("/") > > > Consider some users want to make use of both spring mvc controller and > ServiceComb REST, we add a configuration > servicecomb.rest.service.scanRestController > to turn off this feature. > > > Any suggestions? --0000000000000fe5db05792d1d05--