Skip to content

Commit

Permalink
Clarified purpose of default.yaml being here
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Aug 17, 2022
1 parent 2f629c3 commit e61e807
Showing 1 changed file with 3 additions and 202 deletions.
205 changes: 3 additions & 202 deletions Tests/IsIdentifiableTests/default.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file demonstrates that you can load `ii review -y default.yaml` with a larger config file and it will ignore settings unrelated
# to it. This allows you to have a config file that is consumed by your own process (via IsIdentifiable Nuget package) but still use
# the same config file with the reviewer CLI tool

RabbitOptions:
RabbitMqHostName: 'localhost'
Expand All @@ -8,208 +11,6 @@ RabbitOptions:
RabbitMqControlExchangeName: 'TEST.ControlExchange'
FatalLoggingExchange: 'TEST.FatalLoggingExchange'

LoggingOptions:
LogConfigFile: ''
LogsRoot: ''
TraceLogging: true

FileSystemOptions:
FileSystemRoot: 'C:\temp'
ExtractRoot: 'C:\temp'
# Set this to "*" if your dicom files do not have file extensions
DicomSearchPattern: "*.dcm"

RDMPOptions:
CatalogueConnectionString: 'server=localhost\sqlexpress;integrated security=true;database=RDMP_Catalogue'
DataExportConnectionString: 'server=localhost\sqlexpress;integrated security=true;database=RDMP_DataExport'

# Alternative to connection strings for if you have RDMP running with a YAML file system backend. If specified then this will override the connection strings
YamlDir:
MongoDatabases:
DicomStoreOptions:
HostName: 'localhost'
Port: 27017
UserName: ''
Password: ''
DatabaseName: 'dicom'
ExtractionStoreOptions:
HostName: 'localhost'
Port: 27017
UserName: ''
Password: ''
DatabaseName: 'extraction'

DicomRelationalMapperOptions:
Guid: '6ff062af-5538-473f-801c-ed2b751c7897'
QueueName: 'TEST.AnonymousImageQueue'
QoSPrefetchCount: 10000
AutoAck: false
LoadMetadataId: 1
DatabaseNamerType: 'GuidDatabaseNamer'
MinimumBatchSize: 10000
UseInsertIntoForRAWMigration: true
RetryOnFailureCount: 1
RetryDelayInSeconds: 60
RunChecks: true

UpdateValuesOptions:
QueueName: 'TEST.UpdateValuesQueue'
QoSPrefetchCount: 10000
AutoAck: false
#TableInfosToUpdate: 1,2,3 <-set this to limit which tables get updated when no explicit table is listed in the message
UpdateTimeout: 500 # number of seconds to wait for each UPDATE statement

TriggerUpdatesOptions:
ExchangeName: 'TEST.TriggerUpdatesExchange'
MaxConfirmAttempts: 1

CohortExtractorOptions:
QueueName: 'TEST.RequestQueue'
QoSPrefetchCount: 10000
AutoAck: false
AllCatalogues: true

# List of IDs of Catalogues to extract from (in ascending order).
# Ignored if "AllCatalogues == true"
OnlyCatalogues: [1,2,3]

# ID(s) of ColumnInfo that contains a list of values which should not have data extracted for them. e.g. opt out. The name of the column referenced must match a column in the extraction table
#RejectColumnInfos: [105,110]

AuditorType: 'Microservices.CohortExtractor.Audit.NullAuditExtractions'
RequestFulfillerType: 'Microservices.CohortExtractor.Execution.RequestFulfillers.FromCataloguesExtractionRequestFulfiller'
ProjectPathResolverType: 'Microservices.CohortExtractor.Execution.ProjectPathResolvers.DefaultProjectPathResolver'
ExtractAnonRoutingKey: anon
ExtractIdentRoutingKey: ident
# Writes (Producer) to this exchange
ExtractFilesProducerOptions:
ExchangeName: 'TEST.ExtractFileExchange'
MaxConfirmAttempts: 1
# And audits this too
ExtractFilesInfoProducerOptions:
ExchangeName: 'TEST.FileCollectionInfoExchange'
MaxConfirmAttempts: 1

