[occi-wg] JSON Rendering
Gary Mazz
garymazzaferro at gmail.com
Wed Feb 22 10:54:10 EST 2012
Hi
What phases of the life cycle are these referring ?
1) To the provider's capabilities definition ?
2) The consumer's request for service ?
3) The instantiation of a consumer's implementation ?
4) The consumer's configuration at the service provider ?
5) All of the above ?
I raise the questions based on the appropriateness of the parent
object's term to use cases. We may want to consider naming the parent
object in the examples so we can assess the approach in terms of use cases.
My personal preference is to have a "Collection" with a name property.
How would this look with hierarchical or peered collections ?
cheers,
gary
On 2/22/2012 8:16 AM, Feldhaus, Florian wrote:
> Hi all,
>
> I'm continuing with the work on the JSON rendering (I attached the
> latest version).
>
> I'm currently reviewing the rendering of entities. I was wondering, if
> we could use "Collection" for rendering single entities as well. On
> the other hand, we might as well drop the Collection completely and
> just use an array of entity renderings. I would prefer using the term
> entities, as the rendering is then similar to the rendering of the
> categories (with "kinds" and "mixing"). What do you think?
>
> e.g. instead of using
> { "collection":
> [
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } },
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } }
> ]
> }
>
> we could use either:
> { "entities":
> [
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } },
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } }
> ]
> }
>
> or just:
> [
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } },
> { "kind: { ... }, "mixing": { ... }, "actions": { ... },
> "attributes": { ... } }
> ]
>
> Cheers,
> Florian
>
>
>
> -------------------------------------------------------------------------------
> GWDG - Gesellschaft für wissenschaftliche
> Datenverarbeitung mbH Göttingen
> Am Fassberg 11, 37077 Göttingen
>
> Fon: 0551 39-20364
> Fax: 0551 201-2150
> E-Mail: florian.feldhaus at gwdg.de
> WWW: www.gwdg.de <http://www.gwdg.de>
> -----------------------------------------------------------------------------------
> Geschäftsführer: Prof. Dr. Ramin Yahyapour
> Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
> Sitz der Gesellschaft: Göttingen
> Registergericht: Göttingen
> Handelsregister-Nr. B 598
> -----------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> occi-wg mailing list
> occi-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/occi-wg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20120222/b831df8b/attachment.html>
More information about the occi-wg
mailing list