Sunday, 2014-08-10

*** ayoung has quit IRC01:25
hockeynutcontainers 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-barbican01:37
hockeynutreported in https://bugs.launchpad.net/barbican/+bug/1354767  We can discuss.02:10
*** xianghui has quit IRC02:40
*** xianghui has joined #openstack-barbican02:41
*** xianghui has quit IRC03:00
*** ayoung has quit IRC04:18
openstackgerritSteve Heyman proposed a change to openstack/barbican: Fixed misspelling in error message  https://review.openstack.org/11310904:46
rm_youhockeynut: err, yeah it should just ... not have a name, i'd think05:24
rm_yousince name should be totally optional, it's just metadatsa05:25
rm_you*metadata05:25
rm_youor are you saying the default name would be another UUID (in addition to the actual ID UUID)?05:25
rm_younot sure what the point of that would be <_<05:25
rm_youhockeynut: does that test name refer to a CC test?05:26
rm_youhockeynut: hmm, interesting, don't know that I can replicate your issue05:49
rm_youhttp://i.imgur.com/8avoQfH.png05:51
rm_youoh, maybe type generic05:52
rm_youhmm nope05:52
rm_youthough 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
openstackgerritOpenStack Proposal Bot proposed a change to openstack/barbican: Imported Translations from Transifex  https://review.openstack.org/11276406:10
rm_youoh I see, it's part of the return, not the storage... return does 'name': name or id06:18
rm_youanyway, can't seem to replicate :(06:19
*** samuelbercovici has joined #openstack-barbican08:05
*** samuelbercovici has quit IRC08:21
hockeynutrm_you yes its a CC test13:55
*** rm_you has quit IRC14:02
hockeynutrm_you the parsed JSON looks like this: {u'type': u'generic', u'name': None, u'secret_refs': []}14:12
*** rustlebee is now known as russellb14:55
*** ayoung has joined #openstack-barbican14:59
rm_workhockeynut: ah, I see, you literally have to pass a "null" object18:31
rm_worksomehow it handles it if you just omit the name field altogether18:31
rm_workbut if you submit name: null explicitly, it breaks18:31
rm_workwho does that <_<18:32
rm_workbut, valid point18:32
*** openstack has joined #openstack-barbican20:17
*** woodster_ has quit IRC20:25
*** woodster_ has joined #openstack-barbican22:30
*** jamielennox|away is now known as jamielennox23:32

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!