The url parameter of endpoint object is not nullable in db, but we
do not have a null check in api. So, when create a endpoint if I
do not specify url parameter I will get a 500 reponse.
This patch will add an attribute require check to url parameter.
Reviewed: https:/ /review. openstack. org/76409 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=aabf0b525ed c2e5063bdba72a3 3ea6db919423b6
Committed: https:/
Submitter: Jenkins
Branch: master
commit aabf0b525edc2e5 063bdba72a33ea6 db919423b6
Author: wanghong <email address hidden>
Date: Wed Feb 26 09:21:14 2014 +0800
v3 endpoint create should require url
The url parameter of endpoint object is not nullable in db, but we
do not have a null check in api. So, when create a endpoint if I
do not specify url parameter I will get a 500 reponse.
This patch will add an attribute require check to url parameter.
Change-Id: I9c8aa3bcb99ea5 cb5e4e4d3306d8d 222c6f074d1
Closes-Bug: #1284422