*** ayoung has quit IRC | 01:25 | |
hockeynut | containers question for y'all - docs say container name is optional for POST to containers. We have a test that sends None as the container name, and its failing schema validation. If I pass None for the name, I would think it would take the default (which will generate UUID) rather than fail validation. Thoughts? | 01:34 |
---|---|---|
*** ayoung has joined #openstack-barbican | 01:37 | |
hockeynut | reported in https://bugs.launchpad.net/barbican/+bug/1354767 We can discuss. | 02:10 |
*** xianghui has quit IRC | 02:40 | |
*** xianghui has joined #openstack-barbican | 02:41 | |
*** xianghui has quit IRC | 03:00 | |
*** ayoung has quit IRC | 04:18 | |
openstackgerrit | Steve Heyman proposed a change to openstack/barbican: Fixed misspelling in error message https://review.openstack.org/113109 | 04:46 |
rm_you | hockeynut: err, yeah it should just ... not have a name, i'd think | 05:24 |
rm_you | since name should be totally optional, it's just metadatsa | 05:25 |
rm_you | *metadata | 05:25 |
rm_you | or are you saying the default name would be another UUID (in addition to the actual ID UUID)? | 05:25 |
rm_you | not sure what the point of that would be <_< | 05:25 |
rm_you | hockeynut: does that test name refer to a CC test? | 05:26 |
rm_you | hockeynut: hmm, interesting, don't know that I can replicate your issue | 05:49 |
rm_you | http://i.imgur.com/8avoQfH.png | 05:51 |
rm_you | oh, maybe type generic | 05:52 |
rm_you | hmm nope | 05:52 |
rm_you | though you're correct, they get a UUID as a name if a name is not passed in (though I am still not sure why) | 06:01 |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/barbican: Imported Translations from Transifex https://review.openstack.org/112764 | 06:10 |
rm_you | oh I see, it's part of the return, not the storage... return does 'name': name or id | 06:18 |
rm_you | anyway, can't seem to replicate :( | 06:19 |
*** samuelbercovici has joined #openstack-barbican | 08:05 | |
*** samuelbercovici has quit IRC | 08:21 | |
hockeynut | rm_you yes its a CC test | 13:55 |
*** rm_you has quit IRC | 14:02 | |
hockeynut | rm_you the parsed JSON looks like this: {u'type': u'generic', u'name': None, u'secret_refs': []} | 14:12 |
*** rustlebee is now known as russellb | 14:55 | |
*** ayoung has joined #openstack-barbican | 14:59 | |
rm_work | hockeynut: ah, I see, you literally have to pass a "null" object | 18:31 |
rm_work | somehow it handles it if you just omit the name field altogether | 18:31 |
rm_work | but if you submit name: null explicitly, it breaks | 18:31 |
rm_work | who does that <_< | 18:32 |
rm_work | but, valid point | 18:32 |
*** openstack has joined #openstack-barbican | 20:17 | |
*** woodster_ has quit IRC | 20:25 | |
*** woodster_ has joined #openstack-barbican | 22:30 | |
*** jamielennox|away is now known as jamielennox | 23:32 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!