示例#1
0
 public HomeController(
     SuperDumpRepository superDumpRepo,
     BundleRepository bundleRepo,
     DumpRepository dumpRepo,
     IDumpStorage dumpStorage,
     IOptions <SuperDumpSettings> settings,
     PathHelper pathHelper,
     RelationshipRepository relationshipRepo,
     SimilarityService similarityService,
     ElasticSearchService elasticService,
     ILoggerFactory loggerFactory,
     IAuthorizationHelper authorizationHelper,
     JiraIssueRepository jiraIssueRepository,
     SearchService searchService,
     DownloadService downloadService)
 {
     this.superDumpRepo     = superDumpRepo;
     this.bundleRepo        = bundleRepo;
     this.dumpRepo          = dumpRepo;
     this.dumpStorage       = dumpStorage;
     this.settings          = settings.Value;
     this.pathHelper        = pathHelper;
     this.relationshipRepo  = relationshipRepo;
     this.similarityService = similarityService;
     logger = loggerFactory.CreateLogger <HomeController>();
     this.authorizationHelper = authorizationHelper;
     this.jiraIssueRepository = jiraIssueRepository;
     this.searchService       = searchService;
     this.downloadService     = downloadService;
 }
示例#2
0
 public AnalysisService(
     IDumpStorage dumpStorage,
     DumpRepository dumpRepo,
     BundleRepository bundleRepo,
     PathHelper pathHelper,
     IOptions <SuperDumpSettings> settings,
     NotificationService notifications,
     ElasticSearchService elasticSearch,
     SimilarityService similarityService,
     IOneAgentSdk dynatraceSdk
     )
 {
     this.dumpStorage       = dumpStorage;
     this.dumpRepo          = dumpRepo;
     this.bundleRepo        = bundleRepo;
     this.pathHelper        = pathHelper;
     this.settings          = settings;
     this.notifications     = notifications;
     this.elasticSearch     = elasticSearch;
     this.similarityService = similarityService;
     this.dynatraceSdk      = dynatraceSdk;
     messagingSystemInfo    = dynatraceSdk.CreateMessagingSystemInfo("Hangfire", "analysis", MessageDestinationType.QUEUE, ChannelType.IN_PROCESS, null);
 }
示例#3
0
 public DumpRepository(IDumpStorage storage, PathHelper pathHelper)
 {
     this.storage    = storage;
     this.pathHelper = pathHelper;
 }
示例#4
0
 public DumpService(IDumpStorage storage)
 {
     this.storage = storage ?? throw new ArgumentNullException(nameof(storage));
 }
示例#5
0
 public BundleStorageFilebased(IDumpStorage dumpStorage, PathHelper pathHelper)
 {
     this.dumpStorage = dumpStorage;
     this.pathHelper  = pathHelper;
 }
示例#6
0
 public DumpController(IDumpStorage storage)
 {
     this.storage = storage ?? throw new ArgumentNullException(nameof(storage));
 }
示例#7
0
 public DumpRepository(IDumpStorage storage, PathHelper pathHelper, IOptions <SuperDumpSettings> settings)
 {
     this.storage    = storage;
     this.pathHelper = pathHelper;
     this.settings   = settings.Value;
 }