Exemplo n.º 1
0
 protected override void InternalExecute()
 {
     Log.LogInformation("Processor::InternalExecute::Start");
     EnsureConfigured();
     ProcessorEnrichers.ProcessorExecutionBegin(this);
     MigratePipelinesAsync().GetAwaiter().GetResult();
     ProcessorEnrichers.ProcessorExecutionEnd(this);
     Log.LogInformation("Processor::InternalExecute::End");
 }
Exemplo n.º 2
0
 protected override void InternalExecute()
 {
     Log.LogInformation("Processor::InternalExecute::Start");
     EnsureConfigured();
     ProcessorEnrichers.ProcessorExecutionBegin(this);
     MigrateTeamSettings();
     ProcessorEnrichers.ProcessorExecutionEnd(this);
     Log.LogInformation("Processor::InternalExecute::End");
 }
Exemplo n.º 3
0
 protected override void InternalExecute()
 {
     Log.LogInformation("Processor::InternalExecute::Start");
     EnsureConfigured();
     ProcessorEnrichers.ProcessorExecutionBegin(this);
     nodeStructureEnricher = Services.GetRequiredService <TfsNodeStructure>();
     nodeStructureEnricher.Configure(new TfsNodeStructureOptions()
     {
         Enabled = true, NodeBasePaths = _Options.NodeBasePaths, PrefixProjectToNodes = _Options.PrefixProjectToNodes
     });
     nodeStructureEnricher.ProcessorExecutionBegin(null);
     ProcessorEnrichers.ProcessorExecutionEnd(this);
     Log.LogInformation("Processor::InternalExecute::End");
 }
 protected override void InternalExecute()
 {
     Log.LogInformation("Processor::InternalExecute::Start");
     EnsureConfigured();
     ProcessorEnrichers.ProcessorExecutionBegin(this);
     var source = (IWorkItemSourceEndpoint)Source;
     List<WorkItemData> workItems = source.GetWorkItems().ToList();
     ProcessorEnrichers.ProcessorExecutionAfterSource(this, workItems);
     foreach (WorkItemData item in workItems)
     {
         ProcessorEnrichers.ProcessorExecutionBeforeProcessWorkItem(this, item);
         ProcessWorkItem(item, _config.WorkItemCreateRetryLimit);
         ProcessorEnrichers.ProcessorExecutionAfterProcessWorkItem(this, item);
     }
     ProcessorEnrichers.ProcessorExecutionEnd(this);
     Log.LogInformation("Processor::InternalExecute::End");
 }