Intland's free requirements, development and test management hosting.
This server hosts 110,000+ users on the cloud!
Execute multiple ETL files in Spring#7003/v2
Tags:  not added yet

Execute multiple ETL files in Spring[CRQ-7003]

Tracker: Change Requests Priority: NormalNormal Assigned to: --
Submitted by: ejboy Feb 26, 2008 03:47 Status: Closed Category: --
Severity: -- Release: --
In current project I run Scriptella via Spring and I want to process more than one etl.xml file from one Spring’s bean. Please see the piece of code below:
    <bean id="dbLoadCSVData" class="scriptella.driver.spring.EtlExecutorBean" lazy-init="true">
        <property name="configLocation" value="file:../../../db/loadCSV.etl.xml"/>
        <property name="properties">
                <entry key="jdbc.url" value="${url}"/>
The main idea is to specify several values for configLocation property. Unfortunately I am not familiar with Scriptella source code, but IMHO it is necessary to change field declaration in EtlExecutorBean class to: private URL configLocation; and then work with it as array to process all resources.
Comments & Attachments (1)
Associations (0)
Children (0)
References (0)
SCM Commits (1)
History (2)
Baselines (0)
All (3)