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-1384) Clarify usage of annotation qualifiers as references to hierarchies


Gerald Krause created ODATA-1384:
------------------------------------

             Summary: Clarify usage of annotation qualifiers as references to hierarchies
                 Key: ODATA-1384
                 URL: https://issues.oasis-open.org/browse/ODATA-1384
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: Data Aggregation
    Affects Versions: V4.0_CS02
         Environment: [Proposed]
            Reporter: Gerald Krause
             Fix For: V4.0_CSD04


SectionÂ[6.3.2 Recursive Hierarchy|http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/cs02/odata-data-aggregation-ext-v4.0-cs02.html#_Toc435016605] specifies that "The value of the Qualifier attribute can be used to reference the hierarchy in Hierarchy Filter Functions."

Hierarchy filter functions make use of this concept, they accept a qualifier as first parameter.

All examples in the document apply this approach with top-level entities, i.e. part of the collection addressed by the resource path. E.g.:
{{GET ~/SalesOrganizations?}}
{{ $filter=}}
{{$it/Aggregation.isdescendant(Hierarchy='SalesOrgHierarchy',Node='EMEA')}}

Using this approach also for hierarchies on entity collections related to the top-level entities would require binding such functions to related entities, which is not possible.

Therefore it needs to be clarified if/that these functions with the references to hierarchies always operate on top-level.

This issue is also relevant for ODATA-1218, which introduces transformations for hierarchy processing that also expect such a qualifier as call argument.

Â



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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