olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya (Jira)" <j...@apache.org>
Subject [jira] [Created] (OLINGO-1388) OData V2: Allow Content-id referencing across changesets
Date Tue, 27 Aug 2019 02:49:00 GMT
Ramya created OLINGO-1388:
-----------------------------

             Summary: 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


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.2#803003)

Mime
View raw message