Search in sources :

Example 16 with LineageHolder

use of org.pentaho.metaverse.api.model.LineageHolder in project pentaho-metaverse by pentaho.

the class FileSystemLineageWriterTest method setUp.

@Before
public void setUp() throws Exception {
    FileSystemLineageWriter fslw = new FileSystemLineageWriter();
    writer = spy(fslw);
    holder = new LineageHolder();
    IExecutionProfile profile = new ExecutionProfile();
    profile.setName("test");
    IExecutionData data = new ExecutionData();
    data.setStartTime(now);
    profile.setExecutionData(data);
    holder.setExecutionProfile(profile);
    writer.setOutputFolder("target/outputfiles");
}
Also used : IExecutionData(org.pentaho.metaverse.api.model.IExecutionData) IExecutionProfile(org.pentaho.metaverse.api.model.IExecutionProfile) IExecutionProfile(org.pentaho.metaverse.api.model.IExecutionProfile) ExecutionProfile(org.pentaho.metaverse.impl.model.ExecutionProfile) LineageHolder(org.pentaho.metaverse.api.model.LineageHolder) IExecutionData(org.pentaho.metaverse.api.model.IExecutionData) ExecutionData(org.pentaho.metaverse.impl.model.ExecutionData) Before(org.junit.Before)

Aggregations

LineageHolder (org.pentaho.metaverse.api.model.LineageHolder)16 IExecutionProfile (org.pentaho.metaverse.api.model.IExecutionProfile)10 ExecutionProfile (org.pentaho.metaverse.impl.model.ExecutionProfile)8 Test (org.junit.Test)7 IExecutionData (org.pentaho.metaverse.api.model.IExecutionData)7 Trans (org.pentaho.di.trans.Trans)6 Job (org.pentaho.di.job.Job)5 IMetaverseBuilder (org.pentaho.metaverse.api.IMetaverseBuilder)5 ExecutionData (org.pentaho.metaverse.impl.model.ExecutionData)5 Before (org.junit.Before)3 IOException (java.io.IOException)2 ExecutionException (java.util.concurrent.ExecutionException)2 Future (java.util.concurrent.Future)2 Result (org.pentaho.di.core.Result)2 StepInterface (org.pentaho.di.trans.step.StepInterface)2 AnalysisContext (org.pentaho.metaverse.api.AnalysisContext)2 IDocument (org.pentaho.metaverse.api.IDocument)2 IMetaverseNode (org.pentaho.metaverse.api.IMetaverseNode)2 INamespace (org.pentaho.metaverse.api.INamespace)2 MetaverseException (org.pentaho.metaverse.api.MetaverseException)2