You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (Jira)" <ji...@apache.org> on 2020/02/26 06:06:00 UTC

[jira] [Closed] (OLINGO-1388) OData V2: Allow Content-id referencing across changesets

     [ https://issues.apache.org/jira/browse/OLINGO-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramya closed OLINGO-1388.
-------------------------

> OData V2: Allow Content-id referencing across changesets
> --------------------------------------------------------
>
>                 Key: OLINGO-1388
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1388
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>            Reporter: Ramya
>            Assignee: Ramya
>            Priority: Major
>
> Currently in V2 we do not allow content-id referencing across changesets.
> Now content-id referenced must be unique for the entire batch request
> Sample batch payload
> --batch_005056A5-09B1-1ED1-BF82-409B26A80300
> Content-Type: multipart/mixed; boundary=changeset_005056A5-09B1-1ED1-BF82-409B26A80301
> --changeset_005056A5-09B1-1ED1-BF82-409B26A80301
> Content-Type: application/http
> Content-Transfer-Encoding: binary
> POST Rooms HTTP/1.1
> Content-Type: application/atom+xml
> Content-ID: 2
> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
> <content type="application/xml">
> <m:properties>
> <d:Id></d:Id>
> <d:Name>Room 1</d:Name>
> <d:Seats>1</d:Seats>
> <d:Version>1</d:Version>
> </m:properties>
> </content>
> </entry>
> -changeset_005056A5-09B1-1ED1-BF82-409B26A80301-
> --batch_005056A5-09B1-1ED1-BF82-409B26A80300
> Content-Type: application/http
> Content-Transfer-Encoding: binary
> GET $2/nr_Building HTTP/1.1
> -batch_005056A5-09B1-1ED1-BF82-409B26A80300-



--
This message was sent by Atlassian Jira
(v8.3.4#803005)