Sha256: 4ac9fa4ed02c0cf8399653db499a4500de33a1fef13a43b39c162c390df4e6b1

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 KB

Contents

##
## Subscriptions to ActiveSupport::Notifications instrumentation events
##

# Fixity Checks
ActiveSupport::Notifications.subscribe(Ddr::Notifications::FIXITY_CHECK, Ddr::Events::FixityCheckEvent)

# Virus Checks
ActiveSupport::Notifications.subscribe(Ddr::Notifications::VIRUS_CHECK, Ddr::Events::VirusCheckEvent)

# Creation
ActiveSupport::Notifications.subscribe(Ddr::Notifications::CREATION, Ddr::Events::CreationEvent)

# Update
ActiveSupport::Notifications.subscribe(Ddr::Notifications::UPDATE, Ddr::Events::UpdateEvent)
ActiveSupport::Notifications.subscribe("assign.permanent_id", Ddr::Events::UpdateEvent)

# Deletion
ActiveSupport::Notifications.subscribe(Ddr::Notifications::DELETION, Ddr::Events::DeletionEvent)
ActiveSupport::Notifications.subscribe(/destroy\.\w+/, Ddr::Events::DeletionEvent)
ActiveSupport::Notifications.subscribe(/destroy\.\w+/, Ddr::Models::PermanentId)

# Deaccession
ActiveSupport::Notifications.subscribe(/deaccession\.\w+/, Ddr::Events::DeaccessionEvent)
ActiveSupport::Notifications.subscribe(/deaccession\.\w+/, Ddr::Models::PermanentId)

# Workflow
ActiveSupport::Notifications.subscribe(/workflow/, Ddr::Models::PermanentId)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ddr-models-2.6.2 config/initializers/subscriptions.rb
ddr-models-2.6.1 config/initializers/subscriptions.rb
ddr-models-2.6.0 config/initializers/subscriptions.rb
ddr-models-2.6.0.rc4 config/initializers/subscriptions.rb
ddr-models-2.6.0.rc3 config/initializers/subscriptions.rb
ddr-models-2.6.0.rc2 config/initializers/subscriptions.rb