private DualLoadDatasets createDatasets(DataFactoryManagementClient client)
        {
            DualLoadDatasets datasets = new DualLoadDatasets(client);

            datasets.createDataSet_ETLControlDetail();
            return(datasets);
        }
Exemplo n.º 2
0
        private DualLoadDatasets createDatasets(DataFactoryManagementClient client)
        {
            DualLoadDatasets datasets = new DualLoadDatasets(client);

            //datasets.createDataSet_SqlOutput();
            //datasets.createDataSet_ToBeProcessedPath(CONTROL_PROCESS, TOBEPROCESSED_FOLDER_PATH);
            return(datasets);
        }
        static void Main(string[] args)
        {
            LoadProcessWorkflow loadProcessWorkflow = new LoadProcessWorkflow();
            DualLoadUtil        util = new DualLoadUtil();

            DataFactoryManagementClient client = ADFLoginController.createDataFactoryManagementClient();

            util.setADFMonitor(new ADFOutputMonitor(client));
            //util.tearDown(client, DualLoadConfig.PIPELINE_LOADPROCESS);
            DualLoadDatasets datasets = loadProcessWorkflow.createDatasets(client);

            util.setDatasets(datasets);
            loadProcessWorkflow.createPipelines(util, DualLoadConfig.PIPELINE_LOADPROCESS);

            Console.WriteLine("\nPress any key to exit.");
            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            ArchiveWorkflow archiveWorkflow = new ArchiveWorkflow();
            DualLoadUtil    util            = new DualLoadUtil();

            DataFactoryManagementClient client = ADFLoginController.createDataFactoryManagementClient();

            //util.tearDown(client, DualLoadConfig.PIPELINE_ARCHIVE);
            util.setADFMonitor(new ADFOutputMonitor(client));

            DualLoadDatasets datasets = archiveWorkflow.createDatasets(client);

            util.setDatasets(datasets);
            archiveWorkflow.initStorageController();
            archiveWorkflow.createPipelines(util, DualLoadConfig.PIPELINE_ARCHIVE);

            Console.WriteLine("\nPress any key to exit.");
            Console.ReadKey();
        }
Exemplo n.º 5
0
        static void Main(string[] args)
        {
            InitWorkflow initWorkflow = new InitWorkflow();
            DualLoadUtil util         = new DualLoadUtil();

            DataFactoryManagementClient client = ADFLoginController.createDataFactoryManagementClient();

            //util.tearDown(client, DualLoadConfig.PIPELINE_INIT);

            util.setADFMonitor(new ADFOutputMonitor(client));

            initWorkflow.executeDBQuery_Step1();
            initWorkflow.executeStorageQuery_Step2();

            DualLoadDatasets datasets = initWorkflow.createDatasets(client);

            util.setDatasets(datasets);
            initWorkflow.createPipelines(util, DualLoadConfig.PIPELINE_INIT);

            Console.WriteLine("\nPress any key to exit.");
            Console.ReadKey();
        }
        private DualLoadDatasets createDatasets(DataFactoryManagementClient client)
        {
            DualLoadDatasets datasets = new DualLoadDatasets(client);

            return(datasets);
        }
 public void setDatasets(DualLoadDatasets datasets)
 {
     this.datasets = datasets;
 }