-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: ATOM Format, JSON Format
-
Labels:None
-
Environment:
[Proposed]
-
Proposal:
-
Resolution:
https://www.oasis-open.org/apps/org/workgroup/odata/download.php/46576/Association%20Simplification.pptx introduced the concept of Named Entities that are children of the entity container.
As these were important enough to get named, they should be advertised in the service document.
Field | Original Value | New Value |
---|---|---|
Proposal |
Atom: define <metadata:entity title="..." href="..." /> extension element for the AtomPub service document. Add one element per named entity. - title attribute has same value as Name attribute of <edm:Entity> element. - href attribute contains link to named entity (New) JSON: - use "entitysets" in JSON service document as name for entity set array (instead of "value") - use "entities" as name for entity array with same structure as EntitySet array (name, url) |
Atom: define <metadata:entity title="..." href="..." /> extension element for the AtomPub service document. Add one element per named entity. - title attribute has same value as Name attribute of <edm:Entity> element. - href attribute contains link to named entity (New) JSON: use a single array named "value" and add a new "kind" property that is either "EntitySet" or "Entity". Example: { "odata.metadata": "http://host/service/$metadata", "value": [ { "name": "Orders", "kind": "EntitySet" "url": "Orders" }, { "name": "OrderDetails", "kind": "EntitySet" "url": "OrderDetails" }, { "name": "Contoso", "kind": "Entity" "url": "Contoso" } ] } Accepted: https://www.oasis-open.org/apps/org/workgroup/odata/download.php/47722/latest/odata-meeting-18_on-20121213-minutes.html |
Status | New [ 10000 ] | Open [ 1 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Reporter | Ralf Handl [ ralfhandl ] | Ralf Handl [ handl ] |
Assignee | Ralf Handl [ handl ] |