You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Agron Limani (JIRA)" <ji...@apache.org> on 2010/01/25 11:12:34 UTC

[jira] Created: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Enable a response to an HTTP OPTIONS * request
----------------------------------------------

                 Key: CLEREZZA-86
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
             Project: Clerezza
          Issue Type: New Feature
            Reporter: Agron Limani




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani updated CLEREZZA-86:
---------------------------------

    Attachment: org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch, org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani updated CLEREZZA-86:
---------------------------------

    Attachment: org.apache.clerezza.triaxrs-CLEREZZA-86.patch

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805509#action_12805509 ] 

Reto Bachmann-Gmür commented on CLEREZZA-86:
--------------------------------------------

In RootResourceExecutorImpl:
- I don't see why anything should change in getCandidateMethods or in getResourceanPathMarching, as this request isn't acting on a perticular root resource instance
- Line 553, you're checking if the string already contains the method, take into accounf theat there might be a method name that is asubstring of another method name

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch, org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani updated CLEREZZA-86:
---------------------------------

    Attachment: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804989#action_12804989 ] 

Reto Bachmann-Gmür commented on CLEREZZA-86:
--------------------------------------------

Agron, the patch contains a wrong test and it doesn't passes the corrected test.

issues/CLEREZZA-86 now contains a version with your patch and the corrected test.

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833843#action_12833843 ] 

Reto Bachmann-Gmür commented on CLEREZZA-86:
--------------------------------------------

you ignored the following remark: "take into accounf theat there might be a method name that is asubstring of another method name", also for repated concatenation you should use a StringBuffer rather than a string.

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-86:
----------------------------------------


> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-86:
----------------------------------------


I've enhanced the test, showing that OPTIONS * is not working

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch, org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani resolved CLEREZZA-86.
----------------------------------

    Resolution: Fixed

RootResources:
- ResourceAndPathMatching getResourceAndPathMatching(){..}: added a checking if the pathURI is empty, if so a dummy ResourceAndPathMatching object is returned

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch, org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani resolved CLEREZZA-86.
----------------------------------

    Resolution: Fixed

enabled a response to an HTTP OPTIONS request with no resource

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani updated CLEREZZA-86:
---------------------------------

    Attachment:     (was: org.apache.clerezza.triaxrs-CLEREZZA-86.patch)

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833776#action_12833776 ] 

Reto Bachmann-Gmür commented on CLEREZZA-86:
--------------------------------------------

reviewing

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani updated CLEREZZA-86:
---------------------------------

    Attachment:     (was: org.apache.clerezza.triaxrs-CLEREZZA-86_2.patch)

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Agron Limani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Agron Limani resolved CLEREZZA-86.
----------------------------------

    Resolution: Fixed

- JaxRsHandler registers all http methods of all registered resources
- changed tests which used easymock

> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-86) Enable a response to an HTTP OPTIONS * request

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-86.
--------------------------------------


> Enable a response to an HTTP OPTIONS * request
> ----------------------------------------------
>
>                 Key: CLEREZZA-86
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-86
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Agron Limani
>         Attachments: org.apache.clerezza.triaxrs-CLEREZZA-86_3.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.