Merge branch 'olingo436BatchRefactoring'
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/d82220ea Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/d82220ea Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/d82220ea Branch: refs/heads/master Commit: d82220ea09a57f7ef555daa216f5950bfedf6fb4 Parents: 14c6dd5 8dfd515 Author: Christian Amend <[email protected]> Authored: Thu Oct 9 16:52:21 2014 +0200 Committer: Christian Amend <[email protected]> Committed: Thu Oct 9 16:52:21 2014 +0200 ---------------------------------------------------------------------- .../olingo/odata2/api/batch/BatchException.java | 8 +- .../odata2/api/batch/BatchParserResult.java | 5 + .../odata2/api/batch/BatchRequestPart.java | 2 +- .../odata2/api/batch/BatchResponsePart.java | 2 +- .../api/client/batch/BatchSingleResponse.java | 4 +- .../olingo/odata2/core/batch/AcceptParser.java | 143 +- .../odata2/core/batch/BatchRequestParser.java | 614 ----- .../odata2/core/batch/BatchResponseParser.java | 356 --- .../odata2/core/batch/v2/BatchBodyPart.java | 139 + .../core/batch/v2/BatchChangeSetPart.java | 56 + .../odata2/core/batch/v2/BatchParser.java | 132 + .../odata2/core/batch/v2/BatchParserCommon.java | 328 +++ .../olingo/odata2/core/batch/v2/BatchPart.java | 25 + .../core/batch/v2/BatchQueryOperation.java | 82 + .../batch/v2/BatchRequestTransformator.java | 210 ++ .../batch/v2/BatchResponseTransformator.java | 126 + .../core/batch/v2/BatchTransformator.java | 30 + .../core/batch/v2/BatchTransformatorCommon.java | 72 + .../v2/BufferedReaderIncludingLineEndings.java | 275 ++ .../olingo/odata2/core/batch/v2/Header.java | 230 ++ .../odata2/core/ep/ProviderFacadeImpl.java | 7 +- .../src/main/resources/i18n.properties | 36 +- .../odata2/core/batch/AcceptParserTest.java | 77 +- .../core/batch/BatchParserCommonTest.java | 212 ++ .../core/batch/BatchRequestParserTest.java | 530 +++- .../odata2/core/batch/BatchRequestTest.java | 45 +- .../core/batch/BatchResponseParserTest.java | 34 +- .../odata2/core/batch/BatchResponseTest.java | 13 +- .../core/batch/BatchResponseWriterTest.java | 2 +- .../batch/BatchTransformatorCommonTest.java | 105 + .../BufferedReaderIncludingLineEndingsTest.java | 453 ++++ .../olingo/odata2/core/batch/HeaderTest.java | 161 ++ .../src/test/resources/batchLarge.batch | 2419 ++++++++++++++++++ .../src/test/resources/batchWithPost.batch | 1 + .../odata2/fit/client/ClientBatchTest.java | 2 + .../fit/client/ClientDeltaResponseTest.java | 2 + .../src/test/resources/batchWithContentId.batch | 2 + .../resources/batchWithContentIdPart2.batch | 6 +- .../src/test/resources/changeset.batch | 2 + 39 files changed, 5786 insertions(+), 1162 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/d82220ea/odata2-lib/odata-core/src/main/resources/i18n.properties ----------------------------------------------------------------------
