Commit Graph

1037 Commits

Author SHA1 Message Date
Christian Amend 8457c0f60a [OLINGO-568] SearchParser negative tests 2015-11-13 14:56:29 +01:00
mibo cef72e45ab [OLINGO-568] Added missing SearchParser parse paths 2015-11-13 08:16:15 +01:00
mibo 40962a9a18 [OLINGO-568] Refactored SearchParser for further development 2015-11-12 23:08:35 +01:00
Christian Amend a8d63fbee2 [OLINGO-568] Fix unused stuff 2015-11-12 14:05:55 +01:00
Christian Amend 22d152fc4c [OLINGO-568] search parser tests refactoring 2015-11-12 13:58:38 +01:00
mibo ba5220ab4a [OLINGO-568] Removed implicit and and added unicode for words 2015-11-11 20:58:11 +01:00
Michael Bolz 37c5827f93 [OLINGO-568] Added Search*Impl classes 2015-11-11 12:48:09 +01:00
mibo 3eef0bf605 [OLINGO-568] Added SearchTokenizerException 2015-11-10 20:10:02 +01:00
Klaus Straubinger 6614aea6ba [OLINGO-821] small fix for UriParser handling of Enum/TypeDefinition
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-11-10 16:16:53 +01:00
Christian Amend 0c100df480 [OLINGO-821] Optimize alias handling in enum types 2015-11-10 10:52:33 +01:00
Michael Bolz f64abe136b [OLINGO-568] Fixed issue with implicit and 2015-11-10 06:25:54 +01:00
mibo 96483ae559 [OLINGO-568] Removed not necessary code and enums 2015-11-09 20:33:05 +01:00
Christian Amend c7838a678d [OLINGO-821] Support alias for enum values in URI 2015-11-09 15:46:12 +01:00
Michael Bolz 43bc49f963 [OLINGO-568] Improved states 2015-11-09 15:39:02 +01:00
Michael Bolz b3bbfa6fe1 [OLINGO-568] Code clean up 2015-11-09 13:29:32 +01:00
Michael Bolz bbdd0d755e [OLINGO-568] Added implicit AND support 2015-11-09 12:02:02 +01:00
mibo 762c924cf6 [OLINGO-568] Merge branch 'master' into OLINGO-568_SearchParserPoC 2015-11-06 21:33:03 +01:00
mibo 81fcbeafcf [OLINGO-568] Minor tokenizer optimization 2015-11-06 21:31:35 +01:00
Christian Amend 639362caa3 [OLINGO-821] Verify Enum and TypeDef support
Included full integration tests for all components
2015-11-06 16:29:55 +01:00
Michael Bolz 452ebcbdd8 [OLINGO-568] SearchTokenizer for SearchParser 2015-11-06 15:43:36 +01:00
Klaus Straubinger ac828a3554 [OLINGO-806] small fix for JSON deserializer
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-11-06 09:08:49 +01:00
Christian Holzer 303c4e869f [OLINGO-818] All verbs are allowed for individual requests in batch requests 2015-11-05 14:30:51 +01:00
Christian Holzer 734ea91988 [OLINGO-801] Added tests for complex function parameters 2015-11-03 14:18:08 +01:00
Christian Holzer a794f7ee7a [OLINGO-801] Resolve merge conflict 2015-10-29 16:26:26 +01:00
Christian Holzer 483ee9de15 Merge branch 'OLINGO-801_ComplexParameter' 2015-10-29 15:42:05 +01:00
Christian Holzer 3584e1d71d [OLINGO-801] UriParser supports Complex / Entity Parameters. 2015-10-29 15:31:38 +01:00
Christian Amend 2ceacd87f7 [OLINGO-587] Fix json title, client and add tests 2015-10-27 17:24:13 +01:00
mibo fa084ac98a [OLINGO-799] Remove explicit import of aalto-xml 2015-10-26 22:10:58 +01:00
Christian Amend 26c6764846 [OLINGO-587] Enable title for service document 2015-10-26 16:02:12 +01:00
Klaus Straubinger 837c3565a1 [OLINGO-806] Minor clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-26 09:07:11 +01:00
Christian Amend 17e4a3aeff [OLINGO-784] Prevent NPE in combination with typeinfo objects 2015-10-22 16:51:07 +02:00
Christian Amend 46cad03fed [OLINGO-798] Fix potential nullpointer in client getContainerCase 2015-10-22 15:06:09 +02:00
Christian Amend 9f663baf5c Merge branch 'master' into olingo786
Conflicts:
	lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/xml/MetadataDocumentXmlSerializer.java
