[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (CMIS-747) Metadata inclusion in reponses for properties is verbose and there is no option to control it. Objects do not include any type metadata which is not consistent.
[ http://tools.oasis-open.org/issues/browse/CMIS-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30860#action_30860 ] Florian Müller commented on CMIS-747: ------------------------------------- That is true. It would be mandatory. It's not difficult to implement on server side and clients could rely on the support, which makes the client implementation easier. > Metadata inclusion in reponses for properties is verbose and there is no option to control it. Objects do not include any type metadata which is not consistent. > ---------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CMIS-747 > URL: http://tools.oasis-open.org/issues/browse/CMIS-747 > Project: OASIS Content Management Interoperability Services (CMIS) TC > Issue Type: Improvement > Components: Domain Model > Affects Versions: Committee Draft 05 > Reporter: Andy Hind > > The AtomPub binding and browser bindings include metadata when representing properties. > Some of the metadata is optional in the schemata but there is no way for the client to control what is included in the response (Domain model and bindings) > => Add options for the client to control what property metadata is required. > Some of the metadata that is mandatory is repeated many times if there are many objects in the response. > The two combined, increase the reposonse size significantly above the minimum that would be required for a client capable of caching the metadata. > The response size is still important for the mobile use case. > Compression, filtering and paging help, but so too will reducing the verbosity of the response. > Are optional but unset properties included in object representations? > (e.g. for driving forms) > If so can these be omitted? > => Allow metadata to be excluded for properties. > => Represent propertyId and value in an alternative compact form. > => Exclude optional but unset properties > While metadata is include for properties it is not included for objects. > You can get the display name etc for the properties but not the object. > This implies that type metadata is cached, never required, or implied by the available actions. > => Support optional metadata for objects? > browser binding property metadata example: > "cmis:contentStreamLength":{ > "id":"cmis:contentStreamLength", > "localName":"cmis:contentStreamLength", > "queryName":"cmis:contentStreamLength", > "value":33987, > "type":"integer", > "displayName":"Content Length", > "cardinality":"single" > } > Could be: > > "cmis:contentStreamLength":33987 > + dictionary cache -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]