Commit Graph

306 Commits

Author SHA1 Message Date
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
Michael Bolz 493879173a Minor Bugfix: Double system query options result in server error 2014-09-30 11:19:29 +02:00
Klaus Straubinger 7e0b013cef better handling of parameters in server content negotiation
Change-Id: Ie2771940b3afea6efb3dc84f8322bc60069052d1

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-09-25 15:26:38 +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
Klaus Straubinger f947afc108 minor improvements
Change-Id: Ia9872a613f3221e2de885f9d325a14f3c50b4beb

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-09-25 15:25:55 +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 3ece19c964 [OLINGO-356] Rework EdmPrimitive Type exceptions 2014-09-03 11:05:24 +02:00
Michael Bolz a1621331c1 [OLINGO-350] Minor code clean up 2014-09-02 10:25:23 +02:00
Christian Amend a30d2f8214 [OLINGO-350] Delete printStackTrace in test 2014-08-29 15:11:35 +02:00
Christian Amend a0f8f356b2 [OLINGO-350] Transform exception to http status code 2014-08-29 15:00:56 +02:00
Michael Bolz b9d452740d [OLINGO-356] Minor code clean up 2014-08-15 06:26:22 +02:00
Michael Bolz cb7a8620c2 [OLINGO-348] Improved server exception handling 2014-08-14 14:08:08 +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
Francesco Chicchiriccò 7be1e99213 [OLINGO-399] Changing flush exception management done in OLINGO-369 2014-08-13 11:18:49 +02:00
Francesco Chicchiriccò 655dbb8c97 [OLINGO-399] ODataRuntimeException -> ODataResponseError 2014-08-11 11:13:30 +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
Christian Amend d19afa013b [OLINGO-348] Make Uri Parser exception translatable 2014-08-06 17:10:16 +02:00
Christian Amend 5c0b34a92d [OLINGO-350] Status code handling and refactoring 2014-08-06 17:10:15 +02:00
Christian Amend 795af6e38f [OLINGO-348] Exception handling refactoring 2014-07-31 11:06:46 +02:00
Klaus Straubinger 633ef32216 [OLINGO-317] more translatable exceptions
Change-Id: I7cf9ad31b0aa2b136e75133a901516fb02dd11bb

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-07-25 12:44:28 +02:00
Michael Bolz 327873253c [OLINGO-317] Translatable ODataSerializerException 2014-07-24 10:07:34 +02:00
Michael Bolz c75c29ce05 [OLINGO-317] Split ContextURL in parser and builder 2014-07-23 10:52:09 +02:00
Christian Amend c58109466f [OLINGO-348] Exception refactoring on server side 2014-07-22 16:45:14 +02:00
Christian Amend 984ca3412b [OLINGO-348] Exceptionhandling on server side and message texts 2014-07-22 16:45:13 +02:00
Michael Bolz 66097e3dd6 [OLINGO-356] Code clean up (warnings) 2014-07-22 15:11:34 +02:00
Michael Bolz 31e4913950 [OLINGO-317] Basic media entity support and more Constants usage 2014-07-17 10:40:54 +02:00
Michael Bolz 890628e047 Removed unused imports 2014-07-16 15:10:08 +02:00
Michael Bolz b9f4b3c64c [OLINGO-317] ContextURL integration 2014-07-15 15:43:43 +02:00
Christian Amend 8277130c71 [OLINGO-348] Move ODataApplication exception to server 2014-07-15 14:16:03 +02:00
Stephan Klevenz db149fd3b0 [OLINGO-343] javadoc target 2014-07-11 15:38:26 +02:00
Michael Bolz 210cf9b37d [OLINGO-317] Support for JSON variants in server serializer 2014-07-11 10:51:37 +02:00
Michael Bolz cadd647616 [OLINGO-356] Clean up code and fixed typos 2014-07-11 10:46:56 +02:00
Christian Amend d1e5d22654 [OLINGO-349] Use commons ODataError
Transformed the ODataError interface to a bean class and used it for
serialization and deserialization.
2014-07-10 15:48:02 +02:00
Christian Amend 9403aeced7 [OLINGO-349] ODataError serialization. Move to commons pending 2014-07-10 15:48:01 +02:00
vikram.pancholi 9469058193 [OLINGO-355] Adding generated source folder to server-core/pom.xml to fix compilation issue faced after eclipse import 2014-07-10 15:28:17 +02:00
Michael Bolz a82f399c5f [OLINGO-317] Added more data and tests 2014-07-10 13:06:58 +02:00
Michael Bolz 88cfce7e7f [OLINGO-317] Fixed NFE for query options 2014-07-10 13:00:30 +02:00
Michael Bolz 13d8d36f9b [OLINGO-317] Added DataProvider with data for TecSvc 2014-07-09 15:31:36 +02:00
Stephan Klevenz ba51433395 [OLINGO-338] - refactor ContentType and AccessType class 2014-07-09 14:51:03 +02:00
Michael Bolz 9fa6773d70 [OLINGO-317] Fixed test failure 2014-07-08 16:58:08 +02:00
Stephan Klevenz 51e8d3e8d8 [OLINGO-337] more fit tests 2014-07-08 15:37:48 +02:00
Michael Bolz 1d31f596a8 [OLINGO-342] Fixed typos in interfaces 2014-07-08 14:54:10 +02:00
Michael Bolz cc0d1a0e7c [OLINGO-317] Fixed test 2014-07-08 14:49:21 +02:00
Michael Bolz 45b7289f88 [OLINGO-317] Merge feature branch into master 2014-07-08 13:53:58 +02:00
Stephan Klevenz 811fff545c [OLINGO-337] merger origin/master 2014-07-08 10:10:36 +02:00
Stephan Klevenz aff42fcee5 [OLINGO-337] more tests and fixes 2014-07-08 10:07:16 +02:00
Michael Bolz 3ca91891bd [OLINGO-317] Integration into tecsvc 2014-07-08 09:18:14 +02:00
mibo d860717ed5 [OLINGO-317] Fix problem with DataTimeOffset in test 2014-07-07 13:41:34 +02:00
Michael Bolz eb2e3b78aa [OLINGO-317] Fix problem with Timezone in test 2014-07-07 08:43:59 +02:00
Stephan Klevenz 434246abe9 [OLINGO-337] javadoc 2014-07-04 12:18:24 +02:00
Stephan Klevenz d049864ea4 [OLINGO-337] refactor requestedContentType 2014-07-04 12:18:24 +02:00
Michael Bolz 66f26e5b6a [OLINGO-317] Merge with current master 2014-07-03 09:04:49 +02:00
Michael Bolz 876655fd26 [OLINGO-317] Minor code clean up in test 2014-07-03 07:32:25 +02:00
Michael Bolz da8cf726bf [OLINGO-317] Added collection type handling 2014-07-02 12:39:47 +02:00
Stephan Klevenz 2bd0662645 [OLINGO-328] refactoring, improvements & fit 2014-07-02 10:23:22 +02:00
Michael Bolz 71bdaed300 [OLINGO-317] Added complex type handling 2014-07-01 16:21:42 +02:00
Stephan Klevenz a51146a46f [OLINGO-328] refactoring 2014-07-01 15:07:46 +02:00
Stephan Klevenz b97226b059 [OLINGO-328] refactoring 2014-07-01 10:22:29 +02:00
Stephan Klevenz 2ab4b2fdba [OLINGO-328] code cleanup and checkstyle issues 2014-06-30 16:56:39 +02:00
mibo 839e96045a [OLINGO-317] Added additional tests 2014-06-30 15:15:28 +02:00
Stephan Klevenz 130c99c939 [OLINGO-328] refactor 2014-06-30 14:02:15 +02:00
Stephan Klevenz 314408648d [OLINGO-328] all cases implemented 2014-06-30 13:56:45 +02:00
Stephan Klevenz 2355bf8d17 [OLINGO-328] Merge remote-tracking branch 'origin/master' into olingo328 2014-06-30 09:22:00 +02:00
Michael Bolz 8221545085 [OLINGO-317] Minor bugfixes 2014-06-30 07:27:15 +02:00
Stephan Klevenz acc12ff742 [OLINGO-328] refactor content negotiation 2014-06-27 17:33:20 +02:00
Michael Bolz a2874142c5 [OLINGO-317] Refactoring of 'Value-classes' 2014-06-27 14:25:30 +02:00
Stephan Klevenz 97222fad31 [OLINGO-328] API design and setup of TDD 2014-06-24 17:21:11 +02:00
Stephan Klevenz 77af7dfab0 [OLINGO-328] refactor EntitySetProcessor to CollectionProcessor 2014-06-24 12:21:34 +02:00
Michael Bolz 37abba5f0e [OLINGO-317] Merged the format ENUMs 2014-06-13 15:26:16 +02:00
Michael Bolz 70afb2acc5 [OLINGO-317] Finished DeSerializer refactoring 2014-06-11 14:29:57 +02:00
mibo 46a3417825 [OLINGO-317] First presentable state 2014-06-09 14:43:34 +02:00
Stephan Klevenz f68aa54e12 [OLINGO-313] version header support 2014-06-03 16:29:59 +02:00
Christian Amend dd1e5b0d9e [OLINGO-266] Entity and EntitySet dispatching 2014-06-03 14:30:03 +02:00
Stephan Klevenz 85fb12ad83 [OLINGO-266] make metadata fit work 2014-06-02 13:13:58 +02:00
Stephan Klevenz e57edd71dd [OLINGO-266] fit metadata and service document 2014-05-26 10:58:11 +02:00
Stephan Klevenz 44e0c6495a [OLINGO-266] redirect support 2014-05-23 09:33:08 +02:00
Stephan Klevenz a9ed465516 [OLINGO-266] processor registry 2014-05-22 12:34:23 +02:00
Christian Amend c93b648b0b [OLINGO-266] Fix response sending 2014-05-19 17:16:57 +02:00
Stephan Klevenz 7f5a119e42 [OLINGO-266] TDD for metadata & service doc 2014-05-19 14:27:05 +02:00
Stephan Klevenz 0c32f1a56f [OLINGO-266] TDD for metadata & uri handling 2014-05-19 14:27:05 +02:00
Stephan Klevenz 181bd26454 [OLINGO-266] OData handler + service document test 2014-05-19 14:27:04 +02:00
Stephan Klevenz 92ad3423a9 [Olingo-266] clean up 2014-05-19 14:27:04 +02:00
Stephan Klevenz bb48147bc2 [OLINGO-266] ODataHandler 2014-05-19 14:27:04 +02:00
Stephan Klevenz f92ab0a0ec [OLINGO-266] ODataHandler 2014-05-19 14:27:04 +02:00
Stephan Klevenz 089a312307 [OLINGO-266] pom maintenance 2014-05-19 14:27:03 +02:00
Stephan Klevenz 04a9ad46c5 [OLINGO-266] log&trace 2014-05-09 16:56:44 +02:00
Stephan Klevenz 7ba791e542 [OLINGO-266] first draft of ref handler 2014-05-09 16:28:16 +02:00
Stephan Klevenz 54aef88664 [OLINGO-266] initial reference scenario servlet 2014-05-09 14:22:51 +02:00