ramya vasanth
dfe1dd288c
[OLINGO-1417]OData V4: Adopt search option based on new V4 abnf
2019-12-18 10:46:21 +05:30
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
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
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
ramya vasanth
d4f1b73875
[OLINGO-1159] Enhancements to Bound Actions in V4
2017-08-09 15:56:52 +05:30
Archana Rai
f7e5a5c716
[OLINGO-1155]Delta support in Json format
2017-07-31 16:13:11 +05:30
ramya vasanth
f6dd0deacc
[OLINGO-1122]Addressing derived types in filter and expand
2017-07-25 09:43:57 +05:30
Archana Rai
ecf7f56ec8
[ODATAJAVA-1123]OData V4.0: Support of derived types and mixed
2017-07-23 15:29:00 +05:30
ramya vasanth
36e45f0219
[OLINGO-1101] Casting Types to Derived Types
2017-06-22 15:00:24 +05:30
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
Ramesh Reddy
7e262c8d07
OLINGO-846, OLINGO-1076: Expanding/relaxing the allowence of white space AFTER the query option is decoded. Also applying to name segment, note that this is only for user supplied queries
2017-04-19 13:39:08 -05:00
Ramesh Reddy
3a8cbcc337
OLINGO-1104: Write @odata.navigationLink and @odata.assosiationLink always when metadata=full, previously it is omiited when query came in with
2017-04-13 09:35:21 -05:00
i036162
00a5b1d2e1
[OLINGO-1083] Change EntityType attribute to Type in Singletons accroding to spec
...
Signed-off-by: Christian Amend <christian.amend@sap.com>
2017-03-01 16:00:09 +01:00
Christian Amend
6a736db10c
[OLINGO-917] Fix $entity request handling
...
This is a contribution from Ramya in
https://issues.apache.org/jira/browse/OLINGO-917
2016-11-22 14:17:59 +01:00
Christian Amend
84a052dcfa
[OLINGO-888] Support Singletons in OData dispatcher
...
Contributed by Archana Rai via
https://issues.apache.org/jira/browse/OLINGO-888
2016-11-22 14:13:14 +01:00
Christian Amend
cc0a6a51a8
[OLINGO-1037] Support GeoTypes in Json
2016-10-19 14:33:34 +02:00
Christian Amend
5255c336eb
[OLINGO-1033] Add # for primitive type annotations
2016-10-18 15:58:13 +02:00
Klaus Straubinger
1600684d4f
[OLINGO-935] $apply as option for $expand should be possible
...
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-10-07 14:51:57 +02:00
Klaus Straubinger
72fcaa1a54
[OLINGO-1028] stricter multiplicity tests in expression parser + clean-up
...
Signed-off-by: Christian Amend <christian.amend@sap.com>
2016-09-29 16:31:24 +02:00