[jbosstools-issues] [JBoss JIRA] (JBIDE-17797) BeanParam: removal of @QueryParam/@MatrixParam annotation from field in Bean class is not reflected in JAX-RS Explorer
Radoslav Rábara (JIRA)
issues at jboss.org
Thu Jul 3 06:14:25 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Rábara updated JBIDE-17797:
------------------------------------
Steps to Reproduce:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create RestService and BeanClass with field annotated with @QueryParam/@MatrixParam
{code}
@Path("/rest")
public class RestService {
@POST
@Path("{id}")
public void post(@BeanParam BeanClass bean) {
}
}
{code}
{code}
public class BeanClass {
@QueryParam("author")
private String author;
}
{code}
STEP: Remove the @QueryParam from BeanClass
ASSERT: JAX-RS Explorer updated endpoint URI Path Template
FAIL: There is no update (URI is still /rest?author=\{String\} )
was:
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create RestService and BeanClass with field annotated with @QueryParam
{code}
@Path("/rest")
public class RestService {
@POST
@Path("{id}")
public void post(@BeanParam BeanClass bean) {
}
}
{code}
{code}
public class BeanClass {
@QueryParam("author")
private String author;
}
{code}
STEP: Remove the @QueryParam from BeanClass
ASSERT: JAX-RS Explorer updated endpoint URI Path Template
FAIL: There is no update (URI is still /rest?author=\{String\} )
> BeanParam: removal of @QueryParam/@MatrixParam annotation from field in Bean class is not reflected in JAX-RS Explorer
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-17797
> URL: https://issues.jboss.org/browse/JBIDE-17797
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Environment: JBoss WebServices Tools 1.7.0.CR1-v20140702-2329-B563
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3, 4.2.0.CR1
>
>
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list