You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Burwig (JIRA)" <ji...@apache.org> on 2015/02/26 23:28:04 UTC

[jira] [Created] (OLINGO-587) "name" Fields in Service Document cannot be set explicitly

Michael Burwig created OLINGO-587:
-------------------------------------

             Summary: "name" Fields in Service Document cannot be set explicitly
                 Key: OLINGO-587
                 URL: https://issues.apache.org/jira/browse/OLINGO-587
             Project: Olingo
          Issue Type: New Feature
          Components: odata4-server
    Affects Versions: (Java) V4 4.0.0-beta-03
            Reporter: Michael Burwig
            Priority: Minor


The OData service document is expected to expose a "name" and "url" Key-Value pair for each Entity Collection. Currently, org.apache.olingo.server.core.serializer.json.ServiceDocumentJsonSerializer.writeEntitySets(JsonGenerator, Edm) simply assigns the respective entity set name to both fields. It would be a very useful feature to have something like an  "entity set label" as a member variable of org.apache.olingo.commons.api.edm.EdmEntitySet. This "label" then would provide the value for the "name" field in the service document.

Keep up the good work!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)