openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Deuser" <>
Subject Re: proposal to remove trigger activations when no rules are matched
Date Tue, 05 Dec 2017 15:17:54 GMT
As part of the implementation of Rodric's proposal, a PR [1] has been 
submitted to the change the trigger fire API as follows:
  - The trigger activation record will now be persisted asynchronously
  - A 202 is returned instead of 200.  The activation id ("activationId") 
continues to be returned in the body as before.

This means that immediately after firing a trigger, the corresponding 
trigger activation may not yet be accessible - similar to today's 
asynchronous action invocation behavior.


Mark Deuser

On 2017-11-14 14:47, Rodric Rabbah <> wrote: 
> This will require an API change: when a trigger is fired (assuming it> 
> exists, and the subject is authorized to fire it), today the controller> 

> will return 200 OK and an activation id. I propose instead to change 
> status code should to 202 Accepted if and only if the trigger has a> 
> corresponding active rule, an 204 No Content otherwise.> 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message