Sha256: 057c486bf31633abf88ac42235df51ef82986b7f8d52a4347f2a29869b7d6158

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

# will spawn worker(s) for each of the given workflows (fully qualified as "repo:wf:robot")
WORKFLOW_STEPS = %w{
  dor:accessionWF:start-accession
  dor:accessionWF:descriptive-metadata
  dor:accessionWF:rights-metadata
  dor:accessionWF:content-metadata
  dor:accessionWF:technical-metadata
  dor:accessionWF:remediate-object
  dor:accessionWF:shelve
  dor:accessionWF:publish
  dor:accessionWF:provenance-metadata
  dor:accessionWF:sdr-ingest-transfer
  dor:accessionWF:sdr-ingest-received
  dor:accessionWF:end-accession
  dor:assemblyWF:start-assembly
  dor:assemblyWF:jp2-create
  dor:assemblyWF:checksum-compute
  dor:assemblyWF:exif-collect
  dor:assemblyWF:accessioning-initiate
}

# number of workers for the given workflows
WORKFLOW_N = Hash[*%w{
  dor:assemblyWF:checksum-compute     3
}]

# starts up 2 workers -- one for this priority and another for all
# XXX: not implemented
WORKFLOW_PRIORITIES = Hash[*%w{
  dor:assemblyWF:checksum-compute     critical,high
}]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robot-controller-0.2.1 example/config/environments/workflows_development.rb
robot-controller-0.2.0 example/config/environments/workflows_development.rb