Commit Graph

1905 Commits

Author SHA1 Message Date
ramya vasanth 3b8587973c [OLINGO-1478]Fix jackson parser for handling big numbers 2020-08-27 10:10:52 +05:30
ramya vasanth 2b96e6e2a1 [OLINGO-1472]Support Scale having values variable and floating 2020-08-18 13:07:09 +05:30
ramya vasanth 7e1aa94d4e [OLINGO-1378] does not allow some special characters in search term 2020-07-17 10:31:50 +05:30
ramya vasanth 6bc0fc72e6 [OLINGO-1469]OData V4: Convert java.time types to correct Edm types 2020-07-17 10:19:23 +05:30
ramya vasanth ddaab6b0fa [OLINGO-1446]Allow empty parameters for actions and action imports when there is no non binding parameter defined 2020-04-16 15:18:52 +05:30
Archana Rai a058f1c1cf CsdlEntityType isHasStream() 2020-04-14 20:53:36 +05:30
ramya vasanth 1c8e5ce60b [OLINGO-1443]Streaming support for Media types 2020-04-03 12:12:08 +05:30
ramya vasanth 225bc34dd9 [OLINGO-1442]Support update requests on Stream properties 2020-04-03 10:25:09 +05:30
ramya vasanth a3318beed3 [OLINGO-1437]Add additional properties to OData Server Error 2020-03-19 10:37:08 +05:30
ramya vasanth d4c057b80c [OLINGO-1062]Fallback to fetch full qualified name of Record when the vocab file is not loaded 2020-03-19 10:02:52 +05:30
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
mibo 6a35dd0d58 [OLINGO-1424] Updated Netty version 2020-02-04 06:52:20 +01:00
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 356cdbd3d8 [OLINGO-1414] Updated netty-codec to 4.1.43.Final 2019-12-06 21:45:54 +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
Michael Bolz ba36402ded [OLINGO-1406] Added scm link 2019-11-27 09:05:57 +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
mibo ca876f1fb9
Merge pull request #62 from apache/OLINGO-1408
[Olingo 1408] Java 8 DateTime API support by Olingo
2019-11-26 07:25:52 +01:00
ramya vasanth 636fdde13d [OLINGO-1408] Fix tests 2019-11-26 11:42:50 +05:30
Michael Bolz b81bc23a54 [OLINGO-1411] Fixed typo 2019-11-25 21:30:33 +01:00
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
Artem Smotrakov db50f59689 [OLINGO-1410] Better XMLMetadata parsing
* [OLINGO-1410] Better XMLMetadata parsing
* Minor change in DEFAULT_ALLOWED_CLASSES handling
* Applied code-formatter
2019-11-25 09:34:41 +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
mibo 3cf93d5e06
Merge pull request #59 from artem-smotrakov/better-xml-parsing
Better XML parsing
2019-11-18 09:02:48 +01:00
Artem Smotrakov c3f982db3d [OLINGO-1409] Better XML parsing 2019-11-13 11:57:03 +01:00
mibo 85d660c6d8 [OLINGO-1407] Updated dependency versions 2019-11-12 19:45:32 +01:00
mibo 5948974ad2 [OLINGO-1409] XML serializer defaults 2019-11-12 04:59:33 +01:00