You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Kevin Ratnasekera (JIRA)" <ji...@apache.org> on 2015/04/17 21:10:59 UTC

[jira] [Commented] (OLINGO-567) Support odata.metadata=full on server side serialization

    [ https://issues.apache.org/jira/browse/OLINGO-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500454#comment-14500454 ] 

Kevin Ratnasekera commented on OLINGO-567:
------------------------------------------

Hi Christian,
Apologizes for taking this long to come with a proper patch. I have added enough Junit test cases to the ODataJsonSerializerTest.java cover the most cases. 
One thing to note here is there is one Junit assertion failure in the BatchClientITCase.java in fit integration test module, please note that commented line  in the patch

@Test
public void testBadRequestInChangeSet() {

assertEquals(ODataFormat.JSON.toString(), updateResponse.getContentType());

this assertion successfully completes if ODataFormat.JSON_FULL_METADATA is placed for the equallity. This is something I doubt and dont have a clear idea.
Regards
Kevin

> Support odata.metadata=full on server side serialization
> --------------------------------------------------------
>
>                 Key: OLINGO-567
>                 URL: https://issues.apache.org/jira/browse/OLINGO-567
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0-beta-02
>            Reporter: Christian Amend
>            Assignee: Christian Amend
>             Fix For: (Java) V4 4.0.0-beta-03
>
>         Attachments: odata_metadata=full_support_for_V4_4_0_0-beta-02-Version2.patch, odata_metadata=full_support_for_V4_4_0_0-beta-02-Version2_examples.txt, odata_metadata=full_support_for_V4_4_0_0-beta-02-Version3.patch, odata_metadata=full_support_for_V4_4_0_0-beta-02.patch
>
>
> Support odata.metadata=full on server side serialization. Currently we throw a not supported exception during serializer creation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)