Files
nova/api-ref/source
Eric Fried e6f7425444 Nix os-server-external-events 404 condition
The POST /os-server-external-events API had the following confusing
behavior:

With multiple events in the payload, if *some* (but not all) were
dropped, the HTTP response was 207, with per-event 4xx error codes in
the payload. But if *all* of the events were dropped, the overall HTTP
response was 404 with no payload. Thus, especially for consumers sending
only one event at a time, it was impossible to distinguish e.g. "you
tried to send an event for a nonexistent instance" from "the instance
you specified hasn't landed on a host yet".

This fix gets rid of that sweeping 404 condition, so if *any* subset of
the events are dropped (including *all* of them), the HTTP response will
always be 207, and the payload will always contain granular per-event
error codes.

This effectively means the API can no longer return 404, ever.

Closes-Bug: #1855752
Change-Id: Ibad1b51e2cf50d00102295039b6e82bc00bec058
2019-12-09 11:52:49 -06:00
..
2019-07-05 13:24:18 +09:00
2019-08-12 08:52:38 -05:00
2019-07-22 19:17:28 +02:00
2019-11-22 16:09:36 +00:00
2016-11-11 14:01:51 -05:00
2017-03-31 06:19:01 +00:00
2019-07-22 19:17:28 +02:00
2019-04-16 18:26:13 +01:00
2019-11-22 16:09:36 +00:00
2019-07-22 19:17:28 +02:00
2017-11-28 11:07:36 +08:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00