[openstack-dev] [Keystone]ON DELETE RESTRICT VS ON DELETE CASCADE

David Stanek dstanek at dstanek.com
Mon Mar 9 17:20:25 UTC 2015


On Sun, Mar 8, 2015 at 10:28 PM, Chen, Wei D <wei.d.chen at intel.com> wrote:

> +1,
>
>
>
> I am fan of checking the constraints in the controller level instead of
> relying on FK constraints itself, thanks.
>

The Keystone controllers shouldn't do any business logic. This should be in
the managers. The controllers should do nothing more that take web stuff
and convert it for use by the managers.


-- 
David
blog: http://www.traceback.org
twitter: http://twitter.com/dstanek
www: http://dstanek.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150309/83c97bdc/attachment.html>


More information about the OpenStack-dev mailing list