[teiid-issues] [JBoss JIRA] (TEIID-3538) Make OData V2 compatible with LINQPad

Ramesh Reddy (JIRA) issues at jboss.org
Thu Jun 18 16:15:07 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-3538.
---------------------------------
           Labels: Final  (was: )
    Fix Version/s: 8.7.1.6_2
       Resolution: Done


- Converted List(Edm.xxx) to Collection(Edm.xxx)
- Made sure all key columns are are defined as non-nulls
- Moved the OReva version 0.8.7, adding the "@Produces" header to all the relevant API calls, such that request with "Accept" headers like "application/xml" and "application/json" work correctly with RestEasy bug RESTEASY-1175
- Also fixed the invalid EntityType name, in case if the Teiid source's metadata was result of another OData service.
- Tested with LINQPad. V2 works correctly. 
- V4 support is not available in LINQPad or Visual Studio

> Make OData V2 compatible with LINQPad
> -------------------------------------
>
>                 Key: TEIID-3538
>                 URL: https://issues.jboss.org/browse/TEIID-3538
>             Project: Teiid
>          Issue Type: Bug
>          Components: OData
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>              Labels: Final
>             Fix For: 8.7.1.6_2, 8.11
>
>
> Current OData V2 implementation is not able to load in LINQPad https://www.linqpad.net/
> Couple issues found
> - List(Edm.xxx) based collections are not supported. V2 Spec did not specify any List based collections. Only Collection(Edm.xxx) type. So, part of TEIID-3471 need to be rolled back and fix with Collection(Edm.xxx) type
> - Explicit definition of "not null" in Entity's key property.
> - TEIID-3471 did not go far enough to define accepts header to have "application/xml", "application/atom+xml" and "application/json" without "chaset=utf-8" appended to it. TEIID-3471 only added $metadata and service document. BTW, I was under the impression that I did add all the required places, and was surprised not see in commit :(



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list