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


Mike Norman created CAMP-188:
--------------------------------

             Summary: 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
            Reporter: Mike Norman


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
(v6.2.2#6258)


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