From dev-return-4671-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Tue Nov 5 05:04: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 E7073180661 for ; Tue, 5 Nov 2019 06:04:08 +0100 (CET) Received: (qmail 27263 invoked by uid 500); 5 Nov 2019 05:04:07 -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 27212 invoked by uid 99); 5 Nov 2019 05:04: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; Tue, 05 Nov 2019 05:04: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 3F527C1108 for ; Tue, 5 Nov 2019 05:04:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 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, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, 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-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 567r3LCp1YrE for ; Tue, 5 Nov 2019 05:04:04 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.173; helo=mail-qk1-f173.google.com; envelope-from=seonghyunoh@gmail.com; receiver= Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id D0B31BC56D for ; Tue, 5 Nov 2019 05:04:03 +0000 (UTC) Received: by mail-qk1-f173.google.com with SMTP id i19so10914834qki.2 for ; Mon, 04 Nov 2019 21:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+v1opodeXYzGC34LrnRIsk3gR6JXr1HIauss1A3DNqY=; b=qGqOPYOB2iLyJdST3Gqvb/aA9ExC+VRWHiUMUZq5kit4wuy2SE9YVlPbmZCS7df/Pw YTRKisvlGZu9ZrLq62DphOgp8Qq9r7iXY5v8XmC0kFd8qEmKuycpVxe4QqHGykdvG1k9 NqCAoQAJ1jqGL1pBVTVXJ/ui0+ixhTBOiPEuZY8UrZmAnjT+PRFN3Zh0Prx5wZodWnEl d+DVFrskMmUhzAjUnAxMMy38qvppaI95QlGBIXKqDmcAu6/BMtfPFdB/RXV4Eap32U+g OqK3gdp8qo+d0mKlAg0QjMHb2KBdYq04ZiNSR4miAlPtPqPRfgnlpe9hQgdKTqlfh/ut 5pLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+v1opodeXYzGC34LrnRIsk3gR6JXr1HIauss1A3DNqY=; b=GQE7qnHSyhuiu7FsCuMs6PYSN6JUdcRTVeEptaJWZokbTY5gdPRO03uEaga4EEpVve 2+nGr/0+DOvtBdnjp0xWINyYUs7jEY52UccGo/6fNG7myObeX+PZZeP838k8Thaz/1u4 9xrqUqAEsmPRwSGQ2oPiLehDWMKoG5y4yFg4XqcLFItNz7ysHbbW5QODfDsOFUdP1SaB aq90qbjpM6t6lWCDHf2Ku4pDzK2AxamDMk/38b5InFzwbzUZV1CF/YYohuGcg+vKS8m4 xj0WuPRWHSK6tmHbY2/8ybMxmGJ9o5E9yaCfYTSLrgVYezdj4TO9H9WbsaKu/vSctJoO Eilg== X-Gm-Message-State: APjAAAVQ0+BMMgaEzPOzdoc6ehH9wRZggQ1y8SjrhfH+w33BeSy/N74/ LTXIiM0dd/lQKsnpJKUSFrmebtjzQn38IytP7Scha0ODKCQ= X-Google-Smtp-Source: APXvYqxs/rFYi6yQu6qwLmzTYEPwjAumlvw9aeoioIxTjHV9DSlgtw5arm0AQ+37A+IFY5KGgivsChuovfqme56LJD8= X-Received: by 2002:ae9:e501:: with SMTP id w1mr4294250qkf.271.1572930236545; Mon, 04 Nov 2019 21:03:56 -0800 (PST) MIME-Version: 1.0 From: Seong Hyun Oh Date: Tue, 5 Nov 2019 14:03:45 +0900 Message-ID: Subject: Providing a namespace field when action is initialized To: dev@openwhisk.apache.org Content-Type: multipart/alternative; boundary="000000000000017f870596925c89" --000000000000017f870596925c89 Content-Type: text/plain; charset="UTF-8" Hi, whiskers. I want to discuss adding a new field `namespace` in the `/init` API [1] that initializes the action. The action runtime does not know the namespace information when the action is initialized. In some cases, this namespace information can be useful. E.g, - Initializing a monitoring tool such as APM (Application Performance Management) - Custom docker actions that require a namespace for initialization If the namespace is not provided at action init time, runtimes that need a namespace should check the namespace every time when action is run. I'd like to have your views on this proposal { "value": { "namespace": String, <- this `namespace` field will be added "name" : String, "main" : String, "code" : String, "binary": Boolean, "env": Map[String, String] } } Thanks Seonghyun [1] https://github.com/apache/openwhisk/blob/master/docs/actions-new.md#initialization --000000000000017f870596925c89--