Default_limit and Resource_limit should not be set
as negative values or out of range. This patch
addresses the above issue be checking the limit
passed by the user should be minimum and maximum to
the values defined in schema. If not, then raising
the 400 bad request. Also added the test cases for the
same.
Reviewed: https:/ /review. openstack. org/610479 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=230ae86a62d 2be1666c080b539 5a12695734451f
Committed: https:/
Submitter: Zuul
Branch: master
commit 230ae86a62d2be1 666c080b5395a12 695734451f
Author: Vishakha Agarwal <email address hidden>
Date: Mon Oct 15 16:47:10 2018 +0530
Set Default and resource limit as defined schema
Default_limit and Resource_limit should not be set
as negative values or out of range. This patch
addresses the above issue be checking the limit
passed by the user should be minimum and maximum to
the values defined in schema. If not, then raising
the 400 bad request. Also added the test cases for the
same.
Change-Id: I089f3c231a38be 1a1f769a35b4904 f5c078d5d07
Closes-Bug: #1797876