Commit Graph

868 Commits

Author SHA1 Message Date
Michael Bolz b484f7f648 [OLINGO-729] More tests and clean up 2015-07-10 09:39:25 +02:00
Michael Bolz 594ad4ab45 [OLINGO-729] Merge branch 'master' into OLINGO-729_BatchDeSerializer 2015-07-10 09:24:45 +02:00
Michael Bolz 3c591da1a0 [OLINGO-729] Minor code clean up 2015-07-09 15:48:16 +02:00
Christian Amend 4baaf0d0b9 [OLINGO-731] Debug interfaces part 1 2015-07-09 15:29:43 +02:00
Michael Bolz bf3905a550 [OLINGO-708] Added location href to list page 2015-07-09 14:05:34 +02:00
mibo 8f6ceeae16 [OLINGO-708] Minor code clean up in TecAsyncSvc 2015-07-08 20:57:03 +02:00
mibo 575f369ac7 [OLINGO-729] Added separate encoding for header and body 2015-07-08 15:47:40 +02:00
mibo 31e3a8bd0a [OLINGO-708] Enable async EntityCollection for TecSvc, fix ClientAsyncWrite and more tests 2015-07-08 11:28:22 +02:00
mibo 1476b034b5 [OLINGO-708] Merge branch 'master' into OLINGO-708_AsyncSupportTec 2015-07-08 10:14:15 +02:00
Michael Bolz 925a86d963 [OLINGO-729] Better support of RFC1341 Multipart for 2015-07-07 22:43:18 +02:00
Christian Holzer f1a40746de [OLINGO-659] Added data to TecSvc, Bugfix URI Parser, Bugfix JsonDeserializer 2015-07-07 17:15:54 +02:00
Christian Amend d18cbcceeb [OLINGO-659] Delete pretty printer from service document json 2015-07-07 15:42:39 +02:00
Christian Holzer eae41fc7c8 [OLINGO-631] Updated AntLR to version 4.5 and resolved Java8 compilation
errors
2015-07-06 17:45:51 +02:00
Christian Holzer de64c3189b [OLINGO-714] Java types in the DataProvider (TecSvc) changed 2015-06-30 16:07:12 +02:00
Christian Holzer aeb258b5ab [OLINGO-718] ETag removed from json reference payload 2015-06-30 08:55:20 +02:00
Michael Bolz 2080f23bfa [OLINGO-708] Support for async create 2015-06-30 08:31:05 +02:00
Christian Holzer b3dcaa25b3 [OLINGO-704] Small fix TecSvc 2015-06-29 23:54:45 +02:00
Christian Amend b51117477b [OLINGO-712] Merge branch 'master' into olingo712
Conflicts:
	fit/src/test/java/org/apache/olingo/fit/tecsvc/client/ActionImportITCase.java
	fit/src/test/java/org/apache/olingo/fit/tecsvc/client/BasicITCase.java
	fit/src/test/java/org/apache/olingo/fit/tecsvc/client/SystemQueryOptionITCase.java
	fit/src/test/java/org/apache/olingo/fit/v4/AuthBatchTestITCase.java
	fit/src/test/java/org/apache/olingo/fit/v4/BatchTestITCase.java
	fit/src/test/java/org/apache/olingo/fit/v4/ConformanceTestITCase.java
	fit/src/test/java/org/apache/olingo/fit/v4/MediaEntityTestITCase.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/ODataClientImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/AbstractODataRequest.java
