Commit Graph

306 Commits

Author SHA1 Message Date
Christian Holzer 42dc396c86 [OLINGO-581] Uri parser handles duration literals without time part
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-02-20 14:19:28 +01:00
Klaus Straubinger 03ad0444fa [OLINGO-545] support for navigation in technical service
Change-Id: I53e0330d9d8d73a868361c26569b992cb0bb91f3

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-02-17 16:32:57 +01:00
Christian Amend 90781859bd [OLINGO-578] Deserialize enum values as strings 2015-02-17 15:54:15 +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
Christian Amend 5ca6b1158d [OLINGO-554] Unit tests for Context URI Builder
To assert that the current Context URI Builder is capable of producing
Context URIs for FunctionImports.
2015-02-03 16:15:15 +01:00
Klaus Straubinger 72018d0cb7 Server deserializer error should result in status code 400
Change-Id: I2b22fc7aa50285d4e91b0bbb500635a3fb957df0

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-01-27 14:13:05 +01:00
Klaus Straubinger 483b417cf0 [OLINGO-545] Entity-update implementation in technical service
Change-Id: Id4ce3725a6788fd3230f5ff7bd96d2d2b620d730

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-01-27 12:06:17 +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 f2ed0ddb09 [OLINGO-530] Fix edm properties and refactor some method names` 2015-01-22 10:53:42 +01:00
Michael Bolz f7c3bee435 Minor refactorings
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-01-22 10:22:26 +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 Holzer af64cb1fa9 [OLINGO-538] Fix: MetadataDocumentXmlSerializer serializes abstract property of complex types
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-01-19 10:58:31 +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 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 3fd3843662 [OLINGO-482][OLINGO-507] Merge branch 'OLINGO-507_MinorRefactoring' 2015-01-14 08:00:31 +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
Christian Holzer c096bbf15c [OLINGO472] BatchResponseWriter tests improved
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-01-12 15:13:44 +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
Michael Bolz 6b0d6d2544 [OLINGO-507] Split 'handleResourceDispatching' into several smaller methods 2015-01-08 14:22:19 +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
Christian Holzer 0b862cd68e [OLINGO-486] Abstract EdmEntities without keys do not hand down their empty key set
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-12-16 19:03:36 +01:00
Michael Bolz 58b3896f7d [OLINGO-468] Fixed javadoc warning in lib 2014-12-16 14:26:41 +01:00
Christian Holzer 65ad2f48d5 [OLINGO-472] BatchFascade refactoring to support boundary extraction
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-16 13:03:27 +01:00
Christian Amend 55c4d69d8d Merge branch 'master' into batchrefactor
Conflicts:
	lib/server-api/src/main/java/org/apache/olingo/server/api/processor/BatchProcessor.java
	lib/server-core/src/test/java/org/apache/olingo/server/core/batchhandler/MockedBatchHandlerTest.java
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalBatchProcessor.java
2014-12-16 10:49:17 +01:00
Christian Holzer aab7eaf6e3 Fit Tests
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-16 10:34:18 +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
Christian Holzer 5f18ea2e09 [OLINGO-499][OLINGO-501] Serialization of complex collections works properly
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-12-09 15:37:13 +01:00
Christian Holzer ace57fd586 [OLINGO-472] Absolute Uris are allowed, if the base path is literally equals
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-09 10:12:39 +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
Christian Holzer 297950a8d0 [OLINGO-472] Absolute Uris are not longer allowed
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-03 16:20:56 +01:00
Christian Holzer 520acbce85 [OLINGO-472] Refactoring Batch API
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-03 16:20:13 +01:00
Christian Holzer babc3a6154 [OLINGO-472] BatchDeserializer refactoring
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-25 16:36:59 +01:00
Christian Holzer 402e847a8c [OLINGO-472] IOExceptions, ChangeSetSorter removed
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-20 16:51:04 +01:00
Christian Amend 51acf8aebf [OLINGO-472] Batch Refactoring 2014-11-18 15:45:37 +01:00
Christian Amend 4f820fe533 Merge branch 'master' into olingo472
Conflicts:
	lib/server-core/src/main/java/org/apache/olingo/server/core/ODataHandler.java
	lib/server-core/src/main/resources/server-core-exceptions-i18n.properties
	lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/TechnicalProcessor.java
2014-11-13 17:27:36 +01:00
Christian Holzer ad177ac11e Api Refactoring
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:11:02 +01:00
Christian Holzer bc46b5352e Test added to MockedBatchHandlerTest
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:11:01 +01:00
Christian Holzer 4ff5fb9c8c Batch IT test case
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:11:00 +01:00
Christian Holzer 5f4eb03df3 Merge method removed
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:59 +01:00
Christian Holzer bb4b554116 Tests added
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:58 +01:00
Christian Holzer 6c7d11f4d7 Batch handler clean up
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:57 +01:00
Christian Holzer 0bd32951b8 MockedBatchHandler Test
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:56 +01:00
Christian Holzer ee2451cbd0 Changeset Sorter
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:55 +01:00
Christian Holzer 15bd15267a Tech Servlet
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-13 17:10:54 +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
Christian Holzer 32247295fc [OLINGO-472] BatchParser first draft
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-11-03 14:46:08 +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
Michael Bolz d84f843f22 [OLINGO-468] Minor code clean up 2014-10-23 14:38:17 +02:00
Klaus Straubinger 9e5b284a57 [OLINGO-444] improved server content negotiation
Change-Id: I30f53dc05eec9ff669a029f1382a37dd220abe94

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-23 10:22:19 +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 87f0f06a39 [OLINGO-456] Removed deprecated classes 2014-10-13 08:18:53 +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
Michael Bolz 42043f4643 [OLINGO-457] Fixed paths 2014-10-10 11:01:49 +02:00
Michael Bolz ef0553a025 [OLINGO-444] Minor improvements 2014-10-10 08:11:16 +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