senlin/senlin/api/middleware
Jude Cross 364b1402a1 Update scaling policy logic to be applied before action acceptance
This patch alters the cluster_scale_in and cluster_scale_out actions to
no longer place the action into the actions table when a conflict is
detected. This behavior is an improvement on the old way actions are
processed as the requester will now receive immediate feedback from the API
when an action cannot be processed. This change  also honors the scaling
action cooldown in the same manner by erring via the API when a scaling
action cannot be processed due to cooldown.

Depends-On: https://review.openstack.org/#/c/602460/
Implements: blueprint scaling-action-acceptance
Change-Id: If0dcf5e427d3d6973d2c5e52fada8a6c925240d5
2018-10-15 14:30:01 -07:00
..
__init__.py Refactor version negotiation middleware 2016-08-12 08:25:34 -04:00
context.py Remove tox unit test warnings 2017-12-18 05:05:02 -05:00
fault.py Update scaling policy logic to be applied before action acceptance 2018-10-15 14:30:01 -07:00
trust.py Remove tox unit test warnings 2017-12-18 05:05:02 -05:00
version_negotiation.py Cleaned up logging 2018-04-02 19:42:10 -07:00
webhook.py Cleaned up logging 2018-04-02 19:42:10 -07:00