Sha256: 227e64b70329bf6c1e080957e8c9a9f0d7806bac800f40ada4f7253f164f39bf

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

module Assembly
  # Base PURL URL
  PURL_BASE_URL = 'http://purl.stanford.edu'

  # Default content metadata file present at root of each object directory
  CONTENT_MD_FILE = 'contentMetadata.xml'

  # Default descriptive metadata file present at root of each object directory
  DESC_MD_FILE = 'descMetadata.xml'

  # Default technical metadata file present at root of each object directory
  TECHNICAL_MD_FILE = 'technicalMetadata.xml'

  # Defaut DOR workspace directory
  DOR_WORKSPACE = '/dor/workspace'

  # Default assembly directory, can be overwritten by the value set in the project specific YAML configuration
  ASSEMBLY_WORKSPACE = '/dor/assembly'

  # Assembly workflow name
  ASSEMBLY_WF = 'assemblyWF'

  # Assembly workflow steps, used for cleanup
  ASSEMBLY_WF_STEPS = [
    [ 'start-assembly',        'completed' ],
    [ 'jp2-create',            'waiting'   ],
    [ 'checksum-compute',      'waiting'   ],
    [ 'exif-collect',          'waiting'   ],
    [ 'accessioning-initiate', 'waiting'   ]
  ]
end

require 'dor-services'
# auto-include all files in the lib sub-directory directory
Dir[File.dirname(__FILE__) + '/assembly-utils/*.rb'].each {|file| require file unless file == 'version.rb'}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assembly-utils-1.5.0 lib/assembly-utils.rb
assembly-utils-1.4.6 lib/assembly-utils.rb