From dev-return-2380-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Fri Aug 10 18:35:40 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 B443E180630 for ; Fri, 10 Aug 2018 18:35:39 +0200 (CEST) Received: (qmail 15124 invoked by uid 500); 10 Aug 2018 16:35:33 -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 15108 invoked by uid 99); 10 Aug 2018 16:35:33 -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; Fri, 10 Aug 2018 16:35:33 +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 CEF87180786 for ; Fri, 10 Aug 2018 16:35:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.363 X-Spam-Level: *** X-Spam-Status: No, score=3.363 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, MIME_BOUND_DIGITS_15=1.225, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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-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 k0jxJc5mles5 for ; Fri, 10 Aug 2018 16:35:30 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8FB4C5F1D3 for ; Fri, 10 Aug 2018 16:35:30 +0000 (UTC) Received: by mail-lj1-f174.google.com with SMTP id y17-v6so7625573ljy.8 for ; Fri, 10 Aug 2018 09:35:30 -0700 (PDT) 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=+DpTl8Z2RmygpKqm04135gCGZDWNDyXcT+VdxuIsBbU=; b=az2PBWLZdhZl8pNcbgFimiO+kHPOn8oZihb4ofToxffxylD4ZEUpU1Mds1qLadNvq/ QDrNF0lt6vbx/Lz1ydWMTYR2I6LqDDIqBDvverlk7MC/niFrT4G4H1nZhUw6bt0igTq4 Ud6W3cUsOGLnNlPqWsCqxaCgauIe8SgDznKlb8Ap11xVtWeJurYuWhwcwAByrPHCX6V5 R96uApKBCcrb2YL+efhBvpowQREfW06UBjcXKTvC8PJAxcGu2ylnbDiD2+6F+H0Uazj2 imQbLFqYKZHAsJdgcZ1/m189N8FkGjZrQGpDLk+wit59Bcb/MAreudGOo+1z5oz/qsF3 MA1g== 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=+DpTl8Z2RmygpKqm04135gCGZDWNDyXcT+VdxuIsBbU=; b=FeXdc2BGd3erTMP4bCAeFSXobEJQxnXuM+gD5T72WJhmvG0LIhXycxtigm1uSKAdpC X+ZWNl7PMVLlujW3AK1UgAcQ+a8M3GLlkm8b8fuGMIdXL0lx67N8vIm5Qp1qjy2AFIiU v1h36E7BPGnI7vyLDhot5Fa3Ha4mtQ2/hmhS37VSjwWoac94+L5kKQSfMx0IKCyEHGuI zpiNAW5pHxRX7IqvjKb7EwY6VnVS7JoZJRm/R+WNAhkFos7dRCda4tjnkZ6AhbDTp1ZE XaSdCKrLBGfZgqslKA/cL4Y5o8ExH3ZuMi2eVnbC1S8Ggsm8UXHaPrVUSSbJRPVt+BpZ aNzw== X-Gm-Message-State: AOUpUlH64u1kHRxFS4Ap+XR3LA6EI/48VfWdMuqEey+5Lhxf9pNfIDCO 3fW5ksszHGyt5UZB56DWVBiucc8ejNGl/MzaCUG7VQ== X-Google-Smtp-Source: AA+uWPyfEMX0/4yAqVCY5mIvqcpz9RcHefxOa1l7YfXSOVwy5+Y+4rBPfFSgnIdCjYEjWo4ONRGkryttbIk2FThg8Qo= X-Received: by 2002:a2e:5687:: with SMTP id k7-v6mr5533125lje.105.1533918923031; Fri, 10 Aug 2018 09:35:23 -0700 (PDT) MIME-Version: 1.0 From: japhar81 Date: Fri, 10 Aug 2018 12:35:11 -0400 Message-ID: Subject: Pluggable API Gateways To: dev@openwhisk.apache.org Content-Type: multipart/alternative; boundary="0000000000008588740573175421" --0000000000008588740573175421 Content-Type: text/plain; charset="UTF-8" This is a follow-up to a Slack conversation with @dragos.dascalita and @csantanapr. As I've been struggling to stand up the API Gateway for OpenWhisk, it occurred to me that I would actually prefer to use a different GW entirely. In my case, Traefik fits nicely in one spot, and Istio integration would be very handy in another. I'm happy to implement both, but the current state makes it hard to contribute. A couple options and opinions came out of our discussion that could use more input; 1. Splitting the routemgt stuff out of incubator-openwhisk either into openwhisk-apigateway or the cli repo. My preference is a dedicated repo, as it makes more sense from a new users' POV -- I had a rough time getting things to work and it was unclear in the current structure. 2. We can either ship APIGW+routemgt combos for each implementation, or we can potentially make the api commands in wsk a plugin, shipping an APIGW + a wsk cli plugin to match. My personal opinion is this; if the APIGW is optional, the routemgt actions must be as well -- one is pointless without the other. They're also tightly coupled to the specific implementation. As such, I would suggest that both pieces move to their own repo, with a folder for each implementation, as well as deployment docs for all things APIGW in the same place. Thoughts/comments welcome! Thanks, Henry --0000000000008588740573175421--