cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Parker (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-5948) wadl2java -inheritResourceParams: put parent param first
Date Mon, 25 Aug 2014 16:27:58 GMT

    [ https://issues.apache.org/jira/browse/CXF-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109266#comment-14109266
] 

Matt Parker edited comment on CXF-5948 at 8/25/14 4:26 PM:
-----------------------------------------------------------

Hi Sergey,

Using space as a separator, the behavior has changed slightly but is still broken. 

'inheritResourceParams' and 'inheritResourceParams first' both yield the same result as the
first result listed above--missing the 'id' param in 'publishConnection'.

'inheritResourceParams foo' and 'inheritResourceParams last' (anything other than 'first'
as the option) yield the same result as the second one listed above--getConnectionFoo has
the params in different order than the other methods.

-Matt


was (Author: mparker):
Hi Sergey,

Using space as a separator, the behavior has changed slightly but is still broken. 

'-inheritResourceParams' and '-inheritResourceParams first' both yield the same result as
the first result listed above--missing the 'id' param in 'publishConnection'.

'-inheritResourceParams foo' and '-inheritResourceParams last' (anything other than 'first'
as the option) yield the same result as the second one listed above--getConnectionFoo has
the params in different order than the other methods.

-Matt

> wadl2java -inheritResourceParams: put parent param first
> --------------------------------------------------------
>
>                 Key: CXF-5948
>                 URL: https://issues.apache.org/jira/browse/CXF-5948
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.7.13
>            Reporter: Alexey Markevich
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.7.13, 3.0.2, 3.1.0
>
>         Attachments: inheritedParamsFirst.patch
>
>
> For 
> {noformat}
> <resource path="{name}">
> 	<param name="name" style="template" type="xs:string"/>
> 	<resource path="{id}">
> 		<param name="id" style="template" type="xs:string"/>
> {noformat}
> the {noformat}@Path("/{name}/{id}"){noformat}
> Expected method params order is
> {noformat}@PathParam("name") String name, @PathParam("id") String id{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message