From dev-return-3095-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Wed Feb 13 21:32:24 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1E6E9180674 for ; Wed, 13 Feb 2019 22:32:23 +0100 (CET) Received: (qmail 67945 invoked by uid 500); 13 Feb 2019 21:32:23 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 67934 invoked by uid 99); 13 Feb 2019 21:32:22 -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; Wed, 13 Feb 2019 21:32:22 +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 E6541182DBD for ; Wed, 13 Feb 2019 21:32:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3J2HW2RPSUik for ; Wed, 13 Feb 2019 21:32:19 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 643AF5FDAA for ; Wed, 13 Feb 2019 21:32:19 +0000 (UTC) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLTrQ8030754 for ; Wed, 13 Feb 2019 16:32:18 -0500 Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.90]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmtjjhmqv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:32:18 -0500 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Wed, 13 Feb 2019 21:32:17 -0000 Received: from us1a3-smtp06.a3.dal06.isc4sb.com (10.146.103.243) by smtp.notes.na.collabserv.com (10.106.227.141) with smtp.notes.na.collabserv.com ESMTP; Wed, 13 Feb 2019 21:32:14 -0000 Received: from us1a3-mail91.a3.dal06.isc4sb.com ([10.146.21.47]) by us1a3-smtp06.a3.dal06.isc4sb.com with ESMTP id 2019021321321378-1045101 ; Wed, 13 Feb 2019 21:32:13 +0000 MIME-Version: 1.0 In-Reply-To: Subject: Re: change the default action context to omit api key To: dev@openwhisk.apache.org From: "David P Grove" Date: Wed, 13 Feb 2019 16:32:13 -0500 References: X-KeepSent: 0166F0E3:D0180FB4-852583A0:0076315E; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1EXT SHF993 September 20, 2018 X-LLNOutbound: False X-Disclaimed: 11483 X-TNEFEvaluated: 1 x-cbid: 19021321-9717-0000-0000-00000B058A56 X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.417846; ST=0; TS=0; UL=0; ISC=; MB=0.011954 X-IBM-SpamModules-Versions: BY=3.00010590; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160626; UDB=6.00605772; IPR=6.00941181; BA=6.00006231; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00025568; XFM=3.00000015; UTC=2019-02-13 21:32:15 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2019-02-13 16:05:27 - 6.00009581 x-cbparentid: 19021321-9718-0000-0000-00004393C4A9 Message-Id: Content-type: multipart/alternative; boundary="0__=0ABB0933DFE5B7CE8f9e8a93df938690918c0ABB0933DFE5B7CE" Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-13_12:,, signatures=0 X-Proofpoint-Spam-Reason: safe --0__=0ABB0933DFE5B7CE8f9e8a93df938690918c0ABB0933DFE5B7CE Content-Transfer-Encoding: quoted-printable Content-type: text/plain; charset=US-ASCII +1 my thoughts exactly. --dave Tyson Norris wrote on 02/13/2019 04:28:35 PM: > > I agree the api=5Fkey is bad, when not using e.g. OW npm within the > action. +1 for using an annotation to enable this. > > activation=5Fid is required to do the right thing for logging with > concurrency enabled - but I'm also not sure what risk it is to > include that? It will be in the response header anyways still right? > > Namespace + action - similar to activation=5Fid, this is already > available to the client and may have some convenience for action > devs (especially with logging concurrent actiavitons =5F=5F ) > > From my perspective, I would just change the api=5Fkey to be > explicitly passed, and leave the rest as-is. > --0__=0ABB0933DFE5B7CE8f9e8a93df938690918c0ABB0933DFE5B7CE--