Commit Graph

406 Commits

Author SHA1 Message Date
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
Morten Riedel f3cee9b73b [OLINGO-1004] TecSvc batch handling changes
Modified response status code in batch case from 202 Accepted to 200 OK and adjusted tests. See odata protocol documentation 11.7.4

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-29 14:15:55 +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 20a00704d8 [OLINGO-936] clean-up
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-15 14:05:51 +02:00
Ramesh Reddy 120adfea50 OLINGO-1009: adding cycle detection when =max is used during serialization 2016-09-09 14:23:26 -05: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 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
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 3c0225c9da OLINGO-567: Support for odata.metadata=full 2016-06-26 07:50:39 -07: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
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
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
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
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
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
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
Michael Bolz 2d4772dc1b [OLINGO-832] Changed integration in TecSvc and added more IT tests 2016-02-25 21:18:34 +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
mibo 67494a7897 [OLINGO-832] Merge branch 'master' into OLINGO-832_StreamSerializerPoC 2016-02-13 07:28:32 +01: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
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
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 2a80ca3391 [OLINGO-832] New approach with ODataResponse change 2016-02-07 19:27:55 +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
Ramesh Reddy f63bba70ad OLINGO-864: Refining the Edm.Date and Edm.Time behavior not to assume GMT 2016-02-03 11:48:04 -06:00
Michael Bolz 44e1b02633 [OLINGO-832] Minor change for PoC demo 2016-01-25 14:43:24 +01:00
Michael Bolz c02215e2ef [OLINGO-832] Merge branch 'master' into OLINGO-832_StreamSerializerPoC 2016-01-25 14:18:13 +01:00
mibo 69f58e84bf [OLINGO-832] Added iterable 2016-01-24 12:31:02 +01:00
Michael Bolz 885ec27ef2 [OLINGO-832] Added additional methods for Java NIO Channels 2016-01-22 13:14:06 +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
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
Christian Amend d1c4c743fd [OLINGO-841] Set 4.1.0-RC01 release candidate version 2015-12-18 15:56:11 +01:00
Michael Bolz f4ad8892ad [OLINGO-832] First idea of PoC 2015-12-14 09:12:03 +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
Klaus Straubinger 8674a1f299 [OLINGO-568] improved search in technical service
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-11-24 09:21:02 +01:00
mibo 326e1775a7 [OLINGO-568] Minor TecSvc enhancements 2015-11-17 22:07:56 +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
Christian Amend a11cb6d659 [OLINGO-826] Add Containment EntitySet 2015-11-17 10:36:57 +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
mibo 9ff30e729d [OLINGO-568] Added search integration test 2015-11-17 06:30:23 +01:00
mibo 21e115b6bf [OLINGO-568] Enabled serch option in TevSvc 2015-11-16 23:06:29 +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 0c100df480 [OLINGO-821] Optimize alias handling in enum types 2015-11-10 10:52:33 +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
Christian Amend 2ceacd87f7 [OLINGO-587] Fix json title, client and add tests 2015-10-27 17:24:13 +01:00
Christian Amend 17e4a3aeff [OLINGO-784] Prevent NPE in combination with typeinfo objects 2015-10-22 16:51:07 +02: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
Michael Bolz 23fb86a870 [OLINGO-801] better enum and alias support in technical service 2015-10-22 10:04:49 +02:00
Christian Amend 9c53108ee5 [OLINGO-786] Enhance TecSvc Edm with description annotations 2015-10-21 11:12:47 +02:00
Christian Amend 67ccbf9ddb [OLINGO-786] Make annotaion csdl classes spec compliant` 2015-10-16 14:12:24 +02:00
Klaus Straubinger 85ed370707 [OLINGO-801] support for function-parameter aliases in tech. service
Change-Id: I57b222418cf2760d3926da185f4dba0207311f4a

Signed-off-by: Christian Holzer <c.holzer@sap.com>
2015-10-15 10:56:38 +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
Christian Amend d9d33abe85 [OLINGO-768] Delete getTarget method at EdmAnnotations interface
The method never worked. Also the design dod not allow to return all
possible target types. For example an entity type as target results in
returning the EdmEntityType object but for functions we would have to
return a list of functions. If needed we can implement another method
later.
2015-10-12 13:59:56 +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 Holzer f221962f72 [OLINGO-780] Minor EDM adjustment 2015-10-07 15:20:52 +02:00
Michael Bolz 26c923b6f3 [OLINGO-789] Minor clean up 2015-10-05 08:24:48 +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
Klaus Straubinger d6db341db7 [OLINGO-789] server support for action parameters of all types
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-01 12:11:33 +02:00
Michael Bolz 3ec5a161ef [OLINGO-786] First minor adaption to MetadataSerializer 2015-09-30 15:28:00 +02:00
Christia Holzer b9403cd394 [OLINGO-780] The URI Parser validates if a function is composable or not 2015-09-30 15:04:24 +02:00
Christia Holzer b7dcae862a [OLINGO-781] TecSvc: The atom id for functions without entity set is
calculated by the URI of the function
2015-09-30 15:04:23 +02:00
Michael Bolz c9d42e49fa [OLINGO-772] Set version to 4.1.0-SNAPSHOT 2015-09-21 14:46:38 +02:00
Michael Bolz ca40833b20 [OLINGO-772] Change version to 4.0.0 2015-09-21 10:54:21 +02:00
Michael Bolz 111308124c [OLINGO-772] Change version to 4.0.0-RC03 2015-09-17 09:26:27 +02:00
Michael Bolz 87f829e5ae [OLINGO-659] Renamed setter/getter to fit code conventions 2015-09-17 09:18:24 +02:00
Christia Holzer 32bad834f1 [OLINGO-659] Fix TechnicalActionProcessor 2015-09-15 14:25:19 +02:00
Klaus Straubinger cffdb7384c [OLINGO-659] empty JSON input should result in Bad Request
Change-Id: Ib46d7454abcc405e3fa6a41fd3e17d9e947490c2

Signed-off-by: Christia Holzer <c.holzer@sap.com>
2015-09-15 14:18:20 +02:00
Michael Bolz 9c3ca381e2 [OLINGO-772] Change version to RC02 2015-09-14 10:37:04 +02:00
Michael Bolz ba88c43b57 [OLINGO-772] Change version to RC01 2015-09-11 14:44:50 +02:00
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 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
mibo 637ca00db7 [OLINGO-750] Fixed some critical issues 2015-09-10 21:10:09 +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
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
Klaus Straubinger e92f660789 [OLINGO-659] avoid null-pointer exception in no-content case
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-03 15:24:47 +02:00
Christian Holzer a3541721ef [OLINGO-659] TecSvc: $levels system query options lead now to a 501 not implemented status 2015-09-01 14:54:08 +02:00