2015-10-22 10:28:23 +02:00
Michael Bolz 23fb86a870 [OLINGO-801] better enum and alias support in technical service 2015-10-22 10:04:49 +02:00
Klaus Straubinger 4134b2e82c [OLINGO-795] enum type validation in URI parser
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-22 10:03:31 +02:00
Klaus Straubinger 85bebce009 [OLINGO-804] removed primitive type Uint7
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-10-21 11:14:34 +02:00
Christian Amend 9c53108ee5 [OLINGO-786] Enhance TecSvc Edm with description annotations 2015-10-21 11:12:47 +02:00
Christian Amend a57b7d0541 [OLINGO-786] Added terms to metadata document 2015-10-20 16:48:05 +02:00
Christian Amend 15164da8f1 [OLINGO-786] Fix alias usage in metadata for annotations 2015-10-20 15:51:40 +02:00
Christian Amend d00e3881dc [OLINGO-786] Annotation metadata serialization and tests 2015-10-20 15:27:11 +02:00
Christian Amend 41210245d7 [OLINGO786] FIx edm annotation classes
This also includes tests for all edm classes.
2015-10-19 15:11:15 +02:00
Christian Amend 67ccbf9ddb [OLINGO-786] Make annotaion csdl classes spec compliant` 2015-10-16 14:12:24 +02:00
Klaus Straubinger 85ed370707 [OLINGO-801] support for function-parameter aliases in tech. service
Change-Id: I57b222418cf2760d3926da185f4dba0207311f4a

Signed-off-by: Christian Holzer <c.holzer@sap.com>
2015-10-15 10:56:38 +02:00
Klaus Straubinger 587f904338 [OLINGO-795] server support for Enums with implicit values
Change-Id: I1d96eecb108479a654f10426204d4d1e1383bb09

Signed-off-by: Christian Holzer <c.holzer@sap.com>
2015-10-15 10:03:42 +02:00
Christian Amend 576acf466b [OLINGO-786] Fix merge issues 2015-10-13 10:45:13 +02:00
Christian Amend b1d03d6ba9 Merge branch 'master' into olingo786
Conflicts:
	lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmEnumTypeImpl.java
	lib/commons-core/src/test/java/org/apache/olingo/commons/core/edm/EdmEnumTest.java
	lib/commons-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java
	lib/commons-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmTypeDefinitionImplTest.java
	lib/server-core/src/test/java/org/apache/olingo/server/core/edm/provider/EdmEnumTest.java
	lib/server-test/src/test/java/org/apache/olingo/server/core/deserializer/xml/ODataXmlDeserializerTest.java
2015-10-13 10:35:50 +02:00
Christian Amend 5d66c9cf18 [OLINGO-786] Enhance Edm Tests 2015-10-12 15:59:33 +02:00
Christian Amend d9d33abe85 [OLINGO-768] Delete getTarget method at EdmAnnotations interface
The method never worked. Also the design dod not allow to return all
possible target types. For example an entity type as target results in
returning the EdmEntityType object but for functions we would have to
return a list of functions. If needed we can implement another method
later.
2015-10-12 13:59:56 +02:00
Christian Amend 1ac59b22a8 [OLINGO-786] Make Annotations annotatable 2015-10-09 16:06:06 +02:00
Christian Amend 2ffb813931 [OLINGO-786] Unify Annotations setter for csdl classes 2015-10-09 15:48:48 +02:00
Klaus Straubinger 5d364dfa27 [OLINGO-795] server support for Enums and Type Definitions
Signed-off-by: Christian Amend <christian.amend@sap.com>
2015-10-09 14:47:21 +02:00
Christian Amend b69cd6e605 [OLINGO-786] Add edm annotations tests 2015-10-09 14:42:38 +02:00
mibo 9933cb0bdc [OLINGO-794] Removed outdated 'inlinecount' 2015-10-09 14:38:22 +02:00
Christian Amend 3f7df13a63 [OLINGO-786] Add EdmTerm tests and refacotor getAppliesTo
AppliesTo delivered a list of classes. This functionallity is not needed
thus I deleted it. Now it is just a list of strings. As a conveniece we
could use a list of enums in the future.
2015-10-08 17:11:07 +02:00
Christian Amend 9c1981c410 [OLINGO-786] Move edm tests to commons core
Tests for the edm only depend on the commons part so they should be there
as  well.
2015-10-08 13:45:16 +02:00
Christian Amend 546cf34c57 [OLINGO-786] Implement Tests for qualifiermapkey 2015-10-08 13:43:54 +02:00
Christian Amend 3647a63177 [OLINGO-786] Fix lazy loading for annotiation groups 2015-10-08 12:59:48 +02:00
Christian Holzer f221962f72 [OLINGO-780] Minor EDM adjustment 2015-10-07 15:20:52 +02:00
Christian Holzer 0989fbd074 [OLINGO-791] Namespaces are not longer allowed for entity sets, singeltons, action imports, function imports 2015-10-06 17:27:02 +02:00
Christian Holzer d0b225bf18 [OLINGO-792] Improve URI parser error message 2015-10-06 16:41:09 +02:00
Michael Bolz 26c923b6f3 [OLINGO-789] Minor clean up 2015-10-05 08:24:48 +02:00
Michael Bolz 507236dd8c [OLINGO-786] Merge branch 'master' into olingo786 2015-10-05 07:57:29 +02:00
Klaus Straubinger b736c43495 [OLINGO-789] more tests of server support for action parameters
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-05 07:50:00 +02:00
Klaus Straubinger d6db341db7 [OLINGO-789] server support for action parameters of all types
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-10-01 12:11:33 +02:00
Michael Bolz 3ec5a161ef [OLINGO-786] First minor adaption to MetadataSerializer 2015-09-30 15:28:00 +02:00
Christia Holzer b9403cd394 [OLINGO-780] The URI Parser validates if a function is composable or not 2015-09-30 15:04:24 +02:00
Christia Holzer b7dcae862a [OLINGO-781] TecSvc: The atom id for functions without entity set is
calculated by the URI of the function
2015-09-30 15:04:23 +02:00
Christia Holzer 64388ecf2b [OLINGO-782] Functions with key predicates get validated 2015-09-30 15:04:22 +02:00
Christian Amend a88800c47a [OLINGO-786] Add qualifier to key 2015-09-29 15:06:30 +02:00
Christian Amend addfe512cd [OLINGO-786] Delete getAnnotations convenience method 2015-09-29 14:26:16 +02:00
Michael Bolz c9d42e49fa [OLINGO-772] Set version to 4.1.0-SNAPSHOT 2015-09-21 14:46:38 +02:00
Michael Bolz ca40833b20 [OLINGO-772] Change version to 4.0.0 2015-09-21 10:54:21 +02:00
Michael Bolz 111308124c [OLINGO-772] Change version to 4.0.0-RC03 2015-09-17 09:26:27 +02:00
Michael Bolz 87f829e5ae [OLINGO-659] Renamed setter/getter to fit code conventions 2015-09-17 09:18:24 +02:00
Michael Bolz 91bd50bc25 [OLINGO-659] Merge branch 'OLINGO-659_ReleaseFixes' 2015-09-17 08:56:06 +02:00
Michael Bolz 0ed241e0e2 [OLINGO-773] Merge branch 'OLINGO-773_ReplaceCommonsIo' 2015-09-17 08:55:18 +02:00
Klaus Straubinger 805028da2f [OLINGO-659] still more API clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-16 14:39:50 +02:00
Klaus Straubinger fbca4ef33e [OLINGO-659] more robust Accept and Content-Type handling
Change-Id: I34e25df981650a2155729a6cf92806dbe36546b3

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-16 14:30:53 +02:00
Christia Holzer 32bad834f1 [OLINGO-659] Fix TechnicalActionProcessor 2015-09-15 14:25:19 +02:00
Klaus Straubinger cffdb7384c [OLINGO-659] empty JSON input should result in Bad Request
Change-Id: Ib46d7454abcc405e3fa6a41fd3e17d9e947490c2

Signed-off-by: Christia Holzer <c.holzer@sap.com>
2015-09-15 14:18:20 +02:00
Michael Bolz 48810032a1 [OLINGO-773] Replaced IOUtils with separate method 2015-09-15 13:55:16 +02:00
Christia Holzer d84c3275cb [OLINGO-659] Lexer recognizes invalid charaters 2015-09-15 12:57:31 +02:00
Michael Bolz 9c3ca381e2 [OLINGO-772] Change version to RC02 2015-09-14 10:37:04 +02:00
Michael Bolz 587795fb39 [OLINGO-700] Moved test classes 2015-09-14 10:16:47 +02:00
Michael Bolz fdf5c0204d [OLINGO-772] Change for parent pom deploy 2015-09-14 10:03:22 +02:00
Klaus Straubinger 54f6947259 [OLINGO-659] more API clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-14 10:02:30 +02:00
Ramesh Reddy fcec0c349b Merge branch 'OLINGO-700' 2015-09-11 15:51:17 -05:00
Ramesh Reddy e99b07008e OLINGO-700: added action parameter parsing rountines for atom and json payloads 2015-09-11 15:50:32 -05:00
Michael Bolz ba88c43b57 [OLINGO-772] Change version to RC01 2015-09-11 14:44:50 +02:00
Klaus Straubinger 11ebbb58d8 [OLINGO-659] API clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 12:44:08 +02:00
Klaus Straubinger 7715006eaf stricter check of segment order in URI parser
Change-Id: I2fd11f0e2047c45ecec36ab555971d0549adaa9a

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 09:14:16 +02:00
Klaus Straubinger 30d67c71f5 Content-Type is mandatory in POST/PUT/PATCH requests
Change-Id: Icbd3455241b0618339d2418214441e4ab59602c8

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-11 09:14:06 +02:00
Michael Bolz 081a38001f [OLINGO-659] Fixed javadoc issues 2015-09-11 09:02:16 +02:00
mibo 637ca00db7 [OLINGO-750] Fixed some critical issues 2015-09-10 21:10:09 +02:00
Michael Bolz 524dbebc4a [OLINGO-659] Fixed wrong deleted 'public' 2015-09-10 15:34:13 +02:00
Michael Bolz 9ffe4c8928 [OLINGO-659] Added more javadocs 2015-09-10 15:29:51 +02:00
Michael Bolz 649614b076 [OLINGO-659] Refactor deploy plugin usage 2015-09-10 14:49:39 +02:00
Ramesh Reddy 93992f9135 Misc: fixing the critical errors reported by Apache Analysis tool 2015-09-09 10:08:03 -05:00
Klaus Straubinger e981aaad79 [OLINGO-659] Better data handling in technical service + clean-up
Signed-off-by: Michael Bolz <michael.bolz@sap.com>
2015-09-09 15:35:33 +02:00
Christia Holzer 8ffd80ef31 [OLINGO-659] Added javadoc to commons-api 2015-09-09 15:11:52 +02:00