wso2esb - Can an excel datasource in WSO2 data service take a variable name for the excelURL -
the following excel data source definition in wso2 data service.
there way define property in proxy , use excel url in excel data source of data service ?
in other words, need excel file dynamically determined.
following data source definition in data service
<config id="organisationimportdatasource"> <property name="excel_datasource">c:/organisations.xls</property> </config>
instead of this, possible use below
<config id="organisationimportdatasource"> <property name="excel_datasource">get-property('filename', 'default') </property> </config> filename property defined in calling proxy
the excel data source validated @ wso2 startup. trying above not work.
re-aligned our requirement limitation excel data source need pre-defined , redefined our requirement ensure tenant specificity of excel data source. this, uploaded excel in specific location within configuration / goverance registry. tenant specific if have same name excel data source. following configuration tenant specific
<config id="organisationimportdatasource"> <property name="excel_datasource">conf:/repository/organisations.xls</property> </config>
Comments
Post a Comment