[teiid-issues] [JBoss JIRA] (TEIID-4043) If some functionality is not supported then OData should return status code 501 instead of 500

Ramesh Reddy (JIRA) issues at jboss.org
Mon Mar 21 12:58:00 EDT 2016


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

Ramesh Reddy resolved TEIID-4043.
---------------------------------
    Fix Version/s: 9.0
                   8.12.5
       Resolution: Done


Implemented $top, $skip and $count. The $count testcase is still wrong as pending OLINGO-912. It will work correctly once the next update with Olingo library.

If query issued with $level or nested $expand the service will result in 501.

> If some functionality is not supported then OData should return status code 501 instead of 500
> ----------------------------------------------------------------------------------------------
>
>                 Key: TEIID-4043
>                 URL: https://issues.jboss.org/browse/TEIID-4043
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: OData
>            Reporter: Juraj Duráni
>            Assignee: Ramesh Reddy
>             Fix For: 9.0, 8.12.5
>
>
> *URLs:* 
> - http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0($count=true)
> - http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0($levels=1)
> - http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0($top=1)
> - http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0($top=1)
> None of these options is implemented, but OData service for every request returns status code 500.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list