sahara api validation for data-sources creation w/ credentials is vague
Bug #1272137 reported by
Matthew Farrellee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Low
|
Andrew Lazarev |
Bug Description
creating a data-source w/ a swift type requires both a username and password. the validations for the call correctly identify if one of a username, password or both are missing, but raises a nonspecific error.
def _check_
if not ("user" in data["credentials"]
and "password" in data["credentia
raise ex.InvalidCrede
it would be better to raise an error that specifies precisely what is missing
Changed in savanna: | |
milestone: | none → next |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in sahara: | |
assignee: | nobody → Andrew Lazarev (alazarev) |
status: | Confirmed → In Progress |
Changed in sahara: | |
milestone: | next → juno-1 |
Changed in sahara: | |
importance: | Medium → Low |
summary: |
- savanna api validation for data-sources creation w/ credentials is vague + sahara api validation for data-sources creation w/ credentials is vague |
Changed in sahara: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/88092 /git.openstack. org/cgit/ openstack/ sahara/ commit/ ?id=c17d7950b7c 51996eec6bd55e3 6fd3816bdf7fe1
Committed: https:/
Submitter: Jenkins
Branch: master
commit c17d7950b7c5199 6eec6bd55e36fd3 816bdf7fe1
Author: Andrew Lazarev <email address hidden>
Date: Wed Apr 16 14:49:30 2014 -0700
Improved validation for data-sources creation
Change-Id: Ia9734e209ca6fd 68ccb0261bc2421 da9f88b315a
Closes-Bug: #1272137