2015-06-29 13:48:14 +02:00
mibo 03bf387b24 [OLINGO-708] Added AsyncResponseSerializer 2015-06-27 11:45:48 +02:00
Klaus Straubinger abf5bf79aa [OLINGO-659] support for OData-EntityID header, more clean-up
Change-Id: I168a6efac6fc9ad85865f71dd534fd850d8e777e

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-26 16:38:46 +02:00
Michael Bolz 06d508d395 [OLINGO-708] Improvements 2015-06-26 09:31:33 +02:00
Michael Bolz 3a736368e3 [OLINGO-708] Second proposal 2015-06-26 09:17:22 +02:00
Klaus Straubinger 2a841552f4 [OLINGO-659] more clean-up, small fixes, and additional tests
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-25 16:26:38 +02:00
Klaus Straubinger 94b3917f4e [OLINGO-690] the server actually supports JSON without metadata
Change-Id: Ib9289c9e81c05ed404e71bdc1bc7eb7bbdde7a7c

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-25 11:07:39 +02:00
Christian Holzer e32034bd54 [OLINGO-704] Fix: OData Server supports only odata.metadata=minimal 2015-06-24 17:31:52 +02:00
Christian Holzer 9998ba6748 Merge branch 'IEE754Compatible' 2015-06-24 16:36:21 +02:00
Klaus Straubinger 21b36a898a [OLINGO-659] clean-up in batch handling
Change-Id: I016ada42ce0e9fb8e0cc021422f7f03fd5b06a9d

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-24 16:33:42 +02:00
Christian Amend ef1fd77875 Merge branch 'master' into ieee
Conflicts:
	fit/src/main/java/org/apache/olingo/fit/utils/AbstractUtilities.java
	fit/src/main/java/org/apache/olingo/fit/utils/FSManager.java
	fit/src/test/java/org/apache/olingo/fit/AbstractBaseTestITCase.java
	fit/src/test/java/org/apache/olingo/fit/tecsvc/client/ActionImportITCase.java
	lib/client-api/src/main/java/org/apache/olingo/client/api/ODataClient.java
	lib/client-api/src/main/java/org/apache/olingo/client/api/domain/ClientEntitySetIterator.java
	lib/client-api/src/main/java/org/apache/olingo/client/api/serialization/ODataReader.java
	lib/client-api/src/main/java/org/apache/olingo/client/api/serialization/ODataWriter.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/ODataClientImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/header/ODataErrorResponseChecker.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/cud/ODataEntityCreateRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/cud/ODataEntityUpdateRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/cud/ODataPropertyUpdateRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/invoke/AbstractODataInvokeRequest.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/ODataDeltaRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/ODataEntityRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/ODataEntitySetRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/ODataPropertyRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/ODataServiceDocumentRequestImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/ClientODataDeserializerImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/JsonSerializer.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/ODataBinderImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/ODataReaderImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/serialization/ODataWriterImpl.java
	lib/client-core/src/test/java/org/apache/olingo/client/core/v4/EntitySetTest.java
	lib/client-core/src/test/java/org/apache/olingo/client/core/v4/ErrorTest.java
	lib/client-core/src/test/java/org/apache/olingo/client/core/v4/PropertyTest.java
	lib/client-core/src/test/java/org/apache/olingo/client/core/v4/ServiceDocumentTest.java
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalActionProcessor.java
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalEntityProcessor.java
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalPrimitiveComplexProcessor.java
2015-06-23 16:33:00 +02:00
Klaus Straubinger d54b071198 [OLINGO-712] HeaderName is redundant (there is HttpHeader)
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-23 13:16:11 +02:00
Klaus Straubinger a3fbf39f53 [OLINGO-698] fix for navigation from function in technical service
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-23 10:13:47 +02:00
Klaus Straubinger bfb5c93836 [OLINGO-663] conditional header required for property updates
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-23 10:12:53 +02:00
Christian Holzer 91d04271ba [OLINGO-704] Refactoring ContentType 2015-06-19 16:27:48 +02:00
Klaus Straubinger fd513e22f1 [OLINGO-659] fix for URI parser to disallow anything after actions
Change-Id: I578ee4562d13b220cec7fb05f1b6c9d69c0b25e4

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-19 13:05:28 +02:00
Klaus Straubinger 971deb5539 [OLINGO-698] clean-up preferences support
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-19 10:52:17 +02:00
Klaus Straubinger 23815dc61c [OLINGO-659] clean-up dispatcher tests
Change-Id: I271f84b065a476a0dcf9c13480280e41bf9dfce5

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-19 10:51:14 +02:00
Christian Holzer 628e2e7182 [OLINGO-704] ODataClient IEEE754Compatible seralization support 2015-06-17 17:48:18 +02:00
Christian Holzer 588df780bf [OLINGO-704] Class ODataFormat removed 2015-06-17 17:48:16 +02:00
Christian Holzer be55285ce3 [OLINGO-704] IEEE754Compatible support added to ODataJsonDeserializer.
Tests for read scenario added
2015-06-17 17:48:14 +02:00
Christian Holzer 0043bd9c2e [OLINGO-690] ODataSerializer and ODataDeserializer are created by contentType instead of ODataFormat 2015-06-17 17:48:13 +02:00
Christian Holzer 974abcb40f [OLINGO-754] IEEE754Compatible support for ODataJsonSerializer 2015-06-17 17:46:56 +02:00
Klaus Straubinger afda326d75 [OLINGO-698] technical service supports preferences, part 2
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-17 10:05:18 +02:00
Michael Bolz 0938f1179d [OLINGO-659] Minor code clean up, javadoc and typo fixes 2015-06-16 21:20:02 +02:00
Klaus Straubinger e5fe04aeeb [OLINGO-698] technical service supports preferences, part 1
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-16 16:50:15 +02:00
Christian Amend a298e1fb7c [OLINGO-659] FIx felix maven build warnings 2015-06-16 14:03:59 +02:00
Christian Amend 20351253e2 [OLINGO-699] Moved serializer code to client module 2015-06-15 10:48:03 +02:00
Christian Amend a6d20f627b [OLINGO-693] Removed Serializable interface from csdNamed 2015-06-15 10:23:10 +02:00
x.x@sap.com 3b506eaade PATCH
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-15 10:05:36 +02:00
Klaus Straubinger 5501e8e331 [OLINGO-663] ETag annotation again in entity collections of technical service
Change-Id: Ia150ba1705fa22e36c3821d5295f1b7f464a4852

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-10 15:12:11 +02:00
Klaus Straubinger 39f0708d0c [OLINGO-692] improved server processor interface inheritance
Change-Id: Ic4c0774be8c6c4bbbbeaef6baab17fdd6677cd6c

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-10 10:34:07 +02:00
Klaus Straubinger 44ec57874d [OLINGO-663] technical service uses UUIDs as ETags
Change-Id: Ie34c22a817919afe2563a2f5d221e7d4495afda9

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-09 13:55:48 +02:00
Ramesh Reddy 36e09cf190 Merge branch 'OLINGO-687' 2015-06-08 14:18:50 -05:00
Ramesh Reddy 75ed636722 OLINGO-687: Adding correct passing of context during the parsing 2015-06-08 14:17:24 -05:00
Christian Amend 60f896a933 [OLINGO-652] FIx error message issue 2015-06-08 15:34:25 +02:00
Christian Amend c35076fbe9 [OLINGO-663] Default metadata etag generation fix
ETag value based on nano seconds will always be 14 characters long from
now on.
2015-06-08 14:14:42 +02:00
Klaus Straubinger a604fa78f2 [OLINGO-663] metadata ETag
Change-Id: I93bcf78b9be2a34e46c4f2f4d8ec739faf197951

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-08 10:01:27 +02:00
Christian Holzer 4cd8752e15 [OLINGO-685] Fix: ODataDeserializer respects missing annotations 2015-06-03 17:19:39 +02:00
Christian Amend 7ce457d82b [OLINGO-663] Fix batch processor exception signature 2015-06-03 15:17:51 +02:00
Christian Amend 1dae999126 [OLINGO-663] Custom etag handling in default processor 2015-06-03 13:06:49 +02:00
Klaus Straubinger 1f286fd424 [OLINGO-663] helper for conditional handling
Change-Id: I48599dc609bfb53bc2903083abe235458109e20a

Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-06-03 11:00:16 +02:00
Christian Amend b8187f5307 [OLINGO-663] Add OdataLibrary Exception to processor interfaces 2015-06-03 09:45:37 +02:00
Ramesh Reddy ad10381a59 OLINGO-682: adding support for 2015-06-02 17:53:19 -05:00
Christian Amend 181e463563 [OLINGO-663] Fix repository part 2 2015-06-02 16:21:47 +02:00
Christian Amend 456765b700 [OLINGO-663] Repair repository part 1 2015-06-02 16:11:47 +02:00
Klaus Straubinger c65ef5e9e7 [OLINGO-663] clean-up
Change-Id: Id1359ca3243e42d83ce0bd3057da3477850730e6

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-06-02 15:40:10 +02:00
Michael Bolz a4913636dc [OLINGO-663] Minor code clean up 2015-06-02 08:50:06 +02:00
Christian Amend 53881c2acf [OLINGO-663] Generic Precondition Required Handling 2015-06-01 13:58:10 +02:00
Michael Bolz fd71b7ebdd [OLINGO-632] Merge branch 'OLINGO-632_OSGi-Support' 2015-05-29 18:39:25 +02:00
Michael Bolz 0ff0fc1b16 [OLINGO-632] Export 'org.apache.olingo.commons.core.serialization' package 2015-05-29 14:55:28 +02:00
Christian Holzer 725f7a9b24 [OLINGO-446] TecSvc supports create, update, delete of references 2015-05-29 14:36:35 +02:00
Christian Holzer 93031e4889 [OLINGO-669] Fix: Dispatching of reference delete requests to collection-valued navigation properties 2015-05-29 12:41:57 +02:00
Michael Bolz 934d81db63 [OLINGO-632] Merge branch 'master' into OLINGO-632_OSGi-Support 2015-05-29 11:57:06 +02:00
Christian Holzer f182fd20c1 [OLINGO-668] EdmEnabledODataClient handles null values on single-valued navigation properties correctly 2015-05-29 11:24:24 +02:00
Klaus Straubinger 91c2f6a451 [OLINGO-675] inheritance of action processors removed
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-29 11:03:37 +02:00
Michael Bolz 8fc77829b0 [OLINGO-632] Merge branch 'master' into OLINGO-632_OSGi-Support 2015-05-29 10:56:26 +02:00
Michael Bolz 41edf2daf3 [OLINGO-632] Restricted '*-core' exports 2015-05-29 10:11:29 +02:00
Klaus Straubinger 7ad5b0fb54 [OLINGO-663] conditional handling in technical service, part 2
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-28 15:12:31 +02:00
Christian Amend ea89f7213e [OLINGO-663] Add new exceptiontext and right status code 2015-05-28 11:02:18 +02:00
Christian Amend 29b169def4 [OLINGO-663] Add CustomETagSupport 2015-05-28 10:39:47 +02:00
Michael Bolz cd8d77c7bb [OLINGO-632] Merge branch 'master' into OLINGO-632_OSGi-Support 2015-05-26 14:31:26 +02:00
Klaus Straubinger db47760e35 [OLINGO-663] conditional GET in technical service, part 1
Change-Id: I89b0e765e1d3618c318522d1c2a22988f9d017fd

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-22 15:55:49 +02:00
Aki Yoshida c536ce35f7 [OLINGO-632] adjusted to 4.0.0-SNAPSHOT
Signed-off-by: mibo <mibo@apache.org>
2015-05-21 23:01:19 +02:00
Christian Holzer 6ff644d6cc [OLINGO-665] All primitive types are null 2015-05-21 14:37:52 +02:00
Christian Holzer 24898bda9b [OLINGO-665] Data added to the TecSvc 2015-05-19 18:38:52 +02:00
Christian Holzer b5a194731b [OLINGO-664] ODataJsonSerializer writes also null values of type Edm.Boolean 2015-05-19 16:23:07 +02:00
Christian Holzer a2a07242ec [OLINGO-446] support for $ref serialization 2015-05-19 14:33:19 +02:00
Klaus Straubinger bec8cb3b2a [OLINGO-663] Set ETags in technical service
Change-Id: I92eccdbff85fb1afcd91e609cb232f723f81580e

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-19 10:39:00 +02:00
Christian Amend 1a9cff2f63 [OLINGO-652] Rename to Server Error 2015-05-19 10:19:35 +02:00
Christian Amend 0457e24fa7 [OLINGO-653] Fix SystemQueryOptions on Post Issue 2015-05-13 15:08:31 +02:00
Aki Yoshida 8aa2d4d7d1 [OLINGO-632] make Olingo jars to OSGi bundles
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-05-13 08:48:41 +02:00
Christian Amend 9729428c22 [OLINGO-655] Fix ActionDataProvider and Tests 2015-05-12 17:17:20 +02:00
Klaus Straubinger 7062aff867 [OLINGO-659] Fix for filter parsing of $count resources
Change-Id: I3359c25f233b6c18360a280b45355cf8ddd9a851

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-12 15:37:47 +02:00
Klaus Straubinger 04baf388ec [OLINGO-658] Modification operations should return the changed data
Change-Id: I62b6db1c062618cd3c27b093d40b9456cd415f77

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-05-12 13:57:51 +02:00
Christian Amend 5098862d6f [OLINGO-649] Set correct 4.0.0-SNAPSHOT version 2015-05-11 13:33:09 +02:00
Christian Amend ee48475cbf [OLINGO-649] Set next release version 2015-05-11 10:48:19 +02:00
Christian Amend 93fe2fd39d [OLINGO-649] Set beta-03 release version 2015-05-11 10:34:18 +02:00
Christian Amend ffb80fad3c [OLINGO-649] Set next 4.0.0-SNAPSHOT version 2015-05-07 16:30:41 +02:00
Christian Amend e7ce8627e1 [OLINGO-649] Set beta-03-RC01 release candidate version 2015-05-07 16:09:05 +02:00
Christian Amend 23691a5a43 [OLINGO-603] Action import with no return type test 2015-05-06 16:23:48 +02:00
Michael Bolz 63cacd7ce2 [OLINGO-648] Merge branch 'OLINGO-648_ODataClientFactoryInAPI' 2015-05-05 14:44:00 +02:00
Christian Amend d150744967 [OLINGO-649] Cleanup code as release preperation 2015-05-05 14:25:29 +02:00