Commit Graph

437 Commits

Author SHA1 Message Date
Archana Rai f7e5a5c716 [OLINGO-1155]Delta support in Json format 2017-07-31 16:13:11 +05:30
ramya vasanth f6dd0deacc [OLINGO-1122]Addressing derived types in filter and expand 2017-07-25 09:43:57 +05:30
Archana Rai ecf7f56ec8 [ODATAJAVA-1123]OData V4.0: Support of derived types and mixed 2017-07-23 15:29:00 +05:30
ramya vasanth 36e45f0219 [OLINGO-1101] Casting Types to Derived Types 2017-06-22 15:00:24 +05:30
Archana Rai f55205561e [OLINGO-1099] OData V4.0: $levels refactoring
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-04-27 13:01:40 +02: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
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
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 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
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
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
Morten Riedel fd2592d4e2 [OLINGO-1004] edited edm for consistency
added new entity types, entity sets, actions and functions to test overloading and default values, tests are not implemented yet.

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-08-17 14:01:39 +02:00
Morten Riedel 37a1e110c6 [OLINGO-1004] edm clean up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-08-17 09:44:22 +02:00
Morten Riedel d30f47ec6b [OLINGO-1004] removed CTCompCompExtended and added CTBase in ESFourKeyAlias instead
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-08-17 09:43:38 +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
Christian Amend bde34e597f [OLINGO-964] Add test for new expand type cast handling 2016-07-28 14:53:44 +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
Morten Riedel d3fad1b166 [OLINGO-987] fixed checkstyle issue
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-27 10:21:17 +02:00
Morten Riedel 0760e130e8 added a testcase for entity set ESCompCollComp
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-07-27 10:20:49 +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
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
Christian Amend a6bde3beea [OLINGO-979] Fix codestyle issue 2016-07-14 10:53:12 +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
Michael Bolz 4ff0e69746 [OLINGO-936] Add sonar.skip for sample and test modules 2016-04-19 16:04:19 +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 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
Christian Amend f7c18f7445 [OLINGO-905] Add system query option access to $all 2016-03-24 14:50:08 +01: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
mibo 59699da030 [OLINGO-856] Merge branch 'OLINGO-856_ODataHandlerInAPI' 2016-03-04 21:24:10 +01:00
Klaus Straubinger 9381ecfa56 [OLINGO-864] use local timezone for technical service
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-03-01 15:38:05 +01:00
Michael Bolz 2d4772dc1b [OLINGO-832] Changed integration in TecSvc and added more IT tests 2016-02-25 21:18:34 +01:00
Christian Amend feb94edd43 [OLINGO-884] Remove system println for test 2016-02-24 15:46:26 +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 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 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
Ramesh Reddy 3c205f907e Merge branch 'OLINGO-864' 2016-02-12 09:23:09 -06:00
Ramesh Reddy 7b26cc6ee7 OLINGO-864: Refining the Edm.Date and Edm.Time behavior not to assume GMT but use default timezone of the JVM 2016-02-10 13:04:42 -06: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
Ramesh Reddy 8468308aeb OLINGO-865: fixing the bug with extended complex types during serilization 2016-02-07 17:06:22 -06: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
Klaus Straubinger 8537f3a512 [OLINGO-834] small URI parser improvements
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-20 15:30:39 +01:00
Klaus Straubinger a283bddbbf [OLINGO-834] parsing of most geo literals in URI parser
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-18 13:36:18 +01:00
Klaus Straubinger 1b6259b979 reduced usage of org.slf4j and org.apache.commons.lang3
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-18 13:30:40 +01:00
Klaus Straubinger 3295bcc062 [OLINGO-834] URI parser shall not ignore empty path segments
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-12 15:18:45 +01:00
Christian Amend 26080f420a [OLINGO-834] Delete AntLR dependecies 2016-01-07 15:00:17 +01:00
Christian Amend 010642c506 Merge branch 'master' into OLINGO-834_Filter_Parser
Conflicts:
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceComplexPropertyImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceCountImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceEntitySetImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceItImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAllImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaAnyImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceLambdaVarImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceNavigationPropertyImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourcePrimitivePropertyImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRefImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceRootImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceSingletonImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceStartingTypeFilterImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriResourceWithKeysImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/CheckFullContextListener.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/Parser.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/RawUri.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriContext.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriDecoder.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParseTreeVisitor.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/parser/UriParserSemanticException.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/queryoption/expression/ExpressionImpl.java
	lib/server-core/src/main/java/org/apache/olingo/server/core/uri/validator/UriValidator.java
	lib/server-core/src/test/java/org/apache/olingo/server/core/uri/parser/search/SearchParserAndTokenizerTest.java
2016-01-07 14:27:27 +01:00
Klaus Straubinger 8925274c0b [OLINGO-834] $expand parser in Java + clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-07 14:02:09 +01:00
Christian Holzer 8919d3ef11 [OLINGO-834] ExpressionParser improvements 2015-12-22 17:07:51 +01:00
Christian Amend 0d6f4821f2 [OLINGO-841] Set new 4.2.0-SNAPSHOT version 2015-12-21 12:55:05 +01:00
Christian Amend 0242519cc4 [OLINGO-841] Set release version 4.1.0 2015-12-21 12:18:07 +01:00
Klaus Straubinger a809165896 [OLINGO-834] ExpressionParser parses path expressions
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-12-21 10:10:35 +01:00
Christian Amend d1c4c743fd [OLINGO-841] Set 4.1.0-RC01 release candidate version 2015-12-18 15:56:11 +01:00
Klaus Straubinger 104ecf43d2 [OLINGO-834] Type checks in ExpressionParser
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-12-16 16:26:51 +01:00
Klaus Straubinger 208f26c746 [OLINGO-834] clean-up Expression implementations
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-12-11 12:30:10 +01:00
Klaus Straubinger d7e23bf89a [OLINGO-834] $select parser in Java + clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-12-10 15:51:45 +01:00
Klaus Straubinger 927ecb93e3 [OLINGO-834] URI resource-path parser in Java
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-12-07 13:17:50 +01:00
Michael Bolz dacc318523 [OLINGO-568] Added tests and activated unicode tests 2015-12-02 12:06:22 +01:00
Michael Bolz 6f35651436 [OLINGO-568] Minor code clean up 2015-12-01 15:30:03 +01:00
Michael Bolz e5ac590794 [OLINGO-568] Added support for escape of escape and quote characters 2015-11-30 15:15:00 +01:00
Klaus Straubinger 16a856eaea [OLINGO-568] validation for system query option $search
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-11-20 12:26:10 +01:00