Commit Graph

196 Commits

Author SHA1 Message Date
Christian Holzer f6fa1eeca7 [OLINGO-590] Fix: Single value navigation properties with null values will be correctly deserialized 2015-03-12 16:52:19 +01:00
Klaus Straubinger 8b4947b868 [OLINGO-557] better system query option validation
Change-Id: I7af14e24a3a1c8e4404b2296c16d2d5d2f8f42b5

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-11 17:01:29 +01:00
Klaus Straubinger 8edba8f8c9 [OLINGO-553] Allow system query options for functions returning entity collections
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-03-11 14:42:04 +01:00
Michael Bolz fadb6c861e [OLINGO-575] Minor code clean up 2015-03-10 09:47:57 +01:00
Christian Amend 4acc6bfbc6 [OLINGO-575] Remove java warnings part 2 2015-03-09 14:54:54 +01:00
Christian Amend f46364072a [OLINGO-575] Delete unnecessary casts 2015-03-06 18:21:02 +01:00
Christian Amend 07c37106ed [OLINGO-575] Cleanup ServiceVersion Enum part 2 2015-03-06 14:53:36 +01:00
Klaus Straubinger 33c1f02c07 [OLINGO-557] better server dispatching for functions
Change-Id: I4581fb226870672d2b2ff10617a97a40dd9543e3

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-06 10:00:38 +01:00
Christian Amend 3c36eaeaef [OLINGO-575] Delete V3 Primitive types 2015-03-05 10:33:35 +01:00
Klaus Straubinger 93f2ed5cf2 [OLINGO-557] Some function imports for technical service
Change-Id: I4f6589672eed8c70dd138d74f09dbd3caddf6cfb

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-03-05 09:10:43 +01:00
Christian Amend 0d57a0763a [OLINGO-575] Start merging ComplexValue and LinkedComplexValue 2015-03-04 17:13:55 +01:00
Christian Amend 90781859bd [OLINGO-578] Deserialize enum values as strings 2015-02-17 15:54:15 +01:00
Christian Holzer 0a1c1298ef [OLINGO-545] Added data to TecSvc
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-02-13 10:31:16 +01:00
Christian Amend 9cf9490310 [OLINGO-566] Refactor EdmKeyPropertyRef class 2015-02-06 16:54:55 +01:00
Christian Amend b7d2c5f441 [OLINGO-558] Introduce EdmMapping for deserialization 2015-02-06 14:13:24 +01:00
Klaus Straubinger 6c74d3fee5 [OLINGO-564] Small fixes in server URI parser
Change-Id: I8327241497779234b576ef4db744ea55f55528ac

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-02-06 09:30:00 +01:00
Michael Bolz 15df71c85e [OLINGO-542] Set version to '4.0.0-beta-03-SNAPSHOT' 2015-01-29 22:27:59 +01:00
Michael Bolz 6c89cf5117 [OLINGO-542] Set version to '4.0.0-beta-02' 2015-01-29 21:42:46 +01:00
Michael Bolz 3d657f08ca [OLINGO-542] Set version to '4.0.0-beta-02-RC01' 2015-01-26 20:10:49 +01:00
Michael Bolz de3f3453b7 [OLINGO-530] Extended test scenario EDM and added more test cases 2015-01-26 10:56:10 +01:00
Michael Bolz e827ce1226 [OLINGO-530] Changed default value for Nullable attribute 2015-01-23 15:08:27 +01:00
Christian Amend 5a95029d70 [OLINGO-530] Refactor Edm TechScenario Names again 2015-01-22 15:17:30 +01:00
Christian Amend ce76e2ddd3 [OLINGO-530] Finalize Deserialization 2015-01-22 12:25:28 +01:00
Christian Amend 6a6730fbaa [OLINGO-530] Refactor Edm Names again 2015-01-22 11:14:53 +01:00
Christian Amend a0ebaef72a [OLINGO-530] New Edm Entity Type for Deserializer tests 2015-01-21 17:16:03 +01:00
Christian Amend 5e9fa5431d [OLINGO-530] Bind Operation and tests 2015-01-21 10:00:48 +01:00
Christian Amend b6c1e347c7 [OLINGO-530] Tests and JsonType Validation 2015-01-19 15:47:19 +01:00
Christian Amend 2591c86c82 [OLINGO-530] Additional Tests for deserialization 2015-01-16 17:35:18 +01:00
Christian Amend 121c7d7129 [OLINGO-534] Ignore odata.type annotation and more tests 2015-01-16 16:19:04 +01:00
Christian Amend b32bfd9a1f [OLINGO-530] Fix checkstyle issues from previous commit 2015-01-14 15:04:31 +01:00
Christian Amend 8ae469681c [OLINGO-530] Change name of method to EntityCollection 2015-01-14 14:48:34 +01:00
Christian Amend 2ac6ba18bb [OLINGO-530] Entity and EntitySet deserialization 2015-01-14 09:21:08 +01:00
Michael Bolz ab39763f3e [OLINGO-482] Added test case 2015-01-14 09:14:36 +01:00
Michael Bolz 40e0ae5ecd [OLINGO-507] Created seperate Action_ interfaces 2015-01-14 06:34:52 +01:00
Michael Bolz 2f6b35ff59 [OLINGO-507] Added methods and tests for ActionImports support 2015-01-12 15:20:57 +01:00
Michael Bolz 186d67241d [OLINGO-507] Changes and test for FunctionImports support 2015-01-12 10:15:06 +01:00
Michael Bolz b441a524b6 [OLINGO-507] (First) Changes for Function/Action support 2015-01-09 15:08:13 +01:00
Klaus Straubinger 883c89c140 [OLINGO-507] nearly complete server dispatching
Change-Id: I4c337f5e8f9b3caeaa14fc658464baa3f4bf1df8

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-19 16:35:31 +01:00
Christian Amend 574a65037a [OLINGO-523] Use Alias in metadata document 2014-12-19 13:59:11 +01:00
Christian Amend 397fbc5e3e [OLINGO-542] Reported bug cannot be reproduced 2014-12-18 14:23:04 +01:00
Klaus Straubinger 56cc9bb6ca improved server support for property deletion
Change-Id: I1b79ab735bdf5e020970096bbea51a2af6a13bbc

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-18 11:01:31 +01:00
Christian Amend 8f794ac475 [OLINGO-522] Fix for abstract entity types in metadata document 2014-12-17 15:48:19 +01:00
Klaus Straubinger 0d310f01e2 [OLINGO-507] server dispatcher improvements
Change-Id: I9f65b0d7d9374b8bd136616b576320bf73518441

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-17 14:11:35 +01:00
Michael Bolz 03c2770202 [OLINGO-482] More refactoring 2014-12-15 16:13:19 +01:00
Michael Bolz 0a5081271b [OLINGO-482] Merge branch 'OLINGO-482-ReFactor-Processor-Interfaces' 2014-12-15 13:23:35 +01:00
Klaus Straubinger da4d754892 [OLINGO-507] server support for entity-media create
Change-Id: I71f246e72c02fd9df04a8c6b0a8170cdf8e9b6f6

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-12 15:08:30 +01:00
Michael Bolz a961214d1f [OLINGO-482] Added new Processor Interfaces 2014-12-10 14:57:47 +01:00
Michael Bolz aee1ebe372 [OLINGO-482] Refactor Processor Interfaces 2014-12-10 08:27:58 +01:00
Klaus Straubinger 19a7738a71 [OLINGO-507] server support for reading, changing, and deleting media entities
Change-Id: Ibe16c54cf68e25f0c1e8fb19c212d7c312f5ca85

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-05 14:36:06 +01:00
Klaus Straubinger c2c8bf1960 [OLINGO-485] refactored server serializers
Change-Id: Ida1f2b24885d2a43063bed766d93223c96079d9a

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-11-13 10:57:28 +01:00
Klaus Straubinger dd22756942 [OLINGO-482] renamed server processor interfaces and methods
Change-Id: I0ff38b194bafab5a802adedf80dfe97ffff82202

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-11 12:49:59 +01:00
Klaus Straubinger 300250af3c [OLINGO-482] non-standard HTTP MERGE not to be used in server part
Change-Id: I425dd5b79617ca7f1a56818d0bb106611792ebd5

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-07 14:49:31 +01:00
Klaus Straubinger a405e5b4b5 [OLINGO-482] split server processor interfaces + improved dispatching
Change-Id: Ie57a469299e73662838307f1b96b558d3beb723d

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-07 14:48:26 +01:00
Klaus Straubinger 3e11738125 correct context URL for server property responses
Change-Id: Ie262212ab1ec1a0b9067770ff3b13eb14f216e53

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-31 14:19:47 +01:00
Klaus Straubinger 357e8b654b [OLINGO-468] better error message for wrong keys in server URI parser
Change-Id: I8add3bbb0fc53670e85a86f59f1e7151214fd88c

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-30 12:50:39 +01:00
Klaus Straubinger b5e40fdfa4 better key validation in server URI parsing
Change-Id: Iab5d223e518af369dad046b4ea499e61bfaab7d0

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-27 09:24:58 +01:00
Klaus Straubinger 1e578d7261 error at property path after collection in resource path
Change-Id: I9213c0cc65a082ab7b4feb5a959260e39b56fb64

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-24 07:35:54 +02:00
Klaus Straubinger 096946a70d improved server metadata and tests
Change-Id: I8d69c68a83aec32c03d15fceb3b6a2a204730ff7

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-16 13:55:36 +02:00
Michael Bolz 2fbab6524e [OLINGO-422] Minor refactoring for EdmxReference* 2014-10-16 10:57:26 +02:00
Klaus Straubinger ca4449f2b2 [OLINGO-423] no '*' imports + minor documentation fix
Change-Id: I5f7f5a5bcd73efb22de95ea4208f2f9be7739089

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-14 10:52:59 +02:00
mibo 3b9eb2fb8a [OLINGO-428] Fixed optional alias attribute for Schema 2014-10-14 09:49:20 +02:00
Michael Bolz fd033d7dec [OLINGO-423] Added convenience and tests 2014-10-13 15:23:22 +02:00
Michael Bolz e3121831b4 [OLINGO-423] Added implementation 2014-10-13 14:59:00 +02:00
Michael Bolz 188574f5c3 [OLINGO-423] Refactoring for EdmxReferenceHandling 2014-10-11 09:50:15 +02:00
Klaus Straubinger cf032b690c "bad request" for not existing properties in expressions
Change-Id: I4061e0d4dd9de3c6fe1419eb5a7a0fdee88c62c2

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-10 11:13:58 +02:00
Ramesh Reddy bc0129490b [OLINGO-444] - Adding the ablity to add key predicates to Context URL - Fixed the wrong ContextURL with readProperty in TechnicalProcessor class - Added unit tests for ContextURL, and integration tests for PropertyProcessor's readProperty & readPropertyValue methods
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-08 11:02:09 +02:00
mibo 541d76652e [OLINGO-434][OLINGO-435] Merge branch 'Olingo-434-435' 2014-10-07 22:43:17 +02:00
Klaus Straubinger 03475605eb catch for bad characters in server URI parsing
Change-Id: I8bff20757e4cb0060d7b613e8d79f9580fc3a267

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-07 15:46:45 +02:00
Michael Bolz 5c237fbe57 [OLINGO-434] Added optional WSP between MINUS and property 2014-10-07 15:43:04 +02:00
Michael Bolz 4a4b110f99 [OLINGO-434] Fixed wrong MINUS position in Antlr file 2014-10-07 15:28:52 +02:00
Ramesh Reddy d3dac46edc OLINGO-434, OLINGO-435: Adding support to navigate Unary and Alias segements of parsed URL in UriParseTreeVisitor
Signed-off-by: mibo <mibo@apache.org>
2014-10-06 19:35:20 +02:00
mibo 6fbdb78345 [OLINGO-444] Merge into master 2014-10-06 10:15:44 +02:00
Christian Amend 5af9f46d41 [OLINGO-447] Improve ODataHttpHandler and ODataHandler 2014-10-02 17:08:53 +02:00
Michael Bolz 1971a90c79 [OLINGO-444] Introduced PropertyProcessor and adapted related classes 2014-10-02 15:24:31 +02:00
Klaus Straubinger aaa0916188 better segment handling in server URI parser
Change-Id: Id9b20d66f878c44c3d60cc5cfc2214d3692e1603

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-02 14:37:03 +02:00
Ramesh Reddy afebbbbb67 OLINGO-444, OLINGO-445: Adding support for addressing a individual property (primitive, complex) and aslo ability to retrive the bare value using
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-02 08:40:17 +02:00
Michael Bolz 11bee5dc0e [OLINGO-438] Renamed EntityCollectionProcessor 2014-10-01 22:06:08 +02:00
Michael Bolz aac77f05ae [OLINGO-438] Added count support for entity set 2014-10-01 13:55:29 +02:00
Michael Bolz 0eb95ed72b Minor Bugfix: UriParserSyntaxException in case of wrong percentence 2014-09-30 12:35:22 +02:00
Michael Bolz 493879173a Minor Bugfix: Double system query options result in server error 2014-09-30 11:19:29 +02:00
Klaus Straubinger 788036db25 better server error messages in case of $format errors
Change-Id: If4495f5c91086618ee7d3824339aa5e7b99ff76c

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-09-25 15:26:24 +02:00
Michael Bolz 5f5060fdc1 [OLINGO-422] Merge branch 'OLINGO-422-SelectExpandSupport' 2014-09-23 14:42:38 +02:00
Michael Bolz 0dbd53d8dc [OLINGO-342] Set development version to 4.0.0-beta-02-SNAPSHOT 2014-09-23 09:44:29 +02:00
Michael Bolz 9e422a283e Set release version to '4.0.0-beta-01' 2014-09-23 09:06:15 +02:00
Michael Bolz 6c963396cc [OLINGO-342] Set version to 4.0.0-beta-01-RC02 2014-09-19 13:40:32 +02:00
Michael Bolz 588ae2a70c [OLINGO-422] Minor code refactorings and fixes 2014-09-17 10:53:33 +02:00
mibo a1d9f747b8 [OLINGO-422] More support for expand and select in ContextURL 2014-09-17 06:32:28 +02:00
Michael Bolz 825b7db6b1 Set version to '4.0.0-beta-01-RC01' 2014-09-12 13:46:39 +02:00
Michael Bolz 461cdbbe23 [OLINGO-422] Added ODataSerializerOptions 2014-09-12 09:52:32 +02:00
Michael Bolz b41129cf91 [OLINGO-422] Support for expand in server serializer 2014-09-11 14:05:43 +02:00
Michael Bolz 134a575a17 [OLINGO-342] Renaming for release 2014-09-11 12:43:34 +02:00
Michael Bolz 1976c3407d [OLINGO-422] Select for server serializer 2014-09-08 09:04:14 +02:00
Michael Bolz dff439fd7b [OLINGO-356] Renamed namespace for technical service 2014-09-05 07:05:12 +02:00
Christian Amend a0f8f356b2 [OLINGO-350] Transform exception to http status code 2014-08-29 15:00:56 +02:00
Klaus Straubinger 931f1324e6 [OLINGO-356] removed several warnings + code clean-up
Change-Id: Id7a6ede6309e6f1109a0ded6df9c436df2449764
2014-08-15 13:08:31 +02:00
Klaus Straubinger 0a80d5146b translatable texts for all server exceptions
Change-Id: I132aaedb302b7af7ba3457d978569d33a1399d6e

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-08-13 14:35:42 +02:00
Michael Bolz bc1d13929a [OLINGO-342] Changed version to 4.0.0-beta-01-SNAPSHOT 2014-08-11 10:07:44 +02:00
Michael Bolz 5f4d0507e8 [OLINGO-396] Added stricter check for $format in uri 2014-08-11 07:54:42 +02:00
Michael Bolz 266c7b4ae8 [OLINGO-356] Content negotiation change for custom format 2014-08-07 13:49:43 +02:00
Michael Bolz 9048d725a2 [OLINGO-356] URIParser untit tests check error message key 2014-08-07 13:31:50 +02:00