Commit Graph

377 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
Klaus Straubinger 3eb1b8ed20 [OLINGO-801] minor bug fix in technical service + code clean-up
Change-Id: I59a83b9cca725ef9be74250e50a43eb306c46acc

Signed-off-by: Christian Holzer <c.holzer@sap.com>
2015-11-17 16:45:45 +01:00
Michael Bolz 1a59a5804b [OLINGO-568] Merge branch 'OLINGO-568_SearchParser_Draft' 2015-11-17 15:31:44 +01:00
Christian Amend be3b10a245 [OLINGO-826] Added Annotations to all EntitySets 2015-11-17 13:08:06 +01:00
Michael Bolz c0adc020b2 [OLINGO-568] Merge branch 'master' into OLINGO-568_SearchParser_Draft
arser_Draft
2015-11-17 10:50:06 +01:00
Klaus Straubinger 3fa2b3df2f [OLINGO-801] support for non-primitive function parameters
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-11-17 09:20:57 +01:00
Klaus Straubinger 6614aea6ba [OLINGO-821] small fix for UriParser handling of Enum/TypeDefinition
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-11-10 16:16:53 +01:00
Christian Amend c7838a678d [OLINGO-821] Support alias for enum values in URI 2015-11-09 15:46:12 +01:00
mibo 762c924cf6 [OLINGO-568] Merge branch 'master' into OLINGO-568_SearchParserPoC 2015-11-06 21:33:03 +01:00
Christian Amend 639362caa3 [OLINGO-821] Verify Enum and TypeDef support
Included full integration tests for all components
2015-11-06 16:29:55 +01:00
Michael Bolz 452ebcbdd8 [OLINGO-568] SearchTokenizer for SearchParser 2015-11-06 15:43:36 +01:00
Klaus Straubinger ac828a3554 [OLINGO-806] small fix for JSON deserializer
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-11-06 09:08:49 +01:00
Christian Holzer 734ea91988 [OLINGO-801] Added tests for complex function parameters 2015-11-03 14:18:08 +01:00
Christian Holzer a794f7ee7a [OLINGO-801] Resolve merge conflict 2015-10-29 16:26:26 +01:00
Christian Holzer 483ee9de15 Merge branch 'OLINGO-801_ComplexParameter' 2015-10-29 15:42:05 +01:00
Christian Holzer 3584e1d71d [OLINGO-801] UriParser supports Complex / Entity Parameters. 2015-10-29 15:31:38 +01:00
Christian Amend 2ceacd87f7 [OLINGO-587] Fix json title, client and add tests 2015-10-27 17:24:13 +01:00
Klaus Straubinger 837c3565a1 [OLINGO-806] Minor clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-26 09:07:11 +01:00
Christian Amend 9f663baf5c Merge branch 'master' into olingo786
Conflicts:
	lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/xml/MetadataDocumentXmlSerializer.java
2015-10-22 10:28:23 +02:00
Klaus Straubinger 4134b2e82c [OLINGO-795] enum type validation in URI parser
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-22 10:03:31 +02:00
Christian Amend 15164da8f1 [OLINGO-786] Fix alias usage in metadata for annotations 2015-10-20 15:51:40 +02:00
Christian Amend b1d03d6ba9 Merge branch 'master' into olingo786
Conflicts:
	lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmEnumTypeImpl.java
	lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmEnumTest.java
	lib/commons-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java
	lib/commons-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImplTest.java
	lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java
	lib/server-test/src/test/java/org/apache/olingo/server/core/deserializer/xml/ODataXmlDeserializerTest.java
2015-10-13 10:35:50 +02:00
Klaus Straubinger 5d364dfa27 [OLINGO-795] server support for Enums and Type Definitions
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-10-09 14:47:21 +02:00
Christian Amend 3f7df13a63 [OLINGO-786] Add EdmTerm tests and refacotor getAppliesTo
AppliesTo delivered a list of classes. This functionallity is not needed
thus I deleted it. Now it is just a list of strings. As a conveniece we
could use a list of enums in the future.
2015-10-08 17:11:07 +02:00
Christian Holzer f221962f72 [OLINGO-780] Minor EDM adjustment 2015-10-07 15:20:52 +02:00
Christian Holzer 0989fbd074 [OLINGO-791] Namespaces are not longer allowed for entity sets, singeltons, action imports, function imports 2015-10-06 17:27:02 +02:00
Christian Holzer d0b225bf18 [OLINGO-792] Improve URI parser error message 2015-10-06 16:41:09 +02:00
Michael Bolz 507236dd8c [OLINGO-786] Merge branch 'master' into olingo786 2015-10-05 07:57:29 +02:00
Klaus Straubinger b736c43495 [OLINGO-789] more tests of server support for action parameters
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-05 07:50:00 +02:00