Commit Graph

868 Commits

Author SHA1 Message Date
Michael Bolz de3f7fd3e7 [OLINGO-573] Merge branch 'master' into OLINGO-573 2015-04-01 13:17:12 +02:00
Michael Bolz 26be7d2e7c [OLINGO-612] Changed 'is*' behavior for Valuable 2015-04-01 11:02:53 +02:00
Christian Holzer 15cfa375e8 [OLINGO-545] TecSvc EDM enhanced 2015-03-31 18:48:35 +02:00
Ramesh Reddy 2b73abcce0 OLINGO-573: New processing framework on server side with single interface with TripPin as example 2015-03-31 10:55:01 -05:00
Christian Amend 3e8c50646e [OLINGO-603] Refactor action parameter deserialization part 1 2015-03-31 14:42:08 +02:00
Christian Amend d94edf568c [OLINGO-595] Make EdmProvider an Interface 2015-03-31 13:47:15 +02:00
Christian Holzer 92e201b0a8 [OLINGO-609] Fix: ODataJsonDeserializer 2015-03-31 12:52:02 +02:00
Christian Amend 62f100148a [OLINGO-575] Finish Edm Refactoring 2015-03-30 15:14:40 +02:00
Christian Holzer af1417b3c7 [OLINGO-545] TecSvc EDM enhanced 2015-03-27 17:10:07 +01:00
Klaus Straubinger 6d41513f47 [OLINGO-603] deserialization of action parameters
Change-Id: I49a0a39eb25eb34cf856d723c019afac304111f0

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-27 16:46:07 +01:00
Christian Amend 898d745bf5 [OLINGO-575] Edm Cleanup part 2 2015-03-27 16:44:14 +01:00
Christian Holzer 4d8a2a405e [OLINGO-545] The DataProvider supports collections of complex properties 2015-03-27 14:52:42 +01:00
Michael Bolz 16b94eb47e [OLINGO-575] Edm cleanup: Remove EdmAnnotationHelperImpl 2015-03-27 13:45:00 +01:00
Klaus Straubinger 4f33c704cf [OLINGO-603] dispatcher improvements
Change-Id: Ic4fbb99fbce1c23d41df36ddc090f2b7f2ec1c22

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-27 10:42:36 +01:00
Christian Holzer 6421f54803 [OLINGO-545] System query options also applies to entity requests 2015-03-26 15:13:50 +01:00
Christian Holzer 0113414e26 [OLINGO-600] Fix: OData client deserializer processes all navigation
properties
2015-03-26 15:03:27 +01:00
Michael Bolz fcab8b0672 [OLINGO-575] Edm cleanup: Remove not necessary helper 2015-03-26 07:33:23 +01:00
Christian Amend 4d059b94d6 [OLINGO-575] Edm cleanup part 1 2015-03-25 17:19:42 +01:00
Christian Amend 3a6293b6a5 [OLINGO-575] Star deleting unnecessary abstract edm classes 2015-03-25 14:48:26 +01:00
Christian Amend 009217602a [OLINGO-575] Cleanup Imports 2015-03-24 14:08:36 +01:00
Klaus Straubinger 926373bcd4 [OLINGO-603] new ActionVoidProcessor for actions with no return type
Change-Id: Icc9d05bbc33f1449bc43fd1c82677cd0500ce00f

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-24 10:33:47 +01:00
Michael Bolz c8d49029f2 [OLINGO-575] Refactored last parts of JSON deserializer 2015-03-24 09:53:44 +01:00
Michael Bolz 7ef2d2de4f [OLINGO-575] More Tests and refactoring of JSON deserializer 2015-03-23 10:22:33 +01:00
Michael Bolz 2fa997a8f1 [OLINGO-575] Refactore JSON deserializer
Conflicts:
	lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/AnnotationImpl.java
	lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/NavigationPropertyDeserializer.java
