Skip to content

Commit

Permalink
add dicom-reprocessor script & config
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Nov 23, 2023
1 parent 73736ef commit 887f6f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/10-service-software/templates/bin/smi-dicom-reprocessor
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# {{ ansible_managed }}
import _smi_wrapper as wrapper

wrapper.run_smiservices(wrapper.FILE_LOAD_CONFIG, single_instance=True)
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@ MongoDbPopulatorOptions:
AutoAck: false
MongoDbFlushTime: 30 # Seconds
FailedWriteLimit: 5

DicomReprocessorOptions:
ProcessingMode: "ImageReprocessing"
ReprocessingProducerOptions:
ExchangeName: "IdentifiableImageExchange"
MaxConfirmAttempts: 5
SleepTime: 0 # ms

0 comments on commit 887f6f3

Please sign in to comment.