use of io.cdap.cdap.metadata.RemoteApplicationDetailFetcher in project cdap by caskdata.
the class SupportBundlePipelineInfoTaskTest method setup.
@BeforeClass
public static void setup() throws Exception {
Injector injector = getInjector();
configuration = injector.getInstance(CConfiguration.class);
store = injector.getInstance(DefaultStore.class);
executorService = MoreExecutors.newDirectExecutorService();
supportBundleTaskFactorySet = new HashSet<>();
supportBundleTaskFactorySet.add(injector.getInstance(SupportBundlePipelineInfoTaskFactory.class));
supportBundleTaskFactorySet.add(injector.getInstance(SupportBundleSystemLogTaskFactory.class));
remoteLogsFetcher = injector.getInstance(RemoteLogsFetcher.class);
remoteProgramRunRecordsFetcher = injector.getInstance(RemoteProgramRunRecordsFetcher.class);
remoteMetricsSystemClient = injector.getInstance(RemoteMetricsSystemClient.class);
remoteApplicationDetailFetcher = injector.getInstance(RemoteApplicationDetailFetcher.class);
remoteProgramRunRecordFetcher = injector.getInstance(RemoteProgramRunRecordFetcher.class);
workflowName = AppWithWorkflow.SampleWorkflow.NAME;
application = AppWithWorkflow.NAME;
programType = ProgramType.valueOfCategoryName("workflows");
}
Aggregations