2015-03-22 21:12:25 +01:00
Christian Holzer eb8836e9a6 [OLINGO-545] small fix in technical service 2015-03-20 07:39:51 +01:00
Christian Amend e26346dc31 [OLINGO-575] Some todos and pojogen refactoring 2015-03-19 17:13:18 +01:00
Christian Holzer 4f15c7c724 [OLINGO-545] Expand supports the system query options $top, $skip, $filter, $orderby, $select 2015-03-19 15:56:08 +01:00
Christian Holzer b98275153a [OLINGO-596] Fix: The client URIBuilder uses semicolons instead of commas
to split system query options in expand options
2015-03-19 15:55:01 +01:00
Christian Amend a42641f70e [OLINGO-575] Delete V3 Concurrency mode objects 2015-03-18 16:14:19 +01:00
Christian Amend 3b37d29948 [OLINGO-575] Cleanup of TODOs 2015-03-18 14:35:45 +01:00
Christian Amend 5cef4faeb6 [OLINGO-575] Merge EdmImpl classes 2015-03-18 13:55:50 +01:00
Klaus Straubinger 36219d3258 [OLINGO-557] small fix in technical service
Change-Id: I12b8e4ca94b7db28cae77a5fb173a4d90075fda6

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-17 14:25:18 +01:00
Klaus Straubinger 200dac0a2c [OLINGO-557] even better system query option validation
Change-Id: I1406a198e049020ec9f02f18203fd9dede48e2ac

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-17 14:22:28 +01:00
Christian Amend 8a58a67800 [OLINGO-575] Merge edm provider classes 2015-03-17 14:20:49 +01:00
Christian Holzer 4768048fba [OLINGO-545] Single valued navigation properties can be null 2015-03-12 16:52:40 +01:00
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
Christian Holzer 3eeffe6d29 [OLINGO-545] Empty entity sets added 2015-03-11 11:18:55 +01:00
Michael Bolz ced93e8f9f [OLINGO-545] Minor fix 2015-03-11 08:43:28 +01:00
Michael Bolz 31c6716fcb [OLINGO-584] Minor exceptions clean up 2015-03-11 06:12:37 +01:00
Michael Bolz 65166b4112 [OLINGO-553] Fixed dispatching for FunctionImport 2015-03-10 14:21:17 +01:00
Michael Bolz ae165feedc [OLINGO-575] Minor code clean up remove unused imports 2015-03-10 11:10:48 +01:00
Michael Bolz fadb6c861e [OLINGO-575] Minor code clean up 2015-03-10 09:47:57 +01:00
Christian Amend e1997e8e07 [OLINGO-575] Remove java warnings part 4 2015-03-09 16:02:25 +01:00
Christian Amend 422d4a6ea4 [OLINGO-575] Remove java warnings part 3 2015-03-09 15:36:52 +01:00
Christian Holzer 436a431a25 [OLINGO-545] Tests added to TecSvc, changed the status codes of failed navigation property bindings 2015-03-09 15:17:29 +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
Klaus Straubinger 9a666bd957 [OLINGO-557] more function imports for technical service
Change-Id: If789d9f289ebc71a4bc98df6998d319a355593ae

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-03-06 15:47:56 +01:00
Christian Amend be7f0fd1db [OLINGO-575] Cleanup todos 2015-03-06 15:14:19 +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 a3789c7cce [OLINGO-575] Cleanup service version enum 2015-03-05 16:50:55 +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 033f35d617 [OLINGO-575] Rename getV4 method to getClient 2015-03-03 14:06:49 +01:00
Christian Amend 68ddcaf37f [OLINGO-575] Fix xhttp header test 2015-03-03 10:28:03 +01:00
Christian Amend f38d54dcf3 [OLINGO-575] Delete abstract client class 2015-03-02 15:55:14 +01:00
Christian Amend 55c7d10737 [OLINGO-575] Continue merging 2015-02-27 16:52:48 +01:00
Christian Amend 4833b45c2f [OLINGO-575] Continue removing common classes 2015-02-27 16:12:24 +01:00
Christian Amend 68b14ffe4e [OLINGO-575] Start removing unnecessary common classes in client 2015-02-27 15:24:29 +01:00
Christian Amend d088866e97 [OLINGO-575] Delete EDM abstract classes 2015-02-27 14:17:11 +01:00
Michael Bolz 59766b23b9 [OLINGO-564] Minor clean up 2015-02-26 10:18:26 +01:00
Christian Holzer 7a4b562724 [OLINGO-545] Deep Insert and Navigation Property Binding while creating and updating entities added
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-02-26 09:14:43 +01:00
Christian Holzer 4c23cd9d8c [OLINGO-585] Method to get the key predicates from Entity binding links added
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-02-26 09:14:24 +01:00
Christian Holzer 2ebdea806c [OLINGO-545] Count, Skip, Top System Query Options and Server-Driven Paging added to TecSvc
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-02-26 09:13:54 +01:00
Michael Bolz 394d0f8169 [OLINGO-575] Merge abstract with single impl classes 2015-02-23 15:24:02 +01:00
Michael Bolz 8955af75ce [OLINGO-575] Merge common with specific api in commons module 2015-02-23 13:36:52 +01:00
Christian Holzer 0e6c9a1183 [OLINGO-545] OrderBy and Filter System Query Option evaluation added to TecScenario
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-02-20 14:23:32 +01:00
Christian Holzer cfb72decd1 [OLINGO-577] Fix: Invalid encoding of space characters
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-02-20 14:22:46 +01:00
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
Christian Amend 111239d7c3 [OLINGO-575] Merge v4 packages in commons 2015-02-18 16:52:10 +01:00
Christian Amend 109c33ba39 [OLINGO-575] Move v4 package content one package up 2015-02-18 16:33:56 +01:00
Christian Amend c8865db8e8 [OLINGO-575] Delete V3 sources from master 2015-02-18 15:01:25 +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 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
Klaus Straubinger 6c4b3ea408 [OLINGO-545] support for entity creation in technical service
Change-Id: I6112550db5ab73c5f189e8c3a91354c9e43284de

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-02-06 15:26:23 +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 6e90b617ab [OLINGO-557] Deactivate Function Imports for TecSvc 2015-02-06 09:24:41 +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
Christian Holzer 35a1e12354 [OLINGO-540] Fix: AtomDeserializer causes no invite loop while deserializing empty inline entities/feeds
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-01-26 13:57:19 +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
Klaus Straubinger 6c894d7b66 Correct choice of JSON variant in client
Change-Id: I63922b7719c18930a7d640dca17e404a5939c445

