[JBoss JIRA] (JBIDE-10208) Generate test method for a given JAX-RS endpoint
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-10208?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-10208:
----------------------------------
Labels: jax-rs (was: )
> Generate test method for a given JAX-RS endpoint
> ------------------------------------------------
>
> Key: JBIDE-10208
> URL: https://issues.jboss.org/browse/JBIDE-10208
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 3.3.0.M4
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: LATER
>
>
> From a given Endpoint (URI + consumed/produced mediatypes), a JUnit test case method skeleton could be generated.
> Various types of client code could be proposed :
> - using Apache HttpClient library
> - using the JAX-RS 1.1 Framework custom client library (eg: RESTEasy and Jersey provide their own client implementation)
> - Using the upcoming JAX-RS 2.0 client spec
> - Using Arquillian's upcoming REST support (https://gist.github.com/1367794)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-10891) JAX-RS application support in web.xml does not work for implementation specific configurations
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-10891?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-10891:
----------------------------------
Labels: jax-rs (was: )
> JAX-RS application support in web.xml does not work for implementation specific configurations
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-10891
> URL: https://issues.jboss.org/browse/JBIDE-10891
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 3.3.0.M5
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> Application configuration does not work for custom implementation configurations:
> {code}
> <servlet>
> <servlet-name>Resteasy</servlet-name>
> <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>Resteasy</servlet-name>
> <url-pattern>/*</url-pattern>
> </servlet-mapping>
> {code}
>
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-10239) Support JAX-RS Path/PathParam refactoring
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-10239?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-10239:
----------------------------------
Labels: jax-rs (was: )
> Support JAX-RS Path/PathParam refactoring
> -----------------------------------------
>
> Key: JBIDE-10239
> URL: https://issues.jboss.org/browse/JBIDE-10239
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 3.3.0.M4
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Priority: Minor
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> When refactoring code like the one below:
> {code}
> @GET
> @Path("{id}")
> public Response getCustomer(@PathParam("id") Integer id, @Context UriInfo uriInfo) {
> ResponseBuilder responseBuilder = Response.ok().entity(null);
> return responseBuilder.build();
> }
> {code}
> If changing the 'id' name of the first parameter, the user may also want to rename the @PathParam and @Path values to keep the consistency.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months