Commit Graph

1396 Commits

Author SHA1 Message Date
ramya vasanth ac7d8dbd62 [OLINGO-1368]Fix for OData in operator for Integer values 2020-02-26 11:39:11 +05:30
Archana Rai cd7e028b23 Merge branch 'master' of https://gitbox.apache.org/repos/asf/olingo-odata4 2020-02-21 09:19:21 +05:30
Archana Rai 2b437addac EdmDouble relaxed 2020-02-21 09:17:35 +05:30
ramya vasanth ea727e9225 [OLINGO-1431]Remove versions in Import-Packages for client-core 2020-02-20 13:38:42 +05:30
ramya vasanth acb5e5e74c [OLINGO-1430]Enhance metadata serializer to include OnDelete child element for a navigation Property 2020-02-20 10:47:40 +05:30
ramya vasanth 5b790f82c7 [OLINGO-1429]Enhance metadata serializer to include Entity Set attribute for an Action Import 2020-02-20 10:11:25 +05:30
ramya vasanth a7f98f8842 [OLINGO-1238]Code Improvements in handling exceptions 2020-02-20 09:40:03 +05:30
ramya vasanth a1dfb5596b [OLINGO-1421]Handling incorrect message in UriHelperImpl 2020-01-16 08:31:06 +05:30
ramya vasanth 1df2f4aa67 [OLINGO-1417]Serach query to support + 2020-01-14 14:57:02 +05:30
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
Artem Smotrakov 9f9aebde55 [OLINGO-1416] Better header processing 2019-12-12 20:28:05 +01:00
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
Bogdan Ilies cb50f9b769 OLINGO-999 | Ensuring that payloadManager is closing PipedInputStream in case that http client leaked that.
Signed-off-by: Bogdan Ilies <bogdan.ilies@mulesoft.com>
2019-11-27 09:00:32 +01:00
Michael Bolz 68cfa4546d [OLINGO-1114] Minor test fix 2019-11-27 08:47:27 +01:00
jzhao 5cf7e1c0c6 [OLINGO-1114] Fix NULL PrimitiveValue change the type when convert (#21)
ClientEntity to a HttpEntity
2019-11-27 08:47:27 +01:00
luca-vercelli 2df6c17799 [OLINGO-1406] added some toString() methods (#26)
General and minor improvement during release
2019-11-27 08:34:30 +01:00
mibo a110e09203
Merge pull request #55 from danielfernandez/olingo-1395
[OLINGO-1395] Fixed parsing error when ReturnType contains Annotation
2019-11-27 08:31:24 +01:00
Michael Bolz 35e2302576 [OLINGO-1114] Minor test fix 2019-11-26 07:57:47 +01:00
mibo 820b462f49
Merge pull request #28 from ninckblokje/master
[OLINGO-1114] Test + fix for NULL value type
2019-11-26 07:33:20 +01:00
ramya vasanth 636fdde13d [OLINGO-1408] Fix tests 2019-11-26 11:42:50 +05:30
Michael Bolz ec603917e5 [OLINGO-1408] Minor change to fix tests 2019-11-25 21:28:36 +01:00
Michael Bolz 302f991e5b [OLINGO-1408] Applied code formatter 2019-11-25 20:49:09 +01:00
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
Artem Smotrakov 98d445a874 [OLINGO-1411] Better header parsing
* [OLINGO-1411] Better header parsing
2019-11-25 16:45:35 +01:00
mibo 43010c72e3
Merge pull request #56 from ianwallen/OLINGO-1400
[OLINGO-1400] Remove duplicate call to provider.getEntityContainer() in EdmProviderImpl.createEntityContainer
2019-11-18 09:10:25 +01:00
Artem Smotrakov c3f982db3d [OLINGO-1409] Better XML parsing 2019-11-13 11:57:03 +01:00
mibo 5948974ad2 [OLINGO-1409] XML serializer defaults 2019-11-12 04:59:33 +01:00
Ian Allen f4a6baeaee OLINGO-1400 - remove duplicate call to provider.getEntityContainer() in EdmProviderImpl.createEntityContainer 2019-09-26 10:38:44 -03:00
ramya vasanth 6c2103ccd4 [OLINGO-1391]Code Improvements 2019-09-13 14:28:48 +05:30
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 7049f4ebf0 [OLINGO-1391]Code Improvements 2019-09-12 15:24:46 +05:30
ramya vasanth 7f3f9c5261 [OLINGO-1368]Bug Fix for In operator support 2019-09-12 13:21:24 +05:30
Daniel Fernández 60d5adaff3 [OLINGO-1395] Fixed parsing error when ReturnType contains Annotation 2019-09-10 11:56:58 +00:00
ramya vasanth 21d874d255 [OLINGO-1155]Bug Fixes for delta support in Json format 2019-09-09 12:05:44 +05:30
ramya vasanth 510b213cd6 [OLINGO-1393]Validate the values for a Decimal data type as per latest spec 2019-09-09 10:51:15 +05:30
ramya vasanth b13071f980 Merge branch 'olingojava8' of https://git-wip-us.apache.org/repos/asf/olingo-odata4 2019-09-09 09:54:31 +05:30
ramya vasanth 9f8cbc6fcc [OLINGO-1391]OData V4: Move the olingo library to java 8 2019-09-04 09:17:51 +05:30
Ramesh Reddy 6c3781f178 OLINGO-1355: correcting the error code check 2019-09-01 20:57:06 -05:00
Ramesh Reddy 74587d98f5 OLINGO-1383 2019-09-01 20:35:46 -05:00
Ramesh Reddy 9e94d9521f Merge branch 'pr54' 2019-09-01 20:24:41 -05:00
Archana Rai 73842ec07b [OLINGO-1390] Service Resolution variable for spring apps 2019-08-29 11:04:04 +05:30
ramya vasanth 7632ec7268 [OLINGO-1155]Delta support in Json format 2019-08-29 09:51:44 +05:30
Steven Hawkins 7da68d1138 OLINGO-1389 adding support for posting to a navigation 2019-08-27 20:30:11 -04:00
shawkins a19ab7cb1d OLINGO-1386 refinements for apply support 2019-08-22 10:55:00 -04:00