[
https://issues.apache.org/jira/browse/OLINGO-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537265#comment-14537265
]
Kevin Ratnasekera commented on OLINGO-567:
------------------------------------------
Hi Christian,
I have attached the patch with needed changes regarding the comments from you.
No new API methods introduced with this patch.
I think this patch will also resolve the issue OLINGO-641.
Regarding the media entities according to the JSON format specification,
odata.metadata=minimal format should contain following annotations
1. odata.mediaEtag
2. odata.mediaContentType
odata.metadata=full format should contain following annotations
1. odata.mediaReadLink
2. odata.mediaEditLink
3. odata.mediaEtag
4. odata.mediaContentType
I have further added some unit test cases for ODataJsonSerializerTest regarding
the media entities with these annotations present in either case.
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-Version4.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)