synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton" <ruwan.lin...@gmail.com>
Subject Re: [jira] Commented: (SYNAPSE-126) Including multipe script files in ScriptMediator
Date Thu, 06 Sep 2007 01:50:31 GMT
Asankha, I have Committed the code.

BTW: Upul, can you change the unit tests for the ScriptMediator in a way
that this functionality will also be tested on the go as Asankha suggested.

Thanks,
Ruwan.

On 9/5/07, Asankha C. Perera <asankha@wso2.com> wrote:
>
>  Upul
>
> This looks like a useful enhancement - esp for Javascript and other
> scripting languages and to reuse common scripts. Once Ruwan gives the go
> ahead I would like to see this code go into Synapse. Also make sure to have
> unit tests that validates this
>
> thanks
> asankha
>
> Upul Godage (JIRA) wrote:
>
>     [ https://issues.apache.org/jira/browse/SYNAPSE-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525078
]
>
> Upul Godage commented on SYNAPSE-126:
> -------------------------------------
>
> <include /> only used for external scripts. That is when <script key="..." >
is used.
> New syntax after this change,
>
> 	<script language="js" key="script/stockquoteTransform.js" function="transformRequest">
> 		<include key="script/testInclude.js" />
> 		<include key="script/testInclude2.js" />		
> 	</script>
>
>    Including multipe script files in ScriptMediator
> ------------------------------------------------
>
>                 Key: SYNAPSE-126
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-126
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Extension Mediators
>            Reporter: Upul Godage
>            Priority: Minor
>         Attachments: patch-SYNAPSE-126.txt
>
>
> Present implementation does not support including multiple script files in ScriptMediator.
>
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Mime
View raw message