Signed-off-by: Christian Amend <chrisam@apache.org>
2015-01-22 12:31:40 +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 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 0aad7c037c [OLINGO-530] Javadoc and cleanup unused imports 2015-01-14 15:53:24 +01:00
Christian Holzer 1c735e89b3 [OLINGO-511] Navigation property reference improved
Signed-off-by: Christian Amend <chrisam@apache.org>
2015-01-14 15:32:12 +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 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
Klaus Straubinger 6d9ac226df [OLINGO-507] server support for property delete
Change-Id: Ie2c3107204f59d34e37d919d275a2e0cf998cb3f

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-17 15:49:34 +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
Michael Bolz 47c1851273 [OLINGO-482] Fixed JavaDoc warnings in commons API 2014-12-16 14:26:40 +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 01677f70fa [OLINGO-482] Fixed JavaDoc warnings in API 2014-12-16 10:09:54 +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 2318ffad20 [OLINGO-472] Client refactoring
Signed-off-by: Christian Amend <chrisam@apache.org>
2014-12-09 10:13:36 +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
Klaus Straubinger af464e2cab [OLINGO-444] error from tech. service for property values not found
Change-Id: Id886548287a4e622cc0157c19343b2decf228cae

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-23 15:31:12 +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 35f24e98f0 [OLINGO-422] type guessing in client deserializer also for collections
Change-Id: Id5b6e6b6b41f310d2ed3a3227824a55d5497f18a

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-20 06:30:18 +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 7f86b264f0 [OLINGO-422] FIT test - recognition of inlined entities/entitysets in EDM-enabled client
Change-Id: If2dae9882209616963b4a1459c8b8a1b923a8dc4

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-14 19:21:46 +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
Klaus Straubinger 169651531c [OLINGO-447] Better key access in technical service
Change-Id: I8a953aedc7f05d10c239e45655760df879122027

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2014-10-09 09:47:38 +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 e7bcaf0687 use processor exceptions in technical service
Change-Id: I8dc53d6450d24bfde8198d46e6bf18964926f1fe

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-07 16:25:15 +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
Christian Amend 9c60663523 [OLINGO-260] Delete the HttpMethods in client and use the ones in commons 2014-10-06 17:06:20 +02:00
Klaus Straubinger d1bca47144 better entity access in technical service data provider
Change-Id: I41daf09f35a8a942f7b234d75357c08c19c0cbd9

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-06 10:44:27 +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 eacc63c672 more checks that media types are correctly formatted
Change-Id: Ia98148846fb48aad0830e069944beade5c719b47

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-10-02 14:48:24 +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
Christian Amend ad3fbfb4cb [OLINGO-447] Remove previous invalid fix 2014-10-01 11:04:34 +02:00
Christian Amend 34825ab062 [OLINGO-447] Also accept the * accept header 2014-09-30 17:22:36 +02:00
Klaus Straubinger bd4ad859a6 abbreviations are not allowed in Accept header
Change-Id: Ib0250e649af086359292deaa305defb3a660e5c5

