[
https://issues.apache.org/jira/browse/OLINGO-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150506#comment-15150506
]
Christian Amend commented on OLINGO-876:
----------------------------------------
[~rareddy] here is a test for all kinds of function parameters including
collections:
https://github.com/apache/olingo-odata4/blob/master/fit/src/test/java/org/apache/olingo/fit/tecsvc/client/FunctionImportITCase.java#L335
I could be that our TechSvc does not support all kinds of parameters but the
URIParser should be able to. Here is a URIParser test for complex parameters
for functions in filter:
https://github.com/apache/olingo-odata4/blob/master/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/parser/TestFullResourcePath.java#L5814
> Collection of Primitives should be supported on URL
> ---------------------------------------------------
>
> Key: OLINGO-876
> URL: https://issues.apache.org/jira/browse/OLINGO-876
> Project: Olingo
> Issue Type: Improvement
> Components: odata4-server
> Affects Versions: (Java) V4 4.1.0
> Reporter: Ramesh Reddy
> Attachments: olingo-odata4.patch
>
>
> Currently the Collection of Primitives should be supported in URL in
> - Function Parameters (Action parameters already supported as they are POST)
> - System Operation values
> - Alias values
> The specification says these values will be in JSON format. A sample URL will
> be like (after URL decode)
> {code}
> /loopy/vm1/getCustomerIds(p1=[1,2])
> /loopy/vm1/getCustomer?$filter=p1 eq [1,2]
> /loopy/vm1/getCustomer?$filter=p1 eq @p1&@p1=[1,2]
> {code}
> Olingo parser should support these. A linked case can be found from Teiid
> community at https://issues.jboss.org/browse/TEIID-3968
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)