From dev-return-3469-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Wed Mar 27 15:10:37 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 60307180648 for ; Wed, 27 Mar 2019 16:10:37 +0100 (CET) Received: (qmail 70712 invoked by uid 500); 27 Mar 2019 15:10:36 -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 70701 invoked by uid 99); 27 Mar 2019 15:10:36 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2019 15:10:36 +0000 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 6189094B1 for ; Wed, 27 Mar 2019 15:10:35 +0000 (UTC) Received: by mail-lj1-f169.google.com with SMTP id v22so14711065lje.9 for ; Wed, 27 Mar 2019 08:10:35 -0700 (PDT) X-Gm-Message-State: APjAAAUfQ+Vy3fpItxuTviLczapFHtGkhNDmVvhV/y7UNttp3sVdyclc 4PfiIfKfhIZanTk4tbBjjWBfM21iAY01zbAEM0c= X-Google-Smtp-Source: APXvYqwYZsCH5kh9FeRXYgejTxqHp+rtlqjoJD6ZyMldRjMD/2Azk65O9n8Lcsi40ZVAvy2WHmlJgOMhN3c0N+3LMn4= X-Received: by 2002:a2e:b058:: with SMTP id d24mr21384108ljl.42.1553699434322; Wed, 27 Mar 2019 08:10:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bertrand Delacretaz Date: Wed, 27 Mar 2019 16:10:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Pausing actions, waiting for human input etc. To: OpenWhisk Dev Content-Type: text/plain; charset="UTF-8" Hi, Thank you everybody for you replies. I understand implementing this directly in OpenWhisk is challenging, and especially this comment from Olivier: On Tue, Mar 26, 2019 at 6:12 PM Olivier Tardieu wrote: > ...Alternatively, the dynamic creation of trigger-like and rule-like things > can be pushed to an external system outside of OpenWhisk. This > addresses issue number 2 and can also help with 1... makes me think that it's worth looking at how a distinct "state machine service" can help with that, rather than making complex changes to OpenWhisk itself. Maybe that service can be a set of OpenWhisk Actions...that would avoid having to deploy additional services (outside of states persistence) while not having to make core changes. At the cost of some performance probably, but if it's about slow human-driven or batch processing workflows that might not be a real problem. I'll think about a minimal prototype that would demonstrate that and share it here if I succeed. -Bertrand