CohortPackagerOptions:
JobWatcherTimeoutInSeconds: 30
ReporterType: 'LoggingReporter'
NotifierType: 'LoggingNotifier'
ReportFormat: 'Combined'
ReportNewLine: ''
ExtractRequestInfoOptions:
QueueName: 'TEST.RequestInfoQueue'
QoSPrefetchCount: 1
AutoAck: false
FileCollectionInfoOptions:
QueueName: 'TEST.FileCollectionInfoQueue'
QoSPrefetchCount: 1
AutoAck: false
NoVerifyStatusOptions:
QueueName: 'TEST.ExtractedFileNoVerifyQueue'
QoSPrefetchCount: 1
AutoAck: false
VerificationStatusOptions:
QueueName: 'TEST.ExtractedFileVerifiedQueue'
QoSPrefetchCount: 1
AutoAck: false

DicomReprocessorOptions:
ProcessingMode: 'ImageReprocessing'
ReprocessingProducerOptions:
ExchangeName: 'TEST.IdentifiableImageExchange'
MaxConfirmAttempts: 1

DicomTagReaderOptions:
QueueName: 'TEST.AccessionDirectoryQueue'
QoSPrefetchCount: 1
AutoAck: false
NackIfAnyFileErrors: true
ImageProducerOptions:
ExchangeName: 'TEST.IdentifiableImageExchange'
MaxConfirmAttempts: 1
SeriesProducerOptions:
ExchangeName: 'TEST.IdentifiableSeriesExchange'
MaxConfirmAttempts: 1
FileReadOption: 'ReadLargeOnDemand'
TagProcessorMode: 'Serial'
MaxIoThreads: 1

IdentifierMapperOptions:
QueueName: 'TEST.IdentifiableImageQueue'
QoSPrefetchCount: 1000
AutoAck: false
AnonImagesProducerOptions:
ExchangeName: 'TEST.AnonymousImageExchange'
MaxConfirmAttempts: 1
MappingConnectionString: 'Server=localhost\sqlexpress;Integrated Security=true;Initial Catalog=MappingDatabase;'
MappingDatabaseType: 'MicrosoftSQLServer'
MappingTableName: 'MappingTable'
TimeoutInSeconds: 600
SwapColumnName: 'CHI'
ReplacementColumnName: 'ECHI'
SwapperType: 'Microservices.IdentifierMapper.Execution.Swappers.ForGuidIdentifierSwapper'
AllowRegexMatching: false
RedisConnectionString: ''

MongoDbPopulatorOptions:
SeriesQueueConsumerOptions:
QueueName: 'TEST.MongoSeriesQueue'
QoSPrefetchCount: 1000
AutoAck: false
ImageQueueConsumerOptions:
QueueName: 'TEST.MongoImageQueue'
QoSPrefetchCount: 10000
AutoAck: false
MongoDbFlushTime: 30 # Seconds
FailedWriteLimit: 5

ProcessDirectoryOptions:
AccessionDirectoryProducerOptions:
ExchangeName: 'TEST.AccessionDirectoryExchange'
MaxConfirmAttempts: 1

CTPAnonymiserOptions:
VerifyRoutingKey: verify
NoVerifyRoutingKey: noverify
AnonFileConsumerOptions:
QueueName: 'TEST.ExtractFileAnonQueue'
QoSPrefetchCount: 1
AutoAck: false
ExtractFileStatusProducerOptions:
ExchangeName: 'TEST.ExtractedFileStatusExchange'
MaxConfirmAttempts: 1

DicomAnonymiserOptions:
AnonymiserType:
AnonFileConsumerOptions:
QueueName: 'TEST.ExtractFileAnonQueue'
QoSPrefetchCount: 1
AutoAck: false
ExtractFileStatusProducerOptions:
ExchangeName: 'TEST.ExtractedFileStatusExchange'
MaxConfirmAttempts: 1
RoutingKeySuccess: verify
RoutingKeyFailure: noverify
FailIfSourceWriteable: true

FileCopierOptions:
NoVerifyRoutingKey: noverify
QueueName: 'TEST.ExtractFileIdentQueue'
QoSPrefetchCount: 1
AutoAck: false
CopyStatusProducerOptions:
ExchangeName: 'TEST.ExtractedFileStatusExchange'
MaxConfirmAttempts: 1

ExtractImagesOptions:
MaxIdentifiersPerMessage: 1000
ExtractionRequestProducerOptions:
ExchangeName: 'TEST.RequestExchange'
MaxConfirmAttempts: 1
ExtractionRequestInfoProducerOptions:
ExchangeName: 'TEST.RequestInfoExchange'
MaxConfirmAttempts: 1

IsIdentifiableServiceOptions:
QueueName: 'TEST.ExtractedFileToVerifyQueue'
QoSPrefetchCount: 1
Expand Down

0 comments on commit e61e807

Please sign in to comment.