Commit Graph

591 Commits

Author SHA1 Message Date
i050510 32ff14fe78 [OLINGO-1073] Collections with derived complex types
wrong odata.type

Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-05-09 14:37:42 +02:00
i050510 74a2da7d5e [OLINGO-753] Incorrect uri formed when the uri parameter contains /$count in URIUtils class
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-04-27 13:15:26 +02:00
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
i050510 173f0d78ad [OLINGO-975] Olingo client sends incorrect types for collection members
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-04-27 13:00:35 +02:00
i050510 272719d59f [OLINGO-1064] ComplexType is deserialized as Primitive Type if the value is NULL
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-04-26 16:13:08 +02:00
Ramesh Reddy 0cf76f51c5 OLINGO-1107: Changing client encoding of URL to use %20 instead of using + for space. This is done by switching the Olingo supplied Encoder and Decoder rather than the JDK supplied URLEncoder and URLDecoder 2017-04-17 17:22:50 -05:00
Archana Rai af116170a2 [OLINGO-1106] JUnit for Custom Query Options in batch
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-04-12 11:18:55 +02:00
Archana Rai e41b81ea09 [OLINGO-1077] EntityIterator count support
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-02-07 12:09:16 +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
Morten Riedel 69659a1a90 [OLINGO-1004] refactored embedded tomcat
modified pom to write properties to a file.
refactored the embedded tomcat to use those properties.

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-10-19 14:35:03 +02:00
Morten Riedel b9a71ff88a [OLINGO-1004] moved ClientAsyncTest to AsyncSupportITCase
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-29 14:19:04 +02: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
Morten Riedel b6871904ac [OLINGO-1004] Fit refactoring
Added basic authentication to embedded tomcat in fit module. Refactored AuthBatchTestITCase.

Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-29 14:14:43 +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 120adfea50 OLINGO-1009: adding cycle detection when =max is used during serialization 2016-09-09 14:23:26 -05:00
Morten Riedel f2fd03553f [OLINGO-1004] refactored some JSON conformance tests
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-08 14:01:39 +02:00
Morten Riedel e2f64e6e78 [OLINGO-1004] renamed BoundOpearionITCase to BoundOperationITCase
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-08 14:01:10 +02:00
Morten Riedel 7ad6155bf5 [OLINGO-1004] refactored conformance tests
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-08 14:00:42 +02:00
Morten Riedel b1db030cb8 [OLINGO-1004] Moved some Metadata Tests
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2016-08-30 21:25:19 +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
Morten Riedel 19cfe4b494 [OLINGO-1004] Removed ErrorResponseTestITCase and moved the full JSON Exception test into ErrorTest.
Signed-off-by: Michael <michael.bolz@sap.com>
2016-08-22 09:38:32 +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
Christian Amend deb1d2036f [OLINGO-1004] Delete FilterFactoryTestITCase
Duplicated in FilterSystemQueryITCase
2016-08-12 14:34:37 +02:00
Christian Amend 2def64edb9 [OLINGO-1004] Delete duplicate BatchTestITCase
Duplicated with BatchClientITCase
2016-08-12 14:10:12 +02:00
Christian Amend d16d2b9cd5 [OLINGO-1004] Remove another microsoft from test package name 2016-08-12 13:44:07 +02:00
Christian Amend 0063a3003f [OLINGO-1004] Remove microsoft from Apache Olingo package name 2016-08-12 13:38:40 +02:00
Christian Amend 3a9961a892 [OLINGO-1004] Deleted QueryOptionsITCase
Duplicated with SystemQueryOptionITCase
2016-08-12 13:15:28 +02:00
Christian Amend ee895e6937 [OLINGO-1004] Delete OperationImport Tests
Duplicated in ActionImportITCase and FunctionImportITCase
2016-08-12 13:11:02 +02:00
Christian Amend 6e7964444c [OLINGO-1004] Delete unnecessary retrieve metadata test 2016-08-12 13:08:28 +02:00
Christian Amend 19717f0992 [OLINGO-1004] Delete duplicate Entity Tests
Duplicated in BasicITCase and BindingITCase
2016-08-12 13:04:51 +02:00
Christian Amend 0e5b2eff28 [OLINGO-1004] Remove duplicate EntitySetTests
Duplicated in BasicITCase
2016-08-12 13:03:10 +02:00
Christian Amend 5f11f5b1d2 [OLINGO-1004] Delete some EntityRetrieve Tests
They are duplicated in BasicITCase and ExpandWithSystemQueryOptionsITCase
2016-08-12 12:00:00 +02:00
Christian Amend 507e4deb5a [OLINGO-1004] Deleted Entity Create Test
Duplicated in BasicITCase
2016-08-12 11:55:42 +02:00
Christian Amend bed8b4d02b [OLINGO-1004] Deleted Complex Tests
Duplicated in PrimitiveComplexITCase
2016-08-12 11:53:17 +02:00
Christian Amend af63c4f08b [OLINGO-1004] Delete PropertyValueTestITCase
Duplicated in PrimitiveComplexITCase
2016-08-12 11:47:06 +02:00
Christian Amend 7d3cede1c1 [OLINGO-1004] Delete ServiceDocumentTestITCase
Duplicated in org.apache.olingo.fit.tecsvc.client.BasicITCase
2016-08-12 10:58:37 +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
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
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 5dee97f762 OLINGO-811: implementing the =nav/ and =nav/ 2016-03-22 18:24:43 -05: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
Frederik Zimmer d566b186ae [OLINGO-890] fix expanding to a contained entity set results in an error
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-03-01 14:03:23 +01:00
Christian Amend 6c2676452c [OLINGO-866] Test and Bugfix for metadata action import serialization 2016-03-01 13:50:48 +01:00
Frederik Zimmer c7e6630492 OLINGO-848: getting a property of an entity flags the entity as changed
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-02-29 10:40:14 +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 a44f38d70d [OLINGO-832] Added javadoc and minor code clean up 2016-02-25 21:30:23 +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
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
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
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
Klaus Straubinger c7aa842fb4 [OLINGO-575] removal of some test V3 code
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-01-18 13:35:48 +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 53d2e8bb8c [OLINGO-834] Adjust LICENSE file
I removed the Antlr and treelayout bsd license.
2016-01-08 10:03:04 +01:00
Christian Amend 40be3e4a29 [OLINGO-834] Fix fit maven pom 2016-01-07 16:16:12 +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
Christian Amend d1c4c743fd [OLINGO-841] Set 4.1.0-RC01 release candidate version 2015-12-18 15:56:11 +01:00
Christian Holzer 5004f4b1ff [OLINGO-833] Replace unicode 6.x characters in fit-test 2015-12-08 10:44:41 +01:00
Christian Holzer 83f11b926d [OLINGO-833] Replace unicode 6.x characters in fit-test 2015-12-08 10:20:59 +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
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
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
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
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
mibo 1831364aa4 [OLINGO-806] Changed to correct servlet version 2015-11-03 06:29:05 +01:00
Christian Amend 0ce0a88be2 [OLINGO-786] Add missed FIT test 2015-10-28 15:04:44 +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
Michael Bolz 23fb86a870 [OLINGO-801] better enum and alias support in technical service 2015-10-22 10:04:49 +02:00
Christian Amend d00e3881dc [OLINGO-786] Annotation metadata serialization and tests 2015-10-20 15:27:11 +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
mibo 9933cb0bdc [OLINGO-794] Removed outdated 'inlinecount' 2015-10-09 14:38:22 +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
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
Christian Amend a88800c47a [OLINGO-786] Add qualifier to key 2015-09-29 15:06:30 +02:00
Christian Amend addfe512cd [OLINGO-786] Delete getAnnotations convenience method 2015-09-29 14:26:16 +02:00