Commit Graph

686 Commits

Author SHA1 Message Date
Ramesh Reddy 2751c130e2 OLINGO-1046: allowing bad white space where OData specificationa allows during the URL parsing 2017-04-20 11:07:26 -05:00
Ramesh Reddy 7e262c8d07 OLINGO-846, OLINGO-1076: Expanding/relaxing the allowence of white space AFTER the query option is decoded. Also applying to name segment, note that this is only for user supplied queries 2017-04-19 13:39:08 -05:00
Ramesh Reddy 3a8cbcc337 OLINGO-1104: Write @odata.navigationLink and @odata.assosiationLink always when metadata=full, previously it is omiited when query came in with 2017-04-13 09:35:21 -05:00
i050510 89a6a69de7 [OLINGO-1080] Support Entity Iterator in batch requests
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-03-01 17:01:25 +01:00
i036162 00a5b1d2e1 [OLINGO-1083] Change EntityType attribute to Type in Singletons accroding to spec
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-03-01 16:00:09 +01:00
Archana Rai 4b3c02373f NextLink Support in streaming
Change-Id: I199fe29991f9c02b870fd524b4276d16c1e5382e
Signed-off-by: Archana Rai <archana.rai@sap.com>
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-12-13 10:09:44 +01:00
Christian Amend 6a736db10c [OLINGO-917] Fix $entity request handling
This is a contribution from Ramya in
https://issues.apache.org/jira/browse/OLINGO-917
2016-11-22 14:17:59 +01:00
Christian Amend 84a052dcfa [OLINGO-888] Support Singletons in OData dispatcher
Contributed by Archana Rai via
https://issues.apache.org/jira/browse/OLINGO-888
2016-11-22 14:13:14 +01:00
Christian Amend cc0a6a51a8 [OLINGO-1037] Support GeoTypes in Json 2016-10-19 14:33:34 +02:00
Christian Amend 5255c336eb [OLINGO-1033] Add # for primitive type annotations 2016-10-18 15:58:13 +02:00
Klaus Straubinger 9e67d0e3e8 [OLINGO-935] improved debug support
including more unit tests

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-10-07 14:52:41 +02:00
Klaus Straubinger 1600684d4f [OLINGO-935] $apply as option for $expand should be possible
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-10-07 14:51:57 +02:00
Klaus Straubinger 72fcaa1a54 [OLINGO-1028] stricter multiplicity tests in expression parser + clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-29 16:31:24 +02:00
Christian Amend 59e53d6bca [OLINGO-1023] Set next 4.4.0-SNAPSHOT version 2016-09-19 14:16:21 +02:00
Christian Amend 31401845a7 [OLINGO-1023] Set 4.3.0 release version 2016-09-19 13:46:34 +02:00
Christian Amend 8515b48dd5 [OLINGO-1023] Set 4.3.0-RC01 version 2016-09-15 14:28:27 +02:00
Klaus Straubinger 14278ac189 [OLINGO-1003] server batch handling corrections
- binary content in bodies
- absolute-path URIs
- HTTP headers with allowed non-letter characters

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-15 14:09:34 +02:00
Klaus Straubinger 20a00704d8 [OLINGO-936] clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-15 14:05:51 +02:00
Ramesh Reddy 80d046b31c OLINGO-1009: removing unused method 2016-09-09 19:04:16 -05:00
Ramesh Reddy 591f9522b5 OLINGO-1009: refining the cycle detection logic 2016-09-09 19:00:57 -05:00
Ramesh Reddy 120adfea50 OLINGO-1009: adding cycle detection when =max is used during serialization 2016-09-09 14:23:26 -05:00
shawkins 68969d547d OLINGO-1009 Changing serialization to allow for $levels 2016-09-07 09:39:25 -04:00
Klaus Straubinger b380f97b74 [OLINGO-1015] Should allow more characters in batch header names
Change-Id: Ie99b5ad2343c1109322186989a6a7744204dc8df

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2016-08-29 08:13:28 +02:00
Morten Riedel 7a56dfa393 [OLINGO-1013] Added support for aliase in core and tecsvc.
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2016-08-29 07:45:32 +02:00
Christian Amend 38c9a76eb6 [OLINGO-995] Support HEAD for metadata and service document 2016-08-11 15:58:17 +02:00
Christian Amend c0f1b997ef [OLINGO-993] Set SNAPSHOT version again 2016-07-29 11:16:16 +02:00
Christian Amend d7a2b65d94 i[OLINGO-993] Set beta version 2016-07-29 10:55:32 +02:00
Jacek Milaczewski 8a10f47b89 [OLINGO-964] fix proposal for cast type not taken into account while expanding a collection
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-28 14:53:11 +02:00
Ramesh Reddy d9ae1f68ef OLINGO-981: validating to make sure the navigation property is set to allow nullable before allowing the null as the binding value 2016-07-27 11:47:03 -05:00
Ramesh Reddy 37fe8e19b0 OLINGO-981: Allowing the null value in non-collection navigation binding property 2016-07-27 09:28:16 -05:00
Ramesh Reddy aa8f2cfc2f OLINGO-977: Adding the XML declaration to the response of Complex Collection 2016-07-27 08:57:41 -05:00
Christian Amend 68d2e23ad4 [OLINGO-989] Checkbuild issues 2016-07-27 15:22:00 +02:00
Morten Riedel d3c30cfd28 added method writeComplex to xml reader to fix the bug. Modified constant default_charset.
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-27 10:20:49 +02:00
Klaus Straubinger be1228c821 [OLINGO-935] API for EDM-assisted serializer
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-27 10:13:33 +02:00
Morten Riedel 756ae564e5 added some testcases and method writeComplex to write the type and value correctly.
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-26 10:33:32 +02:00
Christian Amend 44d6f5a171 [OLINGO-988] Prevent duplicate ExpandItems in ExpandTreeBuilder 2016-07-26 10:27:25 +02:00
Christian Amend 22a21a28ea [OLINGO-935] resolve checkstyle issue 2016-07-25 11:15:11 +02:00
Klaus Straubinger bc61da3dfd [OLINGO-935] new server serializer for dynamic data
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-25 11:10:40 +02:00
Klaus Straubinger 61b2f72a38 [OLINGO-935] content-type parameter values are case insensitive
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-25 11:09:38 +02:00
Ramesh Reddy ec009caa64 OLINGO-980: Adding the missing message key 2016-07-18 10:19:33 -05:00
Morten Riedel e916006e27 [OLINGO-979] corrected localized error message
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-14 13:33:36 +02:00
Morten Riedel 7d698645e0 [OLINGO-979]Changed exception message accessing from getMessage() to getLocalizedMessage() and added a test
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-14 10:46:31 +02:00
Christian Amend 6afb7fff4b [OLINGO-966] Fix filter parser guid detection 2016-06-29 14:57:31 +02:00
Ramesh Reddy 3c0225c9da OLINGO-567: Support for odata.metadata=full 2016-06-26 07:50:39 -07:00
Ramesh Reddy 2675f8fa01 OLINGO-960: returning null on the missing alias value in query 2016-05-23 15:04:37 -05:00
Klaus Straubinger 96c3f8903f [OLINGO-935] $apply has to be parsed first + further tests
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-05-02 13:50:15 +02:00
Klaus Straubinger 9a96ec4f9b [OLINGO-935] $apply is allowed for $count
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-04-29 14:32:07 +02:00
Christian Amend f18a489f97 [OLINGO-936] fix sonar issues 2016-04-28 13:48:18 +02:00
Klaus Straubinger 6553e95080 [OLINGO-935]URI-parser support of the data aggregation extension
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-04-18 15:06:33 +02:00
Michael Bolz 824c174d75 [OLINGO-931] Replace NPE with correct exception 2016-04-14 08:20:22 +02:00
Christian Amend 3baa3993ea [OLINGO-922] Set next 4.3.0-SNAPSHOT version 2016-04-05 14:11:24 +02:00
Christian Amend 88fbe2f66e [OLINGO-922] Set 4.2.0 release version 2016-04-04 15:59:59 +02:00
Christian Amend bfeab37b1b [OLINGO-922] Set release candidate version 4.2.0-RC01 2016-03-31 16:56:03 +02:00
Ramesh Reddy a1e10be17e OLINGO-925: renaming the package name of EdmxReference class such it bundle packaging mechanism will not pull in these classes into other modules 2016-03-31 08:22:34 -05:00
Christian Amend a408e2226c [OLINGO-852] Fix server analysis issues 2016-03-29 16:01:01 +02:00
Klaus Straubinger 9333c090fd [OLINGO-916] more robust simple-key parsing
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-03-29 12:31:19 +02:00
Ramesh Reddy 981084fe11 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4 2016-03-28 10:12:13 -05:00
Ramesh Reddy 1a41ae8d30 OLINGO-915: Support system options with FunctionImports based the return types rather than restricting only to composable functions 2016-03-28 10:12:00 -05:00
mibo 18b126742e [OLINGO-916] Changed guid key predicate parsing 2016-03-26 21:57:28 +01:00
Ramesh Reddy 0d37336eba Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4 2016-03-25 10:32:02 -05:00
Ramesh Reddy 96bdba81bb OLINGO-914: Adding @odata.id annotation to the JSON payload, when a request for enitity or entities came with option which did not include all the key predicate names according the specification 2016-03-25 10:31:49 -05:00
mibo 3190d00fd1 [OLINGO-852] Fixed Apache analysis issues 2016-03-25 05:33:34 +01:00
Ramesh Reddy 5dee97f762 OLINGO-811: implementing the =nav/ and =nav/ 2016-03-22 18:24:43 -05:00
Ramesh Reddy dbf7fd386c OLINGO-898: making sure the payload correctly deserializes the extended entity 2016-03-21 13:33:20 -05:00
Christian Amend 570f4317ce [OLINGO-846] Trim query option values 2016-03-21 10:09:20 +01:00
Christian Amend e5d1e823c5 [OLINGO-904] Allow expand on crossjoin with entity set level
Future changes still needed to support navigation/options afterwards
2016-03-21 10:09:17 +01:00
Jacek Sputowski 8406c58b7f [OLINGO-897] Cannot filter on derived properties
startTypeFilter in MemberImpl is ignored. With this API change the member
is passed to the visitor an thus the starttypefilter is available.

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-03-21 10:09:15 +01:00
Michael Bolz 49b8599432 [OLINGO-903] Check for in uri parser error cases 2016-03-17 22:02:49 +01:00
Ramesh Reddy 389975c8fb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4 2016-03-15 17:04:42 -04:00
Ramesh Reddy 979d96c083 OLINGO-906: correcting xml serializer to return correct internal code 2016-03-14 17:06:21 -05:00
mibo 64617c8140 [OLINGO-856] Merge branch 'master' into OLINGO-856_ODataHandlerInAPI 2016-03-13 08:49:24 +01:00
Klaus Straubinger 62783067c2 [OLINGO-902] changes due to OASIS issue ODATA-917 (date handling)
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-03-11 13:15:43 +01:00
mibo 8c143c9610 [OLINGO-856] Replaces concrete impl with interface 2016-03-04 21:34:55 +01:00
mibo 59699da030 [OLINGO-856] Merge branch 'OLINGO-856_ODataHandlerInAPI' 2016-03-04 21:24:10 +01:00
Christian Amend 6c2676452c [OLINGO-866] Test and Bugfix for metadata action import serialization 2016-03-01 13:50:48 +01:00
Michael Bolz 40ff7be0f3 [OLINGO-832] Fix in xml serialization for streamed entity set/iterator 2016-02-26 08:02:39 +01:00
Christian Amend 73f465102a [OLINGO-884] Allow PUT on navigation for media resource values 2016-02-24 15:26:52 +01:00
Michael Bolz 0879bfbe5e [OLINGO-832] Clean up after merge 2016-02-22 08:42:38 +01:00
Michael Bolz 09fd6d9b48 [OlINGO-832] Clean up and basic IT test 2016-02-19 21:57:31 +01:00
Michael Bolz 4aa1277a12 [OLINGO-832] ODataJsonSerializer changes for streaming 2016-02-19 15:11:40 +01:00
Michael Bolz 396a39baec [OLINGO-832] Merge branch 'master' into OLINGO-832_StreamSerializerPoC 2016-02-19 09:39:49 +01:00
Michael Bolz 5b6cccfa9c [OLINGO-832] Added WriteContentErrorContext and first tests 2016-02-16 15:46:42 +01:00
mibo febf6ed5cf [OLINGO-856] Added OlingoExtension interface 2016-02-15 22:24:30 +01:00
Ramesh Reddy a8d1d4c647 OLINGO-878: Adding support to remove invalid xml characters from Atom payload 2016-02-15 12:31:34 -06:00
mibo 67494a7897 [OLINGO-832] Merge branch 'master' into OLINGO-832_StreamSerializerPoC 2016-02-13 07:28:32 +01:00
mibo e07abf0b0f [OLINGO-856] Created ODataHandler Interface 2016-02-13 07:08:33 +01:00
Ramesh Reddy d880d6c480 OLINGO-878: Adding support to remove unvalid xml characters from Atom payload 2016-02-12 19:37:58 -06:00
Michael Bolz 5174f70897 [OLINGO-832] Removed actual not supported/wanted methods 2016-02-10 06:38:25 +01:00
Michael Bolz dc2c972c46 [OLINGO-832] Added new SerializerStreamResult 2016-02-09 11:00:34 +01:00
Ramesh Reddy b7005b774f OLINGO-825: Adding the support for odata.type such that the extended entity and complex types are correctly de-serilized 2016-02-08 15:41:32 -06:00
mibo 31dea712ef [OLINGO-832] New ODataContent for streamed and basic content 2016-02-08 16:06:01 +01:00
mibo 18a78981fb [OLINGO-832] Removed 'write' from ODataResponse 2016-02-08 11:30:11 +01:00
Ramesh Reddy 8468308aeb OLINGO-865: fixing the bug with extended complex types during serilization 2016-02-07 17:06:22 -06:00
mibo a6e0fb1a56 [OLINGO-832] Pass out stream to json generator 2016-02-07 20:01:15 +01:00
mibo 2a80ca3391 [OLINGO-832] New approach with ODataResponse change 2016-02-07 19:27:55 +01:00
Klaus Straubinger 5d7c1287f0 [OLINGO-852] less warnings + general clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-02-04 12:42:29 +01:00
Klaus Straubinger 110c7b0e5a [OLINGO-834] better alias support in URI parser
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-02-04 12:38:10 +01:00
mibo 1a7c28a743 [OLINGO-832] Reverted change for inline entities 2016-01-31 17:43:55 +01:00
Michael Bolz c6d45d9f51 [OLINGO-832] Introduced AbstractEntityCollection 2016-01-26 14:41:49 +01:00
Michael Bolz c02215e2ef [OLINGO-832] Merge branch 'master' into OLINGO-832_StreamSerializerPoC 2016-01-25 14:18:13 +01:00