You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2009/11/23 22:03:40 UTC

[jira] Created: (SYNAPSE-598) XPath variable for extracting URL parameters

XPath variable for extracting URL parameters
--------------------------------------------

                 Key: SYNAPSE-598
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
             Project: Synapse
          Issue Type: New Feature
          Components: Core
         Environment: Any
            Reporter: Supun Kamburugamuva
            Priority: Minor


If a XPath variable is in the language to extract URL parameters that will be very useful

for example $url:myParameter

This will extract the value of myParameter URL paramter.



-- 
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-598) XPath variable for extracting URL parameters

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

Supun Kamburugamuva updated SYNAPSE-598:
----------------------------------------

    Attachment: SYNAPSE-598.patch

Attaching a patch.

Within Synapse language a URL param can be extracted using the following syntax

$url:myParam

myParam is the parameter name



> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Priority: Minor
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

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

Ruwan Linton resolved SYNAPSE-598.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Applied the patch with minor changes to synapse-1.3 branch as well as to the trunk.

Thanks,
Ruwan

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782083#action_12782083 ] 

Supun Kamburugamuva commented on SYNAPSE-598:
---------------------------------------------

Thanks for applying the patch. I totally agree with your changes. 

Thanks,
Supun..

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

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

Supun Kamburugamuva updated SYNAPSE-598:
----------------------------------------

    Attachment: SYNAPSE-598.patch

Re-attaching with a minor improvement.

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Priority: Minor
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

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

Ruwan Linton reassigned SYNAPSE-598:
------------------------------------

    Assignee: Ruwan Linton

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Assignee: Ruwan Linton
>            Priority: Minor
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

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

Supun Kamburugamuva updated SYNAPSE-598:
----------------------------------------

    Attachment:     (was: SYNAPSE-598.patch)

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Priority: Minor
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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-598) XPath variable for extracting URL parameters

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

Ruwan Linton commented on SYNAPSE-598:
--------------------------------------

Supun, I have reviewed the patch and applied with minor changes. Please have a look at the diffs. This is a nice improvement and this was on my head from a long time ago. We need more XPath variables and function extensions to make it powerful at the configuration.

Thanks, for the contribution.
Ruwan

> XPath variable for extracting URL parameters
> --------------------------------------------
>
>                 Key: SYNAPSE-598
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-598
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>         Environment: Any
>            Reporter: Supun Kamburugamuva
>            Assignee: Ruwan Linton
>            Priority: Minor
>         Attachments: SYNAPSE-598.patch
>
>
> If a XPath variable is in the language to extract URL parameters that will be very useful
> for example $url:myParameter
> This will extract the value of myParameter URL paramter.

-- 
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