[openstack-dev] [TripleO][Tuskar] JSON output values from Tuskar API

Radomir Dopieralski openstack at sheep.art.pl
Mon Mar 3 08:19:34 UTC 2014


On 27/02/14 11:52, Petr Blaho wrote:

> I agree with you w/r/t to indirection when accessing data but I like the
> idea that when I look at json repsonse I see what type of resource it
> is. That wrapper element describes it. And I do not need to know what
> request (url, service, GET or POST...) triggered that output.

That's data denormalization. What do you then do when the two sources of
information don't agree? Also, do you actually need the json at all
without knowing where it came from (not just from which api call, but
which system and at what time)? I can't imagine such a situation.

Finally, when you need to save a whole lot of json outputs and need to
know where they come from, you traditionally put that information in the
file name, no?

-- 
Radomir Dopieralski




More information about the OpenStack-dev mailing list