Commit Graph

1450 Commits

Author SHA1 Message Date
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
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
dsoni 8dc08e8c57 add floating property facet type 2019-08-13 18:20:22 -07:00
ramya vasanth e365059900 [OLINGO-1380] OData V4: Response header information is lost in case of exceptions 2019-08-02 12:45:02 +05:30
ramya vasanth 405fb76088 [OLINGO-1375]OData V4: EntitySet in function Import need not be prefixed with namespace 2019-06-27 14:26:41 +05:30
ramya vasanth aca474ff64 [OLINGO-1368]OData V4: Support In Operator in filters 2019-06-17 14:23:36 +05:30
ramya vasanth 0c7460a2a2 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4.git 2019-05-15 11:30:24 +05:30
ramya vasanth c41d10e8dc [OLINGO-1062] Code improvements for support of annotations 2019-05-15 11:29:01 +05:30
mibo 2a509a3bca
Merge pull request #51 from DirkMahler/master
[OLINGO-1357] use map to cache EdmPrimitiveTypeKind values for lookup
2019-05-14 21:09:21 +02:00
ramya vasanth 109cde8d80 [OLINGO-1276]Modifying tests 2019-05-14 15:30:35 +05:30
ramya vasanth bf12185b59 [OLINGO-1276]Problem with ClientEntitySetIterator 2019-05-14 15:15:33 +05:30
ramya vasanth 9244d682f7 [OLINGO-1358] Substringof Method support 2019-05-14 14:51:23 +05:30
Dirk Mahler 7ff8ffdf37 OLINGO-1357 use s map to cache EdmPrimitiveTypeKind values for lookup 2019-05-13 14:13:40 +02:00
mibo 24fed9b1b6 [OLINGO-1330] cache name in getName() 2019-05-10 17:59:17 +02:00
ramya vasanth a9eac6cb0a [OLINGO-1356] not supporting alpha numeric characters 2019-05-08 11:03:32 +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
mibo bc8465cb59 [OLINGO-1352] Versions clean up 2019-05-01 06:41:15 +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
mibo ffb0496b08 [OLINGO-1352] Sonar issues clean up 2019-05-01 06:07:59 +02:00
mibo 2032581dc4 [OLINGO-1351] Fix Netty imports for OSGI and update Netty version 2019-04-27 15:19:36 +02:00
mibo b8ac17e4ae [OLINGO-1343] Fix deadlock Piped_Stream (by Aleksandr) 2019-04-26 20:48:08 +02:00
mibo 482c99c9f0 [OLINGO-1344] Fix deadlock ThreadPool (by Aleksandr) 2019-04-26 20:15:36 +02:00
mibo 50dec8d5d2 [OLINGO-1211] Fix imports and bundling 2019-04-26 19:58:49 +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 256b14f02b [OLINGO-1333]ODataResponse for delta client throws NPE on Asynchronous calls 2019-03-26 17:05:59 +05:30
Archana Rai f91568e1ab [OLINGO-1315]OData v4.0:Client: API to return HTTP Request details 2019-03-26 16:56:08 +05:30
Archana Rai 5b32c3acbf [OLINGO-1315]OData v4.0:Client: API to return HTTP Request details 2019-03-26 16:33:14 +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
Ramesh Reddy df332b3384 OLINGO-1316: allowing multipart/mixed as contentType for batch requests 2018-11-20 12:05:54 -06:00
Ramesh Reddy fd481c11d8 OLINGO-1318: adding a way to load more vocabularies into single edm provider 2018-11-20 11:48:15 -06:00
Ramesh Reddy b1640c596c OLINGO-1318: incresing the method scope for the load core vocabularies 2018-11-20 11:30:00 -06:00
Archana Rai c37d40f154 [OLINGO-1191]Code Improvements 2018-11-19 14:35:19 +05:30
Archana Rai f564c4a187 [OLINGO-1191]Code Improvements 2018-11-19 14:33:33 +05:30
Archana Rai cf04fdcb4e [OLINGO-1315]ODATA V4.0 Client: API to return HTTP Request details 2018-11-19 13:44:40 +05:30
Archana Rai fb2d21d703 [OLINGO-1296] EdmDateTimeOffSet precision validation 2018-09-26 13:52:49 +05:30
Archana Rai 6bdaed4875 [OLINGO-1191] Code Improvements 2018-09-26 11:45:22 +05:30
Ramesh Reddy 003f0f4ffa Merge branch 'OLINGO-1293' of https://github.com/shawkins/olingo-odata4 2018-09-24 12:38:20 -05:00
Ramesh Reddy e839533bb4 Merge branch 'OLINGO-1292' of https://github.com/shawkins/olingo-odata4 2018-09-24 12:34:18 -05:00
shawkins 4b77243d9e OLINGO-1293 adding srid to property metadata 2018-09-24 13:11:00 -04: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 8cbe468c2a [OLINGO-1062]Cannot consume Odata Reference Services with Annotations 2018-08-20 11:31:08 +05:30
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