← Prev in month ← Prev in thread

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

From
OASIS Issues Tracker <>
Date
2015-04-15T19:25:35+00:00
ID
Thread
[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)
← Prev in month ← Prev in thread