Show / Hide Table of Contents

Class WatsonToAzureIngestion

Coordinates retrieving files from Watson as needed and uploading or retrieving them directly from our Azure storage.

Inheritance
System.Object
WatsonIngestion
WatsonToAzureIngestion
Implements
System.IEquatable<WatsonIngestion>
System.IEquatable<WatsonToAzureIngestion>
Inherited Members
WatsonIngestion.WatsonClient
WatsonIngestion.StripUniformPathPrefix(Uri)
WatsonIngestion.RetrieveCrashAnalysis(IAttachmentContainer)
WatsonIngestion.RetrieveCrashXML(Uri)
WatsonIngestion.GetCrashFileStream(Uri)
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.Ingestion
Assembly: CrashCABN.Ingestion.Watson.dll
Syntax
public class WatsonToAzureIngestion : WatsonIngestion, IEquatable<WatsonIngestion>, IEquatable<WatsonToAzureIngestion>

Constructors

View Source

WatsonToAzureIngestion(IWatsonClient, IAzureBlobProvider, IUploadDal, ILogger<WatsonToAzureIngestion>, IAlternateStorageConnection)

Coordinates retrieving files from Watson as needed and uploading or retrieving them directly from our Azure storage.

Declaration
public WatsonToAzureIngestion(IWatsonClient WatsonClient, IAzureBlobProvider AzureBlobProvider, IUploadDal UploadDal, ILogger<WatsonToAzureIngestion> Logger, IAlternateStorageConnection Storage)
Parameters
Type Name Description
IWatsonClient WatsonClient
IAzureBlobProvider AzureBlobProvider
IUploadDal UploadDal
ILogger<WatsonToAzureIngestion> Logger
IAlternateStorageConnection Storage

Properties

View Source

AzureBlobProvider

Declaration
public IAzureBlobProvider AzureBlobProvider { get; set; }
Property Value
Type Description
IAzureBlobProvider
View Source

Logger

Declaration
public ILogger<WatsonToAzureIngestion> Logger { get; set; }
Property Value
Type Description
ILogger<WatsonToAzureIngestion>
View Source

Storage

Declaration
public IAlternateStorageConnection Storage { get; set; }
Property Value
Type Description
IAlternateStorageConnection
View Source

UploadDal

Declaration
public IUploadDal UploadDal { get; set; }
Property Value
Type Description
IUploadDal

Methods

View Source

CreateCrashUrl(IAlternateStorageConnection, String, String, Guid, String)

Declaration
public static Uri CreateCrashUrl(IAlternateStorageConnection storage, string titleName, string originFolder, Guid crashId, string ext)
Parameters
Type Name Description
IAlternateStorageConnection storage
System.String titleName
System.String originFolder
System.Guid crashId
System.String ext
Returns
Type Description
System.Uri
View Source

GetCrashFileStream(Uri, String)

Declaration
public async Task<Stream> GetCrashFileStream(Uri crashUri, string titleName)
Parameters
Type Name Description
System.Uri crashUri
System.String titleName
Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

Implements

System.IEquatable<T>
System.IEquatable<T>
  • View Source
In This Article
Back to top Generated by DocFX