Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1382

Add EntitySet to the list of possible target for terms ApplySupported, CustomAggregate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: V4.0_CSD04
    • Component/s: Data Aggregation
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      1.

      Replace EntityType with EntitySet to the list of model elements applicable for these two terms.

      Remove EntityType from related terms CustomAggregate, ApplySupported, Aggregatable, Groupable.

      2.

      Extend complex type NavigationPropertyRestriction in the Capabilities vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the Aggregation vocabulary.

      Show
      1. Replace EntityType with EntitySet to the list of model elements applicable for these two terms. Remove EntityType from related terms CustomAggregate, ApplySupported, Aggregatable, Groupable. 2. Extend complex type NavigationPropertyRestriction in the Capabilities vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the Aggregation vocabulary.
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-vocabularies/pull/88 https://github.com/oasis-tcs/odata-vocabularies/pull/92

      Description

      The current definitions of terms ApplySupported and CustomAggregate do not include EntitySet, but only EntityType (amongst others). This prevents services to provide different apply capabilities and different custom aggregates for two entity sets of the same type.

        Attachments

          Activity

          gerald.krause1 Gerald Krause created issue -
          handl Ralf Handl made changes -
          Field Original Value New Value
          Status New [ 10000 ] Open [ 1 ]
          gerald.krause1 Gerald Krause made changes -
          Proposal Add {{EntitySet}} to the list of model elements applicable for these two terms. 1.

          Add {{EntitySet}} to the list of model elements applicable for these two terms.

          2.

          Extend complex type {{NavigationPropertyRestriction}} in the {{Capabilities}} vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the {{Aggregation}} vocabulary.
          Resolution https://github.com/oasis-tcs/odata-vocabularies/pull/88
          gerald.krause1 Gerald Krause made changes -
          Proposal 1.

          Add {{EntitySet}} to the list of model elements applicable for these two terms.

          2.

          Extend complex type {{NavigationPropertyRestriction}} in the {{Capabilities}} vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the {{Aggregation}} vocabulary.
          1.

          Add {{EntitySet}} to the list of model elements applicable for these two terms.

          Remove EntityType from related terms CustomAggregate, ApplySupported, Aggregatable, Groupable.

          2.

          Extend complex type {{NavigationPropertyRestriction}} in the {{Capabilities}} vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the {{Aggregation}} vocabulary.
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          Resolved as proposed 2020-9-24

          Show
          mikep Michael Pizzo (Inactive) added a comment - Resolved as proposed 2020-9-24
          mikep Michael Pizzo (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          gerald.krause1 Gerald Krause made changes -
          Environment [Proposed] Applied
          gerald.krause1 Gerald Krause made changes -
          Status Resolved [ 5 ] Open [ 1 ]
          gerald.krause1 Gerald Krause made changes -
          Proposal 1.

          Add {{EntitySet}} to the list of model elements applicable for these two terms.

          Remove EntityType from related terms CustomAggregate, ApplySupported, Aggregatable, Groupable.

          2.

          Extend complex type {{NavigationPropertyRestriction}} in the {{Capabilities}} vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the {{Aggregation}} vocabulary.
          1.

          Replace {{EntityType}} with {{EntitySet}} to the list of model elements applicable for these two terms.

          Remove EntityType from related terms CustomAggregate, ApplySupported, Aggregatable, Groupable.

          2.

          Extend complex type {{NavigationPropertyRestriction}} in the {{Capabilities}} vocabulary to describe the different aggregation support and restrictions between different navigation path, including collections that can only be reached from containment navigation properties. Add this type definition to the {{Aggregation}} vocabulary.
          Resolution https://github.com/oasis-tcs/odata-vocabularies/pull/88 https://github.com/oasis-tcs/odata-vocabularies/pull/88
          https://github.com/oasis-tcs/odata-vocabularies/pull/92
          Hide
          gerald.krause1 Gerald Krause added a comment -

          Resolved as proposed 2020-10-08

          Show
          gerald.krause1 Gerald Krause added a comment - Resolved as proposed 2020-10-08
          gerald.krause1 Gerald Krause made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          heiko.theissen Heiko Theissen added a comment -

          The implicit entity set defined by a containment navigation property should also be a possible target, see ODATA-1403.

          Show
          heiko.theissen Heiko Theissen added a comment - The implicit entity set defined by a containment navigation property should also be a possible target, see ODATA-1403 .
          Hide
          gerald.krause1 Gerald Krause added a comment -

          Collections reached via containment navigation property can be addressed using term Capabilities.NavigationRestrictions with complex type Aggregation.NavigationPropertyAggregationCapabilities that was introduced in this issue. PR 92 gives an example.

          Show
          gerald.krause1 Gerald Krause added a comment - Collections reached via containment navigation property can be addressed using term Capabilities.NavigationRestrictions with complex type Aggregation.NavigationPropertyAggregationCapabilities that was introduced in this issue. PR 92 gives an example.
          gerald.krause1 Gerald Krause made changes -
          Environment Applied Partially applied (vocabulary)
          gerald.krause1 Gerald Krause made changes -
          Environment Partially applied (vocabulary) Applied
          handl Ralf Handl made changes -
          Status Resolved [ 5 ] Applied [ 10002 ]
          heiko.theissen Heiko Theissen made changes -
          Status Applied [ 10002 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              gerald.krause1 Gerald Krause
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: