shipyard/src/bin/shipyard_airflow/shipyard_airflow/control
Andrey Volkov 0e6486be8b Return non-200 response if Airflow log request failed
This patch modifies API behavior for
GET /v1.0/actions/{action_id}/steps/{step_id}/logs
such way:
- it returns the same status code as Airflow HTTP request returned
  if Airflow responds with a status code of 400 or greater,
- it returns 500 error status code if an exception happens during
  Airflow HTTP request (200 was before).

Warning: this change breaks API backward compatibility, now a client
could get 4xx or 5xx codes proxied from Airflow.

Change-Id: Ic5dceb3abc34415d21b4d8d4e71b4e5661a7363d
2018-10-04 07:23:21 -07:00
..
action Return non-200 response if Airflow log request failed 2018-10-04 07:23:21 -07:00
af_monitoring Refactor policies to use constant values 2018-08-08 10:58:55 -05:00
configdocs Fix: various documentation and URL fixes 2018-09-24 12:53:27 +02:00
helpers Rollback to revision 0 instead of clearing Deckhand DB 2018-09-25 16:04:32 -04:00
logging [refactor] logging refactor + redaction filter 2018-06-01 17:14:15 -05:00
middleware [refactor] logging refactor + redaction filter 2018-06-01 17:14:15 -05:00
status Refactor policies to use constant values 2018-08-08 10:58:55 -05:00
util Mask password in logs for database connection 2018-07-26 12:37:00 -05:00
validators Merge "Add redeploy_server processing" 2018-08-23 20:55:26 +00:00
__init__.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
api.py A new Shipyard site statuses API and CLI 2018-07-31 09:16:36 +00:00
api_lock.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
base.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
health.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
json_schemas.py Trivial: update url to new url 2018-06-07 18:00:04 +08:00
service_clients.py Add deployment group validation to shipyard 2018-05-09 09:18:16 -05:00
service_endpoints.py Add Keystone options to registration of config 2018-06-06 14:50:54 -05:00
start_shipyard.py [refactor] logging refactor + redaction filter 2018-06-01 17:14:15 -05:00