OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

camp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] (CAMP-188) Optionally serialize Entities alongside Links

     [ https://issues.oasis-open.org/browse/CAMP-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilbert Pilz updated CAMP-188:

    Proposal: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/56187/camp-spec-v1.2-wd05-issue-188-v1.doc

Added v1 of a detailed proposal that gets rid of Links and the "links" attribute in the collection resource and, instead, uses an "items" attribute; "items" is an array of the resources that make up the collection.

> Optionally serialize Entities alongside Links
> ---------------------------------------------
>                 Key: CAMP-188
>                 URL: https://issues.oasis-open.org/browse/CAMP-188
>             Project: OASIS Cloud Application Management for Platforms (CAMP) TC
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Mike Norman
>            Priority: Minor
> IN the List resources, the Links are name/href pairs.  This means that if you have a client widget such as a table which displays attributes (other than just the name) of, for example, assemblies it needs to retrieve the assemblies and then iterate through the LInks array retrieving the underlying entities. This is do-able, but it is very unconventional and makes the API very chatty.  You would normally expect the Links entities to be actual json lists containing the attributes.
> Clearly there has been a design decision to allow the implementation to be decoupled at these URIs, but this si the exception not the rule so we need to consider whether there is a way of making the general case less chatty.

This message was sent by Atlassian JIRA

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]