You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/05/03 01:56:55 UTC

[jira] Created: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
------------------------------------------------------------

                 Key: SYNAPSE-281
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
             Project: Synapse
          Issue Type: Bug
            Reporter: Andreas Veithen
            Priority: Minor


WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Andreas Veithen reassigned SYNAPSE-281:
---------------------------------------

    Assignee: indika priyantha kumara  (was: Andreas Veithen)

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: indika priyantha kumara
>            Priority: Minor
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594441#action_12594441 ] 

Ruwan Linton commented on SYNAPSE-281:
--------------------------------------

Asankha, shall we add the default endpoint to handle QoS without the destination with this refactoring.

<endpoint>
<default format=[pox|get|soap11|soap12]>
<enableSec/>?
<enableRM/>?
</default>
</endpoint>

Basically the address endpoint without the address URI, so that the addressing to header will be used with the specified QoS. This functionality is already there but in the address endpoint without the uri which is misleading.

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.2
>
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594433#action_12594433 ] 

Ruwan Linton commented on SYNAPSE-281:
--------------------------------------

OK Andreas, I see your point. I will fix this today.

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.2
>
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593984#action_12593984 ] 

Andreas Veithen commented on SYNAPSE-281:
-----------------------------------------

WSDLEndpointFactory seems to expect the 'statistics' attribute on the <endpoint> element, while WSDLEndpointSerializer serializes it on the <wsdl> element. Note that AddressEndpoint(Factory|Serializer) consistently locate this attribute on the child node of the <endpoint> element, i.e. the <address> element in this case.

Indika, can you check this and make it consistent?

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Ruwan Linton resolved SYNAPSE-281.
----------------------------------

    Resolution: Fixed

Fixed on the SVN trunk (now there are no duplicate codes in the Endpoint factory and Serializers)

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.2
>
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Andreas Veithen updated SYNAPSE-281:
------------------------------------

    Affects Version/s: 1.2

Marking this for release 1.2 as it is not only code cleanup, but there seems to be a bug too (and it is realistic to fix this for 1.2).

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Andreas Veithen
>            Assignee: indika priyantha kumara
>            Priority: Minor
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Andreas Veithen reassigned SYNAPSE-281:
---------------------------------------

    Assignee: Andreas Veithen

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Andreas Veithen updated SYNAPSE-281:
------------------------------------

        Fix Version/s: 1.2
    Affects Version/s:     (was: 1.2)

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: indika priyantha kumara
>            Priority: Minor
>             Fix For: 1.2
>
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-281) Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)

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

Ruwan Linton reassigned SYNAPSE-281:
------------------------------------

    Assignee: Ruwan Linton  (was: indika priyantha kumara)

> Duplicate code in (Address|WSDL)Endpoint(Factory|Serializer)
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-281
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-281
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Andreas Veithen
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.2
>
>
> WSDLEndpointFactory#extractQOSInformation is almost a copy & paste of AddressEndpointFactory#createEndpointDefinition. Idem for AddressEndpointSerializer#serializeEndpointDefinition and WSDLEndpointSerializer#serializeQOSInformation. The corresponding methods should be merged and reused.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org