OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

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


Subject: [OASIS Issue Tracker] (ODATA-1036) 10.7/8: Simplify context URL for "all operations in schema"


     [ https://issues.oasis-open.org/browse/ODATA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-1036:
------------------------------

    Description: 
The context URL for a structured instance or collection of structured instances mirrors the $select query option used to request that representation. It already supports the * operator to express "all structural properties". It currently lacks the namespace.* operator to express "all actions and functions from a certain namespace".

Adding this would drastically reduce the size of the context URL, especially if using an alias instead of the fully qualified namespace.

Typical use would be self.* with "self" being the alias for the service's namespace (note: "self" is just an example, not even a convention).


  was:
The context URL for a property value contains the keys of the entity. 
This seems overly specific as the context URL is a pointer to structural metadata, so why should it vary from entity to structurally identical entity?
Note that the context URL for an entity does not contain the key, nor is it required that the key properties are always present in the response.

       Proposal: 
Extend the context URL pattern {select-list} to also support the $select pattern 

    allOperationsInSchema = namespace "." STAR   

e.g. Model2.* to include all operations from namespace/alias Model2

  was:
Allow the context URL pattern

    {context-url}#{type-name}{select-list}

also for property values.

If something more specific is desired, the pattern could be

    {context-url}#{entity-set}/{property-path}{select-list}


> 10.7/8: Simplify context URL for "all operations in schema"
> -----------------------------------------------------------
>
>                 Key: ODATA-1036
>                 URL: https://issues.oasis-open.org/browse/ODATA-1036
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Protocol
>    Affects Versions: V4.01_CSD01, V4.0_ERRATA03
>         Environment: Proposed
>            Reporter: Ralf Handl
>             Fix For: V4.01_CSD02
>
>
> The context URL for a structured instance or collection of structured instances mirrors the $select query option used to request that representation. It already supports the * operator to express "all structural properties". It currently lacks the namespace.* operator to express "all actions and functions from a certain namespace".
> Adding this would drastically reduce the size of the context URL, especially if using an alias instead of the fully qualified namespace.
> Typical use would be self.* with "self" being the alias for the service's namespace (note: "self" is just an example, not even a convention).



--
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]