Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5343

Enable absolute URI on context definition of EntitySets when using ODATA

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 10.2.1
    • Fix Version/s: 11.1
    • Component/s: OData
    • Labels:
      None

      Description

      Hi all you TEIID guys.

      As reported on OLINGO-1025, integrating to MS OData consumers (ie. PowerBI/PowerQuery) gives the "should be an absolute Uri" error.
      The proposed solution in the JIRA is implementing a Processor for any given EntityType. Browsing through the code i see TEIID uses the ServiceHandler approach, instead of processor and it also has a Custom JSON Odata Serializer.
      I see that the Default JSON serializer, when serializing entity collections uses the ContextURL to generate the context metadata for the EntityCollection, but by default it does not contain the service root, since it comes from static DataRequest.buildEntitySetContextURL(olingo) method.
      Would be nice if we could choose this behavior through a init param in the odata deployment.

      Thanks in advance.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rareddy Ramesh Reddy
                  Reporter:
                  rafagsam Rafael Sampaio
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: