You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2011/06/10 13:29:59 UTC

[jira] [Created] (CXF-3583) Refactor ServletController to get only chosen destination's address overridden

Refactor ServletController to get only chosen destination's address overridden
------------------------------------------------------------------------------

                 Key: CXF-3583
                 URL: https://issues.apache.org/jira/browse/CXF-3583
             Project: CXF
          Issue Type: Improvement
          Components: Transports
    Affects Versions: 2.4.1, 2.5
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 2.4.1, 2.5


Some work has already been done to minimize a number of destination addresses being overridden, however there are still some flaws there (ex, given an address like /service-address a destination with /service only will still be picked up).

The other issue is that when disableAddressOverride is set to true, it is effectively ignored if someone attempts to access the services page - all destinations are overridden.

The goal is to make sure that only a chosen destination gets optionally overridden and /service page request should have no effect on individual destinations.    

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

[jira] [Commented] (CXF-3583) Refactor ServletController to get only chosen destination's address overridden

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047146#comment-13047146 ] 

Sergey Beryozkin commented on CXF-3583:
---------------------------------------

http://svn.apache.org/viewvc?rev=1134248&view=rev

relates to this JIRA.
The code is simplified such that it's only a chosen dest is overriden, dropping the code to do with finding the matching dest given that it's already been located before updateDests have been called; /services page calls are still interfering after this change


> Refactor ServletController to get only chosen destination's address overridden
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3583
>                 URL: https://issues.apache.org/jira/browse/CXF-3583
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.4.1, 2.5
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.1, 2.5
>
>
> Some work has already been done to minimize a number of destination addresses being overridden, however there are still some flaws there (ex, given an address like /service-address a destination with /service only will still be picked up).
> The other issue is that when disableAddressOverride is set to true, it is effectively ignored if someone attempts to access the services page - all destinations are overridden.
> The goal is to make sure that only a chosen destination gets optionally overridden and /service page request should have no effect on individual destinations.    

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

[jira] [Resolved] (CXF-3583) Refactor ServletController to get only chosen destination's address overridden

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

Sergey Beryozkin resolved CXF-3583.
-----------------------------------

    Resolution: Fixed

> Refactor ServletController to get only chosen destination's address overridden
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3583
>                 URL: https://issues.apache.org/jira/browse/CXF-3583
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.4.1, 2.5
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.1, 2.5
>
>
> Some work has already been done to minimize a number of destination addresses being overridden, however there are still some flaws there (ex, given an address like /service-address a destination with /service only will still be picked up).
> The other issue is that when disableAddressOverride is set to true, it is effectively ignored if someone attempts to access the services page - all destinations are overridden.
> The goal is to make sure that only a chosen destination gets optionally overridden and /service page request should have no effect on individual destinations.    

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

[jira] [Updated] (CXF-3583) Refactor ServletController to get only chosen destination's address overridden

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

Daniel Kulp updated CXF-3583:
-----------------------------

    Fix Version/s:     (was: 2.4.1)
                   2.4.2

> Refactor ServletController to get only chosen destination's address overridden
> ------------------------------------------------------------------------------
>
>                 Key: CXF-3583
>                 URL: https://issues.apache.org/jira/browse/CXF-3583
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.4.1, 2.5
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.2, 2.5
>
>
> Some work has already been done to minimize a number of destination addresses being overridden, however there are still some flaws there (ex, given an address like /service-address a destination with /service only will still be picked up).
> The other issue is that when disableAddressOverride is set to true, it is effectively ignored if someone attempts to access the services page - all destinations are overridden.
> The goal is to make sure that only a chosen destination gets optionally overridden and /service page request should have no effect on individual destinations.    

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