Commit Graph

293 Commits

Author SHA1 Message Date
Klaus Straubinger 11ebbb58d8 [OLINGO-659] API clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 12:44:08 +02:00
Klaus Straubinger 7715006eaf stricter check of segment order in URI parser
Change-Id: I2fd11f0e2047c45ecec36ab555971d0549adaa9a

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 09:14:16 +02:00
Klaus Straubinger 30d67c71f5 Content-Type is mandatory in POST/PUT/PATCH requests
Change-Id: Icbd3455241b0618339d2418214441e4ab59602c8

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 09:14:06 +02:00
Klaus Straubinger e981aaad79 [OLINGO-659] Better data handling in technical service + clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-09 15:35:33 +02:00
Christia Holzer 72b0813888 [OLINGO-659] UriParser: The uri parser detects multiple entity sets in the
resource path. Navigation properties with the very same name as entity
sets will now be found
2015-09-08 16:44:52 +02:00
Klaus Straubinger 0b1de9fc4f [OLINGO-659] URI validator has to check keys in navigation segments
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-07 08:12:53 +02:00
Christian Holzer ccf361b8fe [OLINGO-659] Duplicated system query options in $expand lead to a http status 400 bad request 2015-09-01 16:50:31 +02:00
Christian Amend 08ffd20199 [OLINGO-659] Fix URIResource toString() ,methods 2015-08-21 16:03:40 +02:00
Michael Bolz dbf649e0b1 [OLINGO-659] Minor API/JavaDoc enhancements 2015-08-21 13:25:53 +02:00
Christian Amend 7df31c58c3 [OLINGO-659] Small dependency enhancement 2015-08-18 14:19:25 +02:00
Michael Bolz e9e2fb7b17 [OLINGO-640] Fixed xml checks for tests 2015-08-18 07:10:43 +02:00
Christian Holzer 262cee8b7e [OLINGO-730] Inline $search results in an 501 NOT IMPLEMENTED response code 2015-08-17 12:57:22 +02:00
Christian Holzer cd11add7c1 [OLINGO-659] Literals returned by the URI Parser provide an EdmType 2015-08-14 16:33:14 +02:00
Christian Holzer 4a81409246 [OLINGO-730] UriParser fix 2015-08-14 12:22:05 +02:00
Christian Holzer 9235cb2b05 [OLINGO-730] UriParser fix 2015-08-14 12:21:32 +02:00
Michael Bolz df5a4ff0de [OLINGO-659] API review for ODataRequest/Response 2015-08-14 09:58:39 +02:00
Michael Bolz 99ff44e554 [OLINGO-659] Fixed test for two level expand 2015-08-14 07:46:21 +02:00
Christian Amend 36ae03957c [Olingo-731] add json uri tab support 2015-08-13 16:12:31 +02:00
Michael Bolz b82294e1e8 [OLINGO-659] Skip unpack for none cobertura build 2015-08-13 15:31:23 +02:00
mibo 2ca8e0d9d1 [OLINGO-755] Fixed in UriParseTreeVisitor and added test case 2015-08-12 15:23:35 +02:00
Michael Bolz 6d64cbd556 [OLINGO-659] Several fixes for issues from static code check 2015-08-07 17:48:02 +02:00
Michael Bolz 24668aa2db [OLINGO-659] Several fixes for issues from static code check 2015-08-07 10:48:51 +02:00
Christian Amend db0b9d39de [OLINGO-640] Minor adjustments to tests and deleted logger 2015-08-04 16:23:42 +02:00
Christian Amend 366597070f Merge branch 'master' into olingo640
Conflicts:
	fit/src/test/java/org/apache/olingo/fit/tecsvc/client/NavigationITCase.java
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalEntityProcessor.java
2015-08-04 14:38:01 +02:00
Michael Bolz 5e481b23ec [OLINGO-743] Add odatapath to ContextURL 2015-07-31 15:51:34 +02:00
Michael Bolz ac6e9e725d [OLINGO-741] Add pre-validation for properties in UriParseTreeVisitor 2015-07-30 21:34:35 +02:00
Michael Bolz 305f54dcf2 [OLINGO-659] Minor code refactoring 2015-07-29 20:40:30 +02:00
Christian Amend 3dae763f35 [OLINGO-731] Added html as debug output and refactored structure 2015-07-24 16:12:01 +02:00
Christian Amend fb65199d28 [OLINGO-731] Debug interfaces part 2 2015-07-24 09:29:13 +02:00
Ramesh Reddy 8f763aadea OLINGO-650: supporting the complex properties in expand context url generation 2015-07-23 18:48:34 -05:00
Ramesh Reddy 5b99eb7b63 OLINGO-640: Adding support for ATOM+XML Serializer and De-Serializer 2015-07-14 21:16:50 -05: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
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
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 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
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 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
Michael Bolz 0938f1179d [OLINGO-659] Minor code clean up, javadoc and typo fixes 2015-06-16 21:20:02 +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 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 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
Christian Amend 53881c2acf [OLINGO-663] Generic Precondition Required Handling 2015-06-01 13:58:10 +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
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
Christian Holzer 6ff644d6cc [OLINGO-665] All primitive types are null 2015-05-21 14:37: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
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
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 d150744967 [OLINGO-649] Cleanup code as release preperation 2015-05-05 14:25:29 +02:00
Michael Bolz f5757cb4e2 [OLINGO-564] Removed samples and test modules from deploy 2015-05-04 10:42:22 +02:00
Michael Bolz 17152920f0 [OLINGO-564] first step for common -> client extraction 2015-04-30 06:04:42 +02:00
Michael Bolz c37d4da571 [OLINGO-564] Renamed 'OData*' to 'Client*' classes 2015-04-28 23:11:55 +02:00
Michael Bolz 3c0990910a [OLINGO-564] Merge branch 'master' into OLINGO-564 2015-04-28 12:56:08 +02:00
Michael Bolz 2318953c26 [OLINGO-564] Renamed 'edm.provider.*' classes 2015-04-28 12:52:14 +02:00
Christian Amend 87fa79ad93 [OLINGO-604] Ignore odata annotations for action requests 2015-04-27 14:48:56 +02:00
Michael Bolz ac32d23610 [OLINGO-564] Removed 'provider' package level 2015-04-23 10:50:47 +02:00
Christian Amend cd23eb96f8 [OLINGO-604] Implement Action imports in TechSvc part 1 2015-04-21 16:37:31 +02:00
Klaus Straubinger b76ebe95d1 stricter cardinality check in expression parser
Change-Id: Ie48e84e73a9da37134f4062aee7bbbe50d605443

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-04-14 15:01:13 +02:00
Christian Amend d692d129bd [OLINGO-603] Rename entity set to entity collection 2015-04-07 15:20:39 +02:00
Christian Amend 05935a0c3d [OLINGO-603] Delete core dependecies in Tec Scenario 2015-04-07 14:15:17 +02:00
Christian Holzer 502f7cedee [OLINGO-617] Derserializer and Serializer result refactoring, ExpandBuilder 2015-04-03 12:41:55 +02:00
Christian Amend 61b0daa856 [OLINGO-603] TecSvc enhancements 2015-04-02 14:24:48 +02:00
Michael Bolz 3f79ced17a [OLINGO-573] Merge branch 'master' into OLINGO-573 2015-04-02 08:22:39 +02:00
Christian Amend d067037f40 [OLINGO-603] Further refactoring 2015-04-01 14:30:27 +02:00
Michael Bolz de3f7fd3e7 [OLINGO-573] Merge branch 'master' into OLINGO-573 2015-04-01 13:17:12 +02:00
Christian Holzer 15cfa375e8 [OLINGO-545] TecSvc EDM enhanced 2015-03-31 18:48:35 +02:00
Ramesh Reddy 2b73abcce0 OLINGO-573: New processing framework on server side with single interface with TripPin as example 2015-03-31 10:55:01 -05:00
Christian Amend 3e8c50646e [OLINGO-603] Refactor action parameter deserialization part 1 2015-03-31 14:42:08 +02:00
Christian Amend d94edf568c [OLINGO-595] Make EdmProvider an Interface 2015-03-31 13:47:15 +02:00
Christian Holzer af1417b3c7 [OLINGO-545] TecSvc EDM enhanced 2015-03-27 17:10:07 +01:00
Klaus Straubinger 6d41513f47 [OLINGO-603] deserialization of action parameters
Change-Id: I49a0a39eb25eb34cf856d723c019afac304111f0

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-27 16:46:07 +01:00
Klaus Straubinger 926373bcd4 [OLINGO-603] new ActionVoidProcessor for actions with no return type
Change-Id: Icc9d05bbc33f1449bc43fd1c82677cd0500ce00f

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-24 10:33:47 +01:00
Christian Amend e26346dc31 [OLINGO-575] Some todos and pojogen refactoring 2015-03-19 17:13:18 +01:00
Christian Amend 5cef4faeb6 [OLINGO-575] Merge EdmImpl classes 2015-03-18 13:55:50 +01:00
Klaus Straubinger 200dac0a2c [OLINGO-557] even better system query option validation
Change-Id: I1406a198e049020ec9f02f18203fd9dede48e2ac

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-17 14:22:28 +01:00
Christian Amend 8a58a67800 [OLINGO-575] Merge edm provider classes 2015-03-17 14:20:49 +01:00
Christian Holzer f6fa1eeca7 [OLINGO-590] Fix: Single value navigation properties with null values will be correctly deserialized 2015-03-12 16:52:19 +01:00
Klaus Straubinger 8b4947b868 [OLINGO-557] better system query option validation
Change-Id: I7af14e24a3a1c8e4404b2296c16d2d5d2f8f42b5

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-11 17:01:29 +01:00
Klaus Straubinger 8edba8f8c9 [OLINGO-553] Allow system query options for functions returning entity collections
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-03-11 14:42:04 +01:00