Signed-off-by: Christian Amend <chrisam@apache.org>
2014-09-30 16:33:13 +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 68f51d84d0 [OLINGO-443] Added more JavaDoc 2014-09-24 09:17:35 +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
Michael Bolz 3ece19c964 [OLINGO-356] Rework EdmPrimitive Type exceptions 2014-09-03 11:05:24 +02:00
mibo f3289fb103 [OLINGO-406] Merge with branch 'OLINGO-406' 2014-09-03 07:41:34 +02:00
Michael Bolz a1621331c1 [OLINGO-350] Minor code clean up 2014-09-02 10:25:23 +02:00
mibo badb9916b2 Merge branch 'master' into OLINGO-406 2014-09-01 08:27:54 +02:00
mibo deec7aa854 [OLINGO-406] Omit odata.type information for none metadata 2014-09-01 08:27:07 +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 853bad6aa9 [OLINGO-405] Set content length for not chunked content 2014-08-15 15:14:07 +02:00
mibo b81a2ee4fc [OLINGO-406] Extended JSON format handling for core JsonSerializer 2014-08-15 14:29:49 +02:00
Klaus Straubinger 931f1324e6 [OLINGO-356] removed several warnings + code clean-up
Change-Id: Id7a6ede6309e6f1109a0ded6df9c436df2449764
2014-08-15 13:08:31 +02:00
Michael Bolz 0c82297ccc [OLINGO-404] Allow inheritance for iterators 2014-08-15 06:36:42 +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
Michael Bolz 0a0344d69b [OLINGO-342] Changed version to 4.0.0-beta-01-SNAPSHOT (missing parts) 2014-08-11 13:19:36 +02:00
fmartelli 563959f022 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4 2014-08-11 11:14:18 +02:00
fmartelli 1144e1b1e9 [OLINGO-398] fix 2014-08-11 11:13:57 +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 5cdf64db23 OLINGO-317] Fixed context url in TechnicalScenario 2014-08-08 06:33:31 +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
Francesco Chicchiriccò c0b92cf09e [OLINGO-365] Composable function invocation refactory - in progress 2014-08-03 15:24:54 +02:00
Francesco Chicchiriccò 9b28f8df62 [OLINGO-365] Enhancing type handling for complex properties 2014-08-01 12:35:52 +02:00
Francesco Chicchiriccò b01b784477 [OLINGO-391] Proved working on Android: needed also to get rid of StringUtils and few other Base64 methods 2014-08-01 10:54:19 +02:00
Francesco Chicchiriccò bf4e34d879 ContextURLParser enhancement for deep contained URIs 2014-07-31 17:40:58 +02:00
Christian Amend 795af6e38f [OLINGO-348] Exception handling refactoring 2014-07-31 11:06:46 +02:00
Francesco Chicchiriccò 17544d2d1c [OLINGO-390] As for 'plain' complex values, do not serialize the type information as for primitives (in JSON) 2014-07-30 09:53:30 +02:00