public QueueSender(DocumentsAPIConfiguration documentsAPIConfiguration) { var configurationJSON = $"{{\"AMQPUri\": \"{documentsAPIConfiguration.QueueURI}\", \"ManagementUri\": \"{documentsAPIConfiguration.QueueManagementURI}\"}}"; var driverTypeName = "Documents.Queues.RabbitMQ.Driver.MessageQueue, Documents.Queues.RabbitMQ.Driver"; Context = QueueConnectionPool.GetContext(configurationJSON, driverTypeName); }
public CallbackController( DocumentsAPIConfiguration documentsAPIConfiguration, QueueSender queueSender, IFileStore fileStore, FileContentsService fileContentsService, ISecurityContext securityContext ) : base(securityContext) { this.DocumentsAPIConfiguration = documentsAPIConfiguration; this.QueueSender = queueSender; this.FileStore = fileStore; this.FileContentsService = fileContentsService; this.SecurityContext = securityContext; }
public EventSender( ISecurityContext securityContext, ILogger <EventSender> logger, IAuditLogEntryStore auditLogEntryStore, IHttpContextAccessor httpContextAccessor, DocumentsAPIConfiguration documentsAPIConfiguration ) { this.SecurityContext = securityContext; this.Logger = logger; this.HttpContextAccessor = httpContextAccessor; this.AuditLogEntryStore = auditLogEntryStore; EventSender.DocumentsAPIConfiguration = documentsAPIConfiguration; }
public JWT(DocumentsAPIConfiguration documentsAPIConfiguration) { this.DocumentsAPIConfiguration = documentsAPIConfiguration; }