Commit Graph

438 Commits

Author SHA1 Message Date
mibo cb6a7ce346 [OLINGO-1418] Set version to next SNAPSHOT 2019-12-25 18:11:14 +01:00
mibo dd944cd181 [OLINGO-1418] Set version to 4.7.1 2019-12-25 06:11:03 +01:00
Michael Bolz 53e98faf34 [OLINGO-1418] Set version to 4.7.1-RC01 2019-12-20 07:41:14 +01:00
ramya vasanth dfe1dd288c [OLINGO-1417]OData V4: Adopt search option based on new V4 abnf 2019-12-18 10:46:21 +05:30
mibo 1adc394ba9 [OLINGO-1406] Set version to next SNAPSHOT 2019-12-06 21:42:50 +01:00
mibo 531e5bb8ee [OLINGO-1406] Set version to 4.7.0 2019-12-01 14:08:13 +01:00
Michael Bolz 3254ebdbd6 [OLINGO-1406] Set version to 4.7.0-RC01 2019-11-27 09:31:37 +01:00
ramya vasanth 636fdde13d [OLINGO-1408] Fix tests 2019-11-26 11:42:50 +05:30
Adrian Görler 932af8fb5d [OLINGO-1408] Support new date time API (#57)
* Fix usage of Calendar in tests

The tests use Calendar instances. For some test cases the time zone of a
Calendar instance is changed and then passed to the valueToString
method.

Unfortunately after just changing the time zone the Calendar only
changes the time zone but not the value of the calculated fields like
YEAR, MONTH, ... . These fields are recalculated only if they are read
by get(YEAR), get(MONTH), ... . The implementation of valueToString
clones the Calendar instance before fields are computed resulting in
a corrupt clone.

This change

1) makes sure that the test the fields in the Calendar instances used
   in the tests are computed
2) makes sure that the valueToString method triggers a computation of
the fields before cloning the Calendar

* Support types of new Date/Time API

The types of the new Date/Time API can now be used as property values.

The following mappings are now supported

EdmDateTimeOffset
- java.time.Instant
- java.time.ZonedDateTime
- java.util.Calendar
- java.util.Date
- java.sql.Timestamp
- java.lang.Long

EdmDate
- java.time.LocalDate
- java.sql.Date

EdmTimeOfDay
- java.time.LocalTime
- java.sql.Time

Only these mappings capture the semantics correctly.

For legacy reasons also supported are the following mappings are still
supported:

EdmDate
- java.util.Calendar (date component in the TZ of the calendar)
- java.util.Date     (date component in UTC)
- java.sql.Timestamp (date component in UTC)
- java.lang.Long     (date component in UTC)

EdmTimeOfDay
- java.util.Calendar (time component in the TZ of the calendar)
- java.util.Date     (time component in UTC)
- java.sql.Timestamp (time component in UTC)
- java.lang.Long     (time component in UTC)

For legacy reasons the default mapping types are unchanged (and remain
semantically incorrect):

EdmDateTimeOffset -> java.sql.Timestamp
EdmDate           -> java.util.Calendar
EdmTimeOfDay      -> java.util.Calendar

* Allow additional (but semantically wrong) conversions

