wso2 / product-ei

An open source, a high-performance hybrid integration platform that allows developers quick integration with any application, data, or system.
https://wso2.com/integration/
Apache License 2.0
368 stars 276 forks source link

Improve XSLT mediator to reload xslt script stored in Local-entries #1408

Open isudana opened 6 years ago

isudana commented 6 years ago

Description: When xslt mediator use a script stored at the Local-entries, script is getting loaded at the xslt mediator deployment time only. If the Local-entry is redeployed again, still XSLT mediator uses the previously loaded content.

This was implemented purposely as Local-entries are expected to be static. However there can be situations where we need to reload the script even if they are stored for local-entries.

We cannot reload it for each and every request as we have to compromise the performance. So need a way to make it configurable.

Same applies for Validate mediator as well.

Affected Product Version: All ESB and EI versions released before EI 6.2.0

OS, DB, other environment details and versions:
N/A

Steps to reproduce:

Related Issues:

ljuillerat commented 6 years ago

Pull request done on synapse-core https://github.com/wso2/wso2-synapse/pull/970

isudana commented 6 years ago

Synapse level change has been merged. Still we need to implement this at the management console level and Tooling.