[jboss-jira] [JBoss JIRA] Assigned: (AS7-1728) Fix put(...) method of org.jboss.as.testsuite.integration.common.HttpRequest to _really_ use PUT HTTP method (instead of default GET HTTP method)

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Sep 20 11:13:26 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger reassigned AS7-1728:
------------------------------------

    Assignee: Pavel Janousek  (was: Andrew Rubinger)


Looks like this fix is already upstream, no?  https://github.com/jbossas/jboss-as/commit/21373ce403814e761990f9bffdb526980fafdf7b  Sending to Pavel for confirmation and resolution if so.

> Fix put(...) method of org.jboss.as.testsuite.integration.common.HttpRequest to _really_ use PUT HTTP method (instead of default GET HTTP method)
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-1728
>                 URL: https://issues.jboss.org/browse/AS7-1728
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 7.0.1.Final
>            Reporter: Pavel Janousek
>            Assignee: Pavel Janousek
>            Priority: Blocker
>
> The method org.jboss.as.testsuite.integration.common.HttpRequest.put(...) doesn't rely on HTTP method in HttpURLConnection object and uses the default value = HTTP GET method (see [javadoc|http://download.oracle.com/javase/6/docs/api/java/net/HttpURLConnection.html#setRequestMethod(java.lang.String)]). This behavior can confuse some developers and for ex. it is impossible to create full set of TestCases for RESTEasy/JAX-RS module.
> Although change of this behavior can break some already implemented TestCases (I found only one of them org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase.testSingleton()), I prefer to fix the semantic of HttpRequest.put(..) that do some disorganized work-around.
> Note: EJBWebServicesTestCase.testSingleton() should be fixed too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list