EdmDate -> java.util.Date, java.sql.Timestamp
EdmTimeOfDay -> java.util.Date, java.sql.Timestamp
2019-11-25 19:32:58 +01:00
ramya vasanth 8f4d031957 [OLINGO-1155]Discrepency in Next Link shown in delta request and normal request 2019-09-13 12:48:26 +05:30
ramya vasanth b5be472097 [OLINGO-1397]Handle post requests when there is no content type and payload 2019-09-13 12:13:46 +05:30
ramya vasanth 21d874d255 [OLINGO-1155]Bug Fixes for delta support in Json format 2019-09-09 12:05:44 +05:30
ramya vasanth 7632ec7268 [OLINGO-1155]Delta support in Json format 2019-08-29 09:51:44 +05:30
ramya vasanth aca474ff64 [OLINGO-1368]OData V4: Support In Operator in filters 2019-06-17 14:23:36 +05:30
ramya vasanth 9244d682f7 [OLINGO-1358] Substringof Method support 2019-05-14 14:51:23 +05:30
mibo e35f36abc5 [OLINGO-1352] Set 4.7.0-SNAPSHOT as development version 2019-05-05 08:12:19 +02:00
mibo 6e0a5cb43a [OLINGO-1352] Set version to 4.6.0 for release 2019-05-05 07:27:37 +02:00
mibo 68181b9676 [OLINGO-1352] Set version to 4.6.0-RC01 2019-05-01 06:56:06 +02:00
Ramesh Reddy e6672fdef4 OLINGO-1350: Updating fasterxml version 2.9.8 and removing the dependency on aalto-xml library 2019-05-01 06:11:57 +02:00
Archana Rai 3395683b5a [OLINGO-1333]ODataResponse for delta client throws NPE on Asynchronous calls 2019-03-26 17:23:54 +05:30
Archana Rai f344a3c565 [OLINGO-1323]OData v4.0: Context url should have navigation properties within when expanded 2018-12-13 16:10:10 +05:30
Archana Rai f564c4a187 [OLINGO-1191]Code Improvements 2018-11-19 14:33:33 +05:30
Ramesh Reddy e839533bb4 Merge branch 'OLINGO-1292' of https://github.com/shawkins/olingo-odata4 2018-09-24 12:34:18 -05:00
shawkins b09dde0b39 OLINGO-1292 adding srid serialization and deserialization to server json 2018-09-24 10:23:31 -04:00
shawkins ebdf0d3e3a OLINGO-1294 adding polygon support for multiple interior rings 2018-09-21 17:36:02 -04:00
Archana Rai 58ec0358c2 [OLINGO-1287]Deep Update support for Version 4.01 2018-08-17 14:32:30 +05:30
Christian Amend 0f39306541 [OLINGO-1284] Set next 4.6.0-SNAPSHOT development version 2018-08-13 15:26:45 +02:00
Christian Amend 7290f7ea4d [OLINGO-1284] Set 4.5.0 release version 2018-08-13 15:25:07 +02:00
Christian Amend cde4f0723f [OLINGO-1284] Set 4.5.0-RC01 version 2018-08-06 14:28:45 +02:00
Ramesh Reddy 243708f168 OLINGO-1245: allow to define a full boolean expression with surrounding 'not' logical operator with parens surrounding the boolean expression 2018-08-03 11:07:08 -05:00
ramya vasanth b07a7cfe26 [OLINGO-1246]Handling relative url's in odata context and few enhancements to technical service 2018-05-07 13:54:59 +05:30
ramya vasanth edee782ea0 [OLINGO-1143]Expand of a stream property of a complex type 2018-04-17 13:40:02 +05:30
ramya vasanth aaff527dcd [OLINGO-1143] Support of Expand of a navigation property of a complex type 2018-04-11 11:15:38 +05:30
ramya vasanth d9aff6300f [OLINGO-1246] Including key properties in context url and response payload even if select clause does not include key properties 2018-03-21 09:52:07 +05:30
ramya vasanth 1a739d46bf [OLINGO-1191] More Code Improvements 2018-03-15 08:12:10 +05:30
ramya vasanth bf4e2017f2 [OLINGO-1246] Fixes for Context url when the URL has select clause and expand clause having select 2018-03-13 15:31:15 +05:30
ramya vasanth eb112032dd [OLINGO-1238] Code Improvements in handling exceptions with odataVersion headers and accept headers 2018-03-12 14:07:22 +05:30
Archana Rai 75cc7197e3 [OLINGO-1237]Serialization changes for odata.metadata=minimal 2018-02-22 11:59:49 +05:30
ramya vasanth 48f93fd871 [OLINGO-1231] Serializer for complex collection properties does not respect 2018-02-21 10:20:51 +05:30
ramya vasanth 00d854f387 [OLINGO-1229] Validate Function import parameters in Uri Parser 2018-02-08 15:22:43 +05:30
ramya vasanth b86aa5d977 [OLINGO-1207] Sample project supporting containment navigation 2017-12-01 09:56:36 +05:30
ramya vasanth 73d1e2e07f [OLINGO-1191] Code Improvements 2017-11-17 09:49:55 +05:30
ramya vasanth 03ab69c498 [OLINGO-1201] Enhancements to run better with Netty 2017-11-14 09:40:23 +05:30
Archana Rai 8a968923ba [OLINGO-1182] Support Edm.Stream property for 4.0.1 in json format 2017-09-18 11:04:52 +05:30
ramya vasanth 93af105892 [OLINGO-1172] Throw meaningful exception in method buildCanonicalURL when key value is null 2017-09-14 16:43:09 +05:30
ramya vasanth f189dd07a6 Revert "[]"
This reverts commit 717d69b979.
2017-09-14 16:37:51 +05:30
ramya vasanth 717d69b979 [] 2017-09-14 16:08:38 +05:30
Christian Amend 4cae638ff5 [OLINGO-1171] Set next 4.5.0-SNAPSHOT version 2017-09-01 15:35:37 +02:00
Christian Amend 9858f1d04c [OLINGO-1171] Set 4.4.0 release version 2017-09-01 15:15:49 +02:00
Christian Amend b98eb1fc6c [OLINGO-1171] Set 4.4.0-RC01 version 2017-08-29 09:58:49 +02:00