Class PullIngestQueryService
Queries for top crashes and queues them for ingestion.
Inheritance
System.Object
PullIngestQueryService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CrashCABN.PullIngestion
Assembly: CrashCABN.PullIngestion.dll
Syntax
public class PullIngestQueryService
Constructors
View SourcePullIngestQueryService(WatsonODataClientFactory, ILogger<PullIngestQueryService>, ITitleConfigurationFactory, IBugFilerFactoryProvider)
Initializes a new instance of the PullIngestQueryService class.
Declaration
public PullIngestQueryService(WatsonODataClientFactory watsonODataClientFactory, ILogger<PullIngestQueryService> logger, ITitleConfigurationFactory configFactory, IBugFilerFactoryProvider bugFilerFactoryProvider)
Parameters
Type | Name | Description |
---|---|---|
WatsonODataClientFactory | watsonODataClientFactory | WatsonODataClientFactory to use for querying Watson. |
ILogger<PullIngestQueryService> | logger | |
ITitleConfigurationFactory | configFactory | The title configuration factory. |
IBugFilerFactoryProvider | bugFilerFactoryProvider |
Methods
View SourceRun(String)
Grabs the most recent top crashes and queues them for ingestion.
Declaration
public async IAsyncEnumerable<IngestCrashMessage> Run(string titleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | titleName |
Returns
Type | Description |
---|---|
System.Collections.Generic.IAsyncEnumerable<IngestCrashMessage> | A System.Threading.Tasks.Task representing the result of the asynchronous operation. |