|
|
|
|
Re: Call ETL rule from EOL module [message #1750649 is a reply to message #1750610] |
Fri, 23 December 2016 19:47 |
taghreed altamimi Messages: 184 Registered: October 2014 |
Senior Member |
|
|
Hi Dimitris,
Thanks for your help I am still trying to figure out how to implement the tool.
I have successful working etl transformation from UML to layered queuing network(LQN) .I made some changes to the source model (UML) and I used EMFcompare to generate the differences between source model(UML) and the changed source model ,I have also trace file that was generated automatically from the transformation. By using EOL i can query the differences file to identify which element has been changed and from trace file I can aslo query and identify which rule that transferred the changed element .Once I became able to identify the rules for the changed elements then I can execute only that rules and avoid reruning the whole transformation .I know that ETL doesn't support incremental transformation but I am thinking to use EOL and then invoke Java tool to query and execute specific rule for the changed element.
I don't know if I can use flock?? since I have two different metamodels ?.I didn't change the metamodels I changed only the source and I want to propagate the changes to the target.
Sorry for the long message ,I want to give you a general idea about my problem and I do really appreciate if you have any suggestions.
Thanks,
Taghreed
[Updated on: Fri, 23 December 2016 19:51] Report message to a moderator
|
|
|
|
|
Re: Call ETL rule from EOL module [message #1752472 is a reply to message #1752448] |
Tue, 24 January 2017 08:25 |
|
Hi Taghreed,
> I suppose that i need to follow the same logic of EolEmfToolStandaloneExample class to be able to execute or query (.etl) file .Is that correct?
This is correct.
> Can you please tell me which dependencies i need to use I think its org.eclipse.epsilon.etl.dt; ?
You only need EtlModule so org.eclipse.epsilon.etl.engine would suffice.
> To create and parse and EtlModule ,do i need to parse the existing etl file (the one i have already)?
Yes.
> I don't understand how can i do that?
In your tool, you should have code like the following:
EtlModule module = new EtlModule();
module.parse(myEtlFile);
module.getContext().getModelRepository().getModels().addAll(context.getModelRepository().getModels());
module.execute();
Cheers,
Dimitris
